com.opensymphony.workflow.persistence.ejb
Class EJBPersistence

java.lang.Object
  |
  +--com.opensymphony.workflow.persistence.ejb.EJBPersistence
All Implemented Interfaces:
Persistence

public class EJBPersistence
extends java.lang.Object
implements Persistence

Version:
$Revision: 1.5 $
Author:
Patrick Lightbody

Constructor Summary
EJBPersistence()
           
 
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBPersistence

public EJBPersistence()
Method Detail

findWorkflowEntry

public WorkflowEntry findWorkflowEntry(long pk)
Specified by:
findWorkflowEntry in interface Persistence

create

public WorkflowEntry create(java.lang.String workflowName)
Specified by:
create in interface Persistence

create

public Step create(long entryId,
                   int stepId)
Description copied from interface: Persistence
Create new step with no previous step. This new step is marked as QUEUED.
Specified by:
create in interface Persistence

create

public Step create(long entryId,
                   int stepId,
                   com.opensymphony.module.user.User owner)
Description copied from interface: Persistence
Create a new step with no previous step. This new step is marked as UNDERWAY.
Specified by:
create in interface Persistence

create

public Step create(Step prev,
                   int stepId,
                   int actionId)
Description copied from interface: Persistence
Create a new step with an REQUIRED previous step that MUST be marked finished. This new step is marked as queued.
Specified by:
create in interface Persistence

create

public Step create(Step prev,
                   int stepId,
                   int actionId,
                   com.opensymphony.module.user.User owner)
Description copied from interface: Persistence
Create a new step with a REQUIRED previous step that MUST be marked finished. This new step is marked as UNDERWAY
Specified by:
create in interface Persistence

create

public Step create(Step prev,
                   int actionId)
Specified by:
create in interface Persistence

findStep

public Step findStep(long pk)
Specified by:
findStep in interface Persistence

persistChanges

public void persistChanges()
Specified by:
persistChanges in interface Persistence

See www.opensymphony.com for more information.