Package org.openiam.esb.repository
Interface LoginAttributeRepository
-
- All Superinterfaces:
AbstractEntityRepository<LoginAttributeEntity,String>,AbstractKeyEntityCustomRepository<LoginAttributeEntity,String>,AbstractKeyEntityRepository<LoginAttributeEntity,String>,AbstractKeyNameEntityRepository<LoginAttributeEntity,String>,org.springframework.data.repository.CrudRepository<LoginAttributeEntity,String>,FindBeansRepositoryCustom<LoginAttributeEntity,LoginAttributeSearchBean>,org.springframework.data.jpa.repository.JpaRepository<LoginAttributeEntity,String>,org.springframework.data.jpa.repository.JpaSpecificationExecutor<LoginAttributeEntity>,LoginAttributeRepositoryCustom,org.springframework.data.repository.PagingAndSortingRepository<LoginAttributeEntity,String>,org.springframework.data.repository.query.QueryByExampleExecutor<LoginAttributeEntity>,org.springframework.data.repository.Repository<LoginAttributeEntity,String>
@Repository public interface LoginAttributeRepository extends AbstractKeyNameEntityRepository<LoginAttributeEntity,String>, LoginAttributeRepositoryCustom
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<LoginAttributeEntity>findByLoginId(String loginId)List<LoginAttributeEntity>findByLoginIdAndMetadataElementIds(String loginId, Collection<String> metadataElementIds)List<LoginAttributeEntity>findByLoginIds(List<String> loginIds)-
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
-
findByLoginIds
@Query("SELECT m FROM LoginAttributeEntity m WHERE m.login.id IN (:loginIds)") List<LoginAttributeEntity> findByLoginIds(@Param("loginIds") List<String> loginIds)
-
findByLoginId
@Query("SELECT m FROM LoginAttributeEntity m WHERE m.login.id=:loginId") List<LoginAttributeEntity> findByLoginId(@Param("loginId") String loginId)
-
findByLoginIdAndMetadataElementIds
@Query("SELECT m FROM LoginAttributeEntity m WHERE m.login.id=:loginId AND m.metadataElementId IN (:metadataElementIds)") List<LoginAttributeEntity> findByLoginIdAndMetadataElementIds(@Param("loginId") String loginId, @Param("metadataElementIds") Collection<String> metadataElementIds)
-
-