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 Type
    Method
    Description
    org.springframework.data.domain.Page<AuthGroup>
    findAllByCollectionId(Long collectionId, org.springframework.data.domain.Pageable pageable)
    Service definition to find auth group by collection id
    findAllByCollectionIdAndUserids(Long collectionId, Long userIds)
    Service definition to find auth group by collection id and user id.
    Service definition to find auth group by collection id and user id.
    Service definition to find auth group by user ids.
    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

      Optional<List<AuthGroup>> findAllByUseridsIn(Set<Long> userIds)
      Service definition to find auth group by user ids.
      Parameters:
      userIds - The user ids
      Returns:
      AuthGroup
    • findAllByUserids

      Optional<List<AuthGroup>> findAllByUserids(Long userIds)
      Service definition to find auth group by user ids.
      Parameters:
      userIds - The user ids
      Returns:
      AuthGroup
    • findAllByCollectionIdAndUseridsIn

      Optional<List<AuthGroup>> findAllByCollectionIdAndUseridsIn(Long collectionId, Set<Long> userIds)
      Service definition to find auth group by collection id and user id.
      Parameters:
      collectionId - The collection id.
      userIds - The user ids.
      Returns:
      AuthGroup
    • findAllByCollectionIdAndUserids

      Optional<List<AuthGroup>> findAllByCollectionIdAndUserids(Long collectionId, Long userIds)
      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