Package org.openiam.esb.repository
Interface GroupAttributeRepository
-
- All Superinterfaces:
AbstractEntityRepository<GroupAttributeEntity,String>
,AbstractKeyEntityRepository<GroupAttributeEntity,String>
,AbstractKeyNameEntityRepository<GroupAttributeEntity,String>
,org.springframework.data.repository.CrudRepository<GroupAttributeEntity,String>
,org.springframework.data.jpa.repository.JpaRepository<GroupAttributeEntity,String>
,org.springframework.data.jpa.repository.JpaSpecificationExecutor<GroupAttributeEntity>
,org.springframework.data.repository.PagingAndSortingRepository<GroupAttributeEntity,String>
,org.springframework.data.repository.query.QueryByExampleExecutor<GroupAttributeEntity>
,org.springframework.data.repository.Repository<GroupAttributeEntity,String>
@Repository public interface GroupAttributeRepository extends AbstractKeyNameEntityRepository<GroupAttributeEntity,String>
This is repository for working with GroupAttributeEntity- Author:
- Vitaliya
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<GroupAttributeEntity>
findByGroupId(String groupId)
List<GroupAttributeEntity>
findByGroupIdAndMetadataElementIds(String groupId, Collection<String> metadataElementIds)
List<String>
getPossibleAttributeNames()
-
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
-
findByGroupId
@Query("SELECT m FROM GroupAttributeEntity m WHERE m.group.id=:groupId") List<GroupAttributeEntity> findByGroupId(@Param("groupId") String groupId)
-
findByGroupIdAndMetadataElementIds
@Query("SELECT m FROM GroupAttributeEntity m WHERE m.group.id=:groupId AND m.metadataElementId IN (:metadataElementIds)") List<GroupAttributeEntity> findByGroupIdAndMetadataElementIds(@Param("groupId") String groupId, @Param("metadataElementIds") Collection<String> metadataElementIds)
-
-