Interface KeyRepository

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

@Repository public interface KeyRepository extends QlackBaseRepository<Key,String>
An interface KeyRepository that is used to declare crud methods
Author:
European Dynamics SA
  • Method Summary

    Modifier and Type
    Method
    Description
    findByNameAndGroupId(String keyName, String groupId)
    A method declaration that the usage is to retrieve the key filtered by the key name and the group id that belongs to

    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 com.eurodyn.qlack.common.repository.QlackBaseRepository

    fetchById, findAll, 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, findBy, findOne
  • Method Details

    • findByNameAndGroupId

      Key findByNameAndGroupId(String keyName, String groupId)
      A method declaration that the usage is to retrieve the key filtered by the key name and the group id that belongs to
      Parameters:
      keyName - the key name
      groupId - the group id
      Returns:
      the key by its name and the group id that related to