Package org.openiam.esb.repository
Interface PasswordHistoryRepository
-
- All Superinterfaces:
AbstractEntityRepository<PasswordHistoryEntity,String>
,AbstractKeyEntityRepository<PasswordHistoryEntity,String>
,org.springframework.data.repository.CrudRepository<PasswordHistoryEntity,String>
,org.springframework.data.jpa.repository.JpaRepository<PasswordHistoryEntity,String>
,org.springframework.data.jpa.repository.JpaSpecificationExecutor<PasswordHistoryEntity>
,org.springframework.data.repository.PagingAndSortingRepository<PasswordHistoryEntity,String>
,org.springframework.data.repository.query.QueryByExampleExecutor<PasswordHistoryEntity>
,org.springframework.data.repository.Repository<PasswordHistoryEntity,String>
@Repository public interface PasswordHistoryRepository extends AbstractKeyEntityRepository<PasswordHistoryEntity,String>
This is repository for working with PasswordHistoryEntity- Author:
- Zorik Zaqaryan
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<PasswordHistoryEntity>
findByLoginIdOrderByDateCreatedDesc(String loginId, org.springframework.data.domain.Pageable pageable)
Find PasswordHistory by login order by created date desc-
Methods inherited from interface org.openiam.esb.repository.AbstractEntityRepository
getPageable
-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, exists, findAll, findAll, findAll, findOne
-
-
-
-
Method Detail
-
findByLoginIdOrderByDateCreatedDesc
List<PasswordHistoryEntity> findByLoginIdOrderByDateCreatedDesc(String loginId, org.springframework.data.domain.Pageable pageable)
Find PasswordHistory by login order by created date desc- Parameters:
loginId
- login idpageable
- pageable- Returns:
- the list of PasswordHistory entity
-
-