Class GenericRetrievalStrategy<T extends ExtendedStateEntity>
java.lang.Object
org.chenile.workflow.service.stmcmds.GenericRetrievalStrategy<T>
- All Implemented Interfaces:
StateEntityRetrievalStrategy<T>
public class GenericRetrievalStrategy<T extends ExtendedStateEntity>
extends Object
implements StateEntityRetrievalStrategy<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
entityStore
-
-
Constructor Details
-
GenericRetrievalStrategy
public GenericRetrievalStrategy()
-
-
Method Details
-
setEntityStore
-
retrieve
Description copied from interface:StateEntityRetrievalStrategy
Retrieves a state entity from a persistent store like DB.- Specified by:
retrieve
in interfaceStateEntityRetrievalStrategy<T extends ExtendedStateEntity>
- Returns:
- Throws:
Exception
-
merge
Description copied from interface:StateEntityRetrievalStrategy
Merges a state entity with another one obtained from persistent store- Specified by:
merge
in interfaceStateEntityRetrievalStrategy<T extends ExtendedStateEntity>
- Returns:
- Throws:
Exception
-