Package com.skava.auth.repository
Interface AuthGroupRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<AuthGroup,
,Long> org.springframework.data.jpa.repository.JpaRepository<AuthGroup,
,Long> org.springframework.data.repository.ListCrudRepository<AuthGroup,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<AuthGroup,
,Long> org.springframework.data.repository.PagingAndSortingRepository<AuthGroup,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<AuthGroup>
,org.springframework.data.repository.Repository<AuthGroup,
Long>
@Repository
public interface AuthGroupRepository
extends org.springframework.data.jpa.repository.JpaRepository<AuthGroup,Long>
Repository class to represent the data access layer of the `authgroup` entity.
- Author:
- Infosys Equinox
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<AuthGroup>
findAllByCollectionId
(Long collectionId, org.springframework.data.domain.Pageable pageable) Service definition to find auth group by collection idfindAllByCollectionIdAndUserids
(Long collectionId, Long userIds) Service definition to find auth group by collection id and user id.findAllByCollectionIdAndUseridsIn
(Long collectionId, Set<Long> userIds) Service definition to find auth group by collection id and user id.findAllByUserids
(Long userIds) Service definition to find auth group by user ids.findAllByUseridsIn
(Set<Long> userIds) Service definition to find auth group by user ids.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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush
Methods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAll
Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAllByUseridsIn
Service definition to find auth group by user ids.- Parameters:
userIds
- The user ids- Returns:
- AuthGroup
-
findAllByUserids
Service definition to find auth group by user ids.- Parameters:
userIds
- The user ids- Returns:
- AuthGroup
-
findAllByCollectionIdAndUseridsIn
Service definition to find auth group by collection id and user id.- Parameters:
collectionId
- The collection id.userIds
- The user ids.- Returns:
- AuthGroup
-
findAllByCollectionIdAndUserids
Service definition to find auth group by collection id and user id.- Parameters:
collectionId
- The collection id.userIds
- The user ids.- Returns:
- AuthGroup
-
findAllByCollectionId
org.springframework.data.domain.Page<AuthGroup> findAllByCollectionId(Long collectionId, org.springframework.data.domain.Pageable pageable) Service definition to find auth group by collection id- Parameters:
collectionId
- The collection id.pageable
- The pageable.- Returns:
- AuthGroup
-