Interface StrategyRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Strategy,
,Long> org.springframework.data.jpa.repository.JpaRepository<Strategy,
,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<Strategy>
,org.springframework.data.repository.PagingAndSortingRepository<Strategy,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<Strategy>
,org.springframework.data.repository.Repository<Strategy,
Long>
@Repository
public interface StrategyRepository
extends org.springframework.data.jpa.repository.JpaRepository<Strategy,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<Strategy>
Strategy
repository.-
Method Summary
Modifier and TypeMethodDescriptionfindByStrategyId
(String strategyId) Find a strategy by its strategy id.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
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
-
findByStrategyId
Find a strategy by its strategy id.- Parameters:
strategyId
- strategy id- Returns:
- strategy
-