com.opensymphony.workflow.persistence.ejb.step
Interface StepHome

All Superinterfaces:
javax.ejb.EJBHome, java.rmi.Remote

public interface StepHome
extends javax.ejb.EJBHome

Version:
$Revision: 1.1 $
Author:
Patrick Lightbody

Field Summary
static java.lang.String COMP_NAME
           
static java.lang.String JNDI_NAME
           
 
Method Summary
 StepRemote create(java.lang.Long entryId, long stepId)
          Create new step with no previous step.
 StepRemote create(java.lang.Long entryId, long stepId, com.opensymphony.module.user.User owner)
          Create a new step with no previous step.
 StepRemote create(StepRemote prev, long actionId)
           
 StepRemote create(StepRemote prev, long stepId, long actionId)
          Create a new step with an REQUIRED previous step that MUST be marked finished.
 StepRemote create(StepRemote prev, long stepId, long actionId, com.opensymphony.module.user.User owner)
          Create a new step with a REQUIRED previous step that MUST be marked finished.
 StepRemote findByPrimaryKey(java.lang.Long pk)
           
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Field Detail

COMP_NAME

public static final java.lang.String COMP_NAME

JNDI_NAME

public static final java.lang.String JNDI_NAME
Method Detail

create

public StepRemote create(java.lang.Long entryId,
                         long stepId)
                  throws java.rmi.RemoteException,
                         javax.ejb.CreateException
Create new step with no previous step. This new step is marked as QUEUED.

create

public StepRemote create(java.lang.Long entryId,
                         long stepId,
                         com.opensymphony.module.user.User owner)
                  throws java.rmi.RemoteException,
                         javax.ejb.CreateException
Create a new step with no previous step. This new step is marked as UNDERWAY.

create

public StepRemote create(StepRemote prev,
                         long stepId,
                         long actionId)
                  throws java.rmi.RemoteException,
                         javax.ejb.CreateException
Create a new step with an REQUIRED previous step that MUST be marked finished. This new step is marked as queued.

create

public StepRemote create(StepRemote prev,
                         long stepId,
                         long actionId,
                         com.opensymphony.module.user.User owner)
                  throws java.rmi.RemoteException,
                         javax.ejb.CreateException
Create a new step with a REQUIRED previous step that MUST be marked finished. This new step is marked as UNDERWAY

create

public StepRemote create(StepRemote prev,
                         long actionId)
                  throws java.rmi.RemoteException,
                         javax.ejb.CreateException

findByPrimaryKey

public StepRemote findByPrimaryKey(java.lang.Long pk)
                            throws java.rmi.RemoteException,
                                   javax.ejb.FinderException

See www.opensymphony.com for more information.