Package org.openiam.esb.repository
Interface UserAttributeRepository
-
- All Superinterfaces:
AbstractEntityRepository<UserAttributeEntity,String>
,AbstractKeyEntityCustomRepository<UserAttributeEntity,String>
,AbstractKeyEntityRepository<UserAttributeEntity,String>
,AbstractKeyNameEntityCustomRepository<UserAttributeEntity,String>
,AbstractKeyNameEntityRepository<UserAttributeEntity,String>
,org.springframework.data.repository.CrudRepository<UserAttributeEntity,String>
,FindBeansRepositoryCustom<UserAttributeEntity,UserAttributeSearchBean>
,org.springframework.data.jpa.repository.JpaRepository<UserAttributeEntity,String>
,org.springframework.data.jpa.repository.JpaSpecificationExecutor<UserAttributeEntity>
,org.springframework.data.repository.PagingAndSortingRepository<UserAttributeEntity,String>
,org.springframework.data.repository.query.QueryByExampleExecutor<UserAttributeEntity>
,org.springframework.data.repository.Repository<UserAttributeEntity,String>
,UserAttributeRepositoryCustom
@Repository public interface UserAttributeRepository extends AbstractKeyNameEntityRepository<UserAttributeEntity,String>, UserAttributeRepositoryCustom
This is repository for working with UserAttributeEntity- Author:
- Sanchir Kartiev
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<UserAttributeEntity>
findAllByUserId(String userId)
Get by userId for UserAttributeRepositoryList<UserAttributeEntity>
findAllByUserIdAndMetadataElementIdIn(String userId, Set<String> metadataElementIds)
Get by userId and metadataElementIds for UserAttributeRepositoryList<String>
getAllUserAttributeValues(String name)
List<String>
getPossibleAttributeNames()
-
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
-
findAllByUserIdAndMetadataElementIdIn
List<UserAttributeEntity> findAllByUserIdAndMetadataElementIdIn(String userId, Set<String> metadataElementIds)
Get by userId and metadataElementIds for UserAttributeRepository- Parameters:
userId
-metadataElementIds
-
-
findAllByUserId
List<UserAttributeEntity> findAllByUserId(String userId)
Get by userId for UserAttributeRepository- Parameters:
userId
-
-
getPossibleAttributeNames
@Query("select DISTINCT name from UserAttributeEntity") List<String> getPossibleAttributeNames()
-
-