Interface KeyPolicyRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<KeyPolicy,String>,org.springframework.data.jpa.repository.JpaRepository<KeyPolicy,String>,org.springframework.data.repository.PagingAndSortingRepository<KeyPolicy,String>,org.springframework.data.repository.query.QueryByExampleExecutor<KeyPolicy>,org.springframework.data.repository.Repository<KeyPolicy,String>
@Repository public interface KeyPolicyRepository extends org.springframework.data.jpa.repository.JpaRepository<KeyPolicy,String>
This interface extends BaseRepository which provides with the methods for several CRUD operations.- Since:
- 1.0.0
- Author:
- Dharmesh Khandelwal
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<KeyPolicy>findByApplicationId(String applicationId)Function to find KeyPolicy by applicationIdOptional<KeyPolicy>findByApplicationIdAndIsActive(String applicationId, boolean isActive)Function to find KeyPolicy by applicationId-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
-
-