Package com.skava.auth.repository
Interface FeaturesPrivilegeMappingRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<FeaturesPrivilegeMapping,
,Long> org.springframework.data.jpa.repository.JpaRepository<FeaturesPrivilegeMapping,
,Long> org.springframework.data.repository.ListCrudRepository<FeaturesPrivilegeMapping,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<FeaturesPrivilegeMapping,
,Long> org.springframework.data.repository.PagingAndSortingRepository<FeaturesPrivilegeMapping,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<FeaturesPrivilegeMapping>
,org.springframework.data.querydsl.QuerydslPredicateExecutor<FeaturesPrivilegeMapping>
,org.springframework.data.repository.Repository<FeaturesPrivilegeMapping,
Long>
@Repository
public interface FeaturesPrivilegeMappingRepository
extends org.springframework.data.jpa.repository.JpaRepository<FeaturesPrivilegeMapping,Long>, org.springframework.data.querydsl.QuerydslPredicateExecutor<FeaturesPrivilegeMapping>
Repository class to represent the data access layer of the `FeatureAndPrivilegeMapRepository` entity.
- Author:
- Infosys Equinox
-
Method Summary
Modifier and TypeMethodDescriptionfindById
(long id) Retrieves an entity by its id.save
(FeaturesPrivilegeMapping featuresPrivilageMapEntity) Saves a given entity.Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById
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
Methods inherited from interface org.springframework.data.querydsl.QuerydslPredicateExecutor
count, exists, findAll, findAll, findAll, findAll, findAll, findBy, findOne
-
Method Details
-
save
Saves a given entity. Use the returned instance for further operations as the save operation might have changed the entity instance completely.- Specified by:
save
in interfaceorg.springframework.data.repository.CrudRepository<FeaturesPrivilegeMapping,
Long> - Parameters:
featuresPrivilageMapEntity
- entity must not be null.- Returns:
- the saved entity will never be null.
-
findById
Retrieves an entity by its id.- Parameters:
id
- must not be null.- Returns:
- the entity with the given id or Optional#empty() if none found
-