Interface KeyStoreRepository

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

@Repository public interface KeyStoreRepository extends org.springframework.data.jpa.repository.JpaRepository<KeyStore,String>
This interface extends BaseRepository which provides with the methods for several CRUD operations.
Since:
1.0.0
Author:
Dharmesh Khandelwal
  • Method Summary

    Modifier and Type
    Method
    Description
    Function to find KeyStore by alias
    Function to find all KeyStore objects by masterAlias

    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

    • findByAlias

      Optional<KeyStore> findByAlias(String alias)
      Function to find KeyStore by alias
      Parameters:
      alias - alias
      Returns:
      KeyStore
    • findByMasterAlias

      List<KeyStore> findByMasterAlias(String masterAlias)
      Function to find all KeyStore objects by masterAlias
      Parameters:
      masterAlias - master Alias
      Returns:
      List of KeyStore