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