net.sf.dropboxmq.workflow.persistence
Interface RunPersistence

All Known Implementing Classes:
RunPersistenceImpl, RunPersistenceImpl

public interface RunPersistence

Created: 03 Oct 2010

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

Method Summary
 List<Run> getActiveRunsByProcessType(int processTypeId)
           
 Run getLastUpdatedRunByKeyAndProcessType(String key, int processTypeId)
           
 void storeRun(Run run)
           
 void updateState(int runId, Integer toStateId)
           
 

Method Detail

storeRun

void storeRun(Run run)

getLastUpdatedRunByKeyAndProcessType

Run getLastUpdatedRunByKeyAndProcessType(String key,
                                         int processTypeId)

getActiveRunsByProcessType

List<Run> getActiveRunsByProcessType(int processTypeId)

updateState

void updateState(int runId,
                 Integer toStateId)