Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD