com.opensymphony.workflow.persistence
Interface Persistence

All Known Implementing Classes:
EJBPersistence, OfbizPersistence

public interface Persistence

Version:
$Revision: 1.3 $
Author:
Patrick Lightbody

Method Summary
 Step create(long entryId, int stepId)
          Create new step with no previous step.
 Step create(long entryId, int stepId, com.opensymphony.module.user.User owner)
          Create a new step with no previous step.
 Step create(Step prev, int actionId)
           
 Step create(Step prev, int stepId, int actionId)
          Create a new step with an REQUIRED previous step that MUST be marked finished.
 Step create(Step prev, int stepId, int actionId, com.opensymphony.module.user.User owner)
          Create a new step with a REQUIRED previous step that MUST be marked finished.
 WorkflowEntry create(java.lang.String workflowName)
           
 Step findStep(long pk)
           
 WorkflowEntry findWorkflowEntry(long pk)
           
 void persistChanges()
           
 

Method Detail

findWorkflowEntry

public WorkflowEntry findWorkflowEntry(long pk)

create

public WorkflowEntry create(java.lang.String workflowName)

create

public Step create(long entryId,
                   int stepId)
Create new step with no previous step. This new step is marked as QUEUED.

create

public Step create(long entryId,
                   int stepId,
                   com.opensymphony.module.user.User owner)
Create a new step with no previous step. This new step is marked as UNDERWAY.

create

public Step create(Step prev,
                   int stepId,
                   int actionId)
Create a new step with an REQUIRED previous step that MUST be marked finished. This new step is marked as queued.

create

public Step create(Step prev,
                   int stepId,
                   int actionId,
                   com.opensymphony.module.user.User owner)
Create a new step with a REQUIRED previous step that MUST be marked finished. This new step is marked as UNDERWAY

create

public Step create(Step prev,
                   int actionId)

findStep

public Step findStep(long pk)

persistChanges

public void persistChanges()

See www.opensymphony.com for more information.