net.sf.dropboxmq.workflow.persistence.memory
Class StatePersistenceImpl

java.lang.Object
  extended by net.sf.dropboxmq.workflow.persistence.memory.StatePersistenceImpl
All Implemented Interfaces:
StatePersistence

public class StatePersistenceImpl
extends Object
implements StatePersistence

Created: 26 Aug 2010

Version:
$Revision$, $Date$
Author:
Dwayne Schultz

Constructor Summary
StatePersistenceImpl(ProcessTypePersistenceImpl processTypePersistence)
           
 
Method Summary
(package private)  State getExistingStateById(int id)
           
 Collection<State> getStatesByProcessType(int processTypeId)
           
 void storeState(State state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatePersistenceImpl

public StatePersistenceImpl(ProcessTypePersistenceImpl processTypePersistence)
Method Detail

storeState

public void storeState(State state)
Specified by:
storeState in interface StatePersistence

getStatesByProcessType

public Collection<State> getStatesByProcessType(int processTypeId)
Specified by:
getStatesByProcessType in interface StatePersistence

getExistingStateById

State getExistingStateById(int id)