Interface GroupRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Group,String>, org.springframework.data.jpa.repository.JpaRepository<Group, String>, org.springframework.data.repository.ListCrudRepository<Group, String>, org.springframework.data.repository.ListPagingAndSortingRepository<Group, String>, org.springframework.data.repository.PagingAndSortingRepository<Group, String>, org.springframework.data.repository.query.QueryByExampleExecutor<Group>, org.springframework.data.repository.Repository<Group, String>, org.springframework.data.repository.history.RevisionRepository<Group, String, Long>
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<TailormapAdditionalProperty> findAliasesForGroups(Collection<String> groups) findAllByNameIn(Set<String> roles) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOneMethods inherited from interface org.springframework.data.repository.history.RevisionRepository
findLastChangeRevision, findRevision, findRevisions, findRevisions
-
Method Details
-
findAdditionalPropertiesByGroups
default List<TailormapAdditionalProperty> findAdditionalPropertiesByGroups(Collection<String> groups) -
findAliasesForGroups
@Query("select g.aliasForGroup from Group g where g.name in :groups and g.aliasForGroup is not null and g.aliasForGroup <> ''") Set<String> findAliasesForGroups(@Param("groups") Collection<String> groups) -
findAllByNameIn
-