Interface StrategyRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<Strategy,​Long>, org.springframework.data.jpa.repository.JpaRepository<Strategy,​Long>, 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>
    Strategy repository.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Optional<Strategy> findByStrategyId​(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, saveAll, saveAllAndFlush, saveAndFlush
      • Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

        findAll
      • Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

        count, exists, findAll, findOne
    • Method Detail

      • findByStrategyId

        Optional<Strategy> findByStrategyId​(String strategyId)
        Find a strategy by its strategy id.
        Parameters:
        strategyId - strategy id
        Returns:
        strategy