Package org.openiam.esb.repository
Interface PasswordDictionaryRepository
-
- All Superinterfaces:
AbstractEntityRepository<PasswordDictionaryEntity,String>
,AbstractKeyEntityCustomRepository<PasswordDictionaryEntity,String>
,AbstractKeyEntityRepository<PasswordDictionaryEntity,String>
,org.springframework.data.repository.CrudRepository<PasswordDictionaryEntity,String>
,FindBeansRepositoryCustom<PasswordDictionaryEntity,PasswordDictionarySearchBean>
,org.springframework.data.jpa.repository.JpaRepository<PasswordDictionaryEntity,String>
,org.springframework.data.jpa.repository.JpaSpecificationExecutor<PasswordDictionaryEntity>
,org.springframework.data.repository.PagingAndSortingRepository<PasswordDictionaryEntity,String>
,PasswordDictionaryRepositoryCustom
,org.springframework.data.repository.query.QueryByExampleExecutor<PasswordDictionaryEntity>
,org.springframework.data.repository.Repository<PasswordDictionaryEntity,String>
@Repository public interface PasswordDictionaryRepository extends AbstractKeyEntityRepository<PasswordDictionaryEntity,String>, PasswordDictionaryRepositoryCustom
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteAllByPolicyId(String policyId)
List<PasswordDictionaryEntity>
findByPolicyId(String policyId)
-
Methods inherited from interface org.openiam.esb.repository.AbstractEntityRepository
getPageable
-
Methods inherited from interface org.openiam.esb.repository.custom.AbstractKeyEntityCustomRepository
findByIdIn
-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
-
Methods inherited from interface org.openiam.esb.repository.custom.FindBeansRepositoryCustom
count, find, find, find, getByExample, getByExample, isValidSearchBean
-
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
-
findByPolicyId
@Query("SELECT d FROM PasswordDictionaryEntity d WHERE d.policy.id=:policyId") List<PasswordDictionaryEntity> findByPolicyId(@Param("policyId") String policyId)
-
deleteAllByPolicyId
@Modifying @Query("DELETE FROM PasswordDictionaryEntity d WHERE d.policy.id=:policyId") void deleteAllByPolicyId(@Param("policyId") String policyId)
-
-