com.opensymphony.workflow.ofbiz
Class OfbizWorkflow

java.lang.Object
  |
  +--com.opensymphony.workflow.AbstractWorkflow
        |
        +--com.opensymphony.workflow.ofbiz.OfbizWorkflow
All Implemented Interfaces:
Workflow

public class OfbizWorkflow
extends AbstractWorkflow


Fields inherited from class com.opensymphony.workflow.AbstractWorkflow
context
 
Constructor Summary
OfbizWorkflow(java.lang.String caller)
           
 
Method Summary
 long createEntry(java.lang.String workflowName)
          Create a workflow entry
 void doAction(long id, int actionId, java.util.Map inputs)
          perform an action on the specified workflow
protected  Persistence getPersistence()
           
 void initialize(long id, int initialState, java.util.Map inputs)
           
 
Methods inherited from class com.opensymphony.workflow.AbstractWorkflow
canInitialize, createVariableMap, evaluateExpression, executeFunction, executeTriggerFunction, getActionableSteps, getActionName, getAvailableActions, getCurrentStatus, getHistory, getPropertySet, getSecurityPermissions, getStepName, getWorkflow, isInitialized, loadConfig, setBshVariables, translateVariables, validRole, verifyInputs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OfbizWorkflow

public OfbizWorkflow(java.lang.String caller)
Method Detail

doAction

public void doAction(long id,
                     int actionId,
                     java.util.Map inputs)
              throws InvalidInputException
Description copied from class: AbstractWorkflow
perform an action on the specified workflow
Overrides:
doAction in class AbstractWorkflow
Following copied from class: com.opensymphony.workflow.AbstractWorkflow
Parameters:
id - The workflow id to perform the action on
actionId - The action id to perform (action id's are listed in the workflow descriptor)
inputs -  
Throws:
InvalidInputException -  

createEntry

public long createEntry(java.lang.String workflowName)
Description copied from class: AbstractWorkflow
Create a workflow entry
Overrides:
createEntry in class AbstractWorkflow
Following copied from class: com.opensymphony.workflow.AbstractWorkflow
Parameters:
workflowName - The name of the workflow to create
Returns:
the workflow key id

initialize

public void initialize(long id,
                       int initialState,
                       java.util.Map inputs)
                throws InvalidRoleException,
                       InvalidInputException
Overrides:
initialize in class AbstractWorkflow

getPersistence

protected Persistence getPersistence()
Overrides:
getPersistence in class AbstractWorkflow

See www.opensymphony.com for more information.