Package org.tailormap.api.repository
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> findAdditionalPropertiesByGroups(List<String> groups) findAliasesForGroups(Collection<String> groups) 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
-
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)
-