Interface DynamicPrivilegeRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<DynamicPrivilege,Long>, org.springframework.data.jpa.repository.JpaRepository<DynamicPrivilege,Long>, org.springframework.data.repository.ListCrudRepository<DynamicPrivilege,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<DynamicPrivilege,Long>, org.springframework.data.repository.PagingAndSortingRepository<DynamicPrivilege,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<DynamicPrivilege>, org.springframework.data.repository.Repository<DynamicPrivilege,Long>

public interface DynamicPrivilegeRepository extends org.springframework.data.jpa.repository.JpaRepository<DynamicPrivilege,Long>
Repository class to represent the data access layer of the `dynamicprivilege` entity.
Author:
Infosys Equinox
  • Method Summary

    Modifier and Type
    Method
    Description
    findByPrivilegeSetId(Long privilegeSetId)
    Service definition to find privilegeSetId by privilege id.

    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

    • findByPrivilegeSetId

      Optional<List<DynamicPrivilege>> findByPrivilegeSetId(Long privilegeSetId)
      Service definition to find privilegeSetId by privilege id.
      Parameters:
      privilegeSetId - long
      Returns:
      DynamicPrivilege