Interface StrategyRepository

  • All Superinterfaces:
    org.springframework.data.repository.CrudRepository<Strategy,​Long>, org.springframework.data.repository.Repository<Strategy,​Long>

    @Repository
    public interface StrategyRepository
    extends org.springframework.data.repository.CrudRepository<Strategy,​Long>
    Strategy repository.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Optional<Strategy> findByStrategyId​(String strategyId)
      Find by strategy id.
      • Methods inherited from interface org.springframework.data.repository.CrudRepository

        count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, findAllById, findById, save, saveAll
    • Method Detail

      • findByStrategyId

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