Package org.marketcetera.strategy.dao
Interface StrategyMessageDao
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<PersistentStrategyMessage,Long>,org.springframework.data.jpa.repository.JpaRepository<PersistentStrategyMessage,Long>,org.springframework.data.repository.PagingAndSortingRepository<PersistentStrategyMessage,Long>,org.springframework.data.repository.query.QueryByExampleExecutor<PersistentStrategyMessage>,org.springframework.data.querydsl.QuerydslPredicateExecutor<PersistentStrategyMessage>,org.springframework.data.repository.Repository<PersistentStrategyMessage,Long>
public interface StrategyMessageDao extends org.springframework.data.jpa.repository.JpaRepository<PersistentStrategyMessage,Long>, org.springframework.data.querydsl.QuerydslPredicateExecutor<PersistentStrategyMessage>
Represents a message emitted by a strategy.- Since:
- $Release$
- Version:
- $Id$
- Author:
- Colin DuPlantis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<PersistentStrategyMessage>findByStrategyMessageId(long inStrategyMessageId)Find the strategy message by the given strategy message id, if possible.-
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
-
-
-
-
Method Detail
-
findByStrategyMessageId
Optional<PersistentStrategyMessage> findByStrategyMessageId(long inStrategyMessageId)
Find the strategy message by the given strategy message id, if possible.- Parameters:
inStrategyMessageId- alongvalue- Returns:
- an
Optional<PersistentStrategyMessage>value
-
-