Interface StrategyInstanceDao

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Collection<PersistentStrategyInstance> findAllByStatusIn​(Set<StrategyStatus> inStatus)
      Find the strategy instances with status values in the given values.
      Optional<PersistentStrategyInstance> findByName​(String inName)
      Find the strategy instance with the given name, if it exists.
      Optional<PersistentStrategyInstance> findByNonce​(String inNonce)
      Find the strategy instance with the given nonce, if it exists.
      • 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.repository.PagingAndSortingRepository

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

      • findByName

        Optional<PersistentStrategyInstance> findByName​(String inName)
        Find the strategy instance with the given name, if it exists.
        Parameters:
        inName - a String value
        Returns:
        an Optional<PersistentStrategyInstance> value
      • findByNonce

        Optional<PersistentStrategyInstance> findByNonce​(String inNonce)
        Find the strategy instance with the given nonce, if it exists.
        Parameters:
        inNonce - a String value
        Returns:
        an Optional<PersistentStrategyInstance> value
      • findAllByStatusIn

        Collection<PersistentStrategyInstance> findAllByStatusIn​(Set<StrategyStatus> inStatus)
        Find the strategy instances with status values in the given values.
        Parameters:
        inStatus - a Set<StrategyStatus> value
        Returns:
        a Collection<PersistentStrategyInstance> value