Package org.openiam.esb.repository
Interface OAuthCodeRepository
-
- All Superinterfaces:
AbstractEntityRepository<OAuthCodeEntity,OAuthCodeIdEntity>
,org.springframework.data.repository.CrudRepository<OAuthCodeEntity,OAuthCodeIdEntity>
,org.springframework.data.jpa.repository.JpaRepository<OAuthCodeEntity,OAuthCodeIdEntity>
,org.springframework.data.jpa.repository.JpaSpecificationExecutor<OAuthCodeEntity>
,org.springframework.data.repository.PagingAndSortingRepository<OAuthCodeEntity,OAuthCodeIdEntity>
,org.springframework.data.repository.query.QueryByExampleExecutor<OAuthCodeEntity>
,org.springframework.data.repository.Repository<OAuthCodeEntity,OAuthCodeIdEntity>
@Repository public interface OAuthCodeRepository extends AbstractEntityRepository<OAuthCodeEntity,OAuthCodeIdEntity>
JPA Repository forOAuthCodeEntity
- Author:
- Asker Kazharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<OAuthCodeEntity>
findByPrimaryKeyCode(String code)
Get list ofOAuthCodeEntity
from DB by using code.-
Methods inherited from interface org.openiam.esb.repository.AbstractEntityRepository
getPageable
-
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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, exists, findAll, findAll, findAll, findOne
-
-
-
-
Method Detail
-
findByPrimaryKeyCode
List<OAuthCodeEntity> findByPrimaryKeyCode(String code)
Get list ofOAuthCodeEntity
from DB by using code.- Parameters:
code
- code- Returns:
- list of
OAuthCodeEntity
-
-