| java.lang.Object org.ofbiz.workflow.WfFactory
WfFactory | public class WfFactory (Code) | | WfFactory - Workflow Factory Class
author: Andy Zeneski version: $Revision: 1.1 $ since: 2.0 |
Method Summary | |
public static WorkflowClient | getClient(DispatchContext dctx) | public static WfActivity | getWfActivity(GenericValue value, String process) Creates a new
WfActivity instance. | public static WfActivity | getWfActivity(GenericDelegator delegator, String workEffortId) | public static WfAssignment | getWfAssignment(WfActivity activity, WfResource resource, Timestamp fromDate, boolean create) Creates a new
WfAssignment instance. | public static WfAssignment | getWfAssignment(GenericDelegator delegator, String work, String party, String role, Timestamp from) | public static WfEventAudit | getWfEventAudit(WfExecutionObject object, String type) Creates a new
WfEventAudit instance. | public static WfProcess | getWfProcess(GenericValue value, WfProcessMgr mgr) Creates a new
WfProcess instance.
Parameters: value - The GenericValue object for the process definition. Parameters: mgr - The WfProcessMgr which is managing this process. | public static WfProcess | getWfProcess(GenericDelegator delegator, String workEffortId) | public static WfProcessMgr | getWfProcessMgr(GenericDelegator delegator, String pkg, String pkver, String pid, String pver) Creates a new
WfProcessMgr instance.
Parameters: delegator - The GenericDelegator to use for this manager. Parameters: pkg - The Workflow Package ID. Parameters: pkver - The Workflow Package Version. Parameters: pid - The Workflow Process ID. Parameters: pver - The Workflow Process Version. | public static WfRequester | getWfRequester() Creates a new
WfRequester instance. | public static WfResource | getWfResource(GenericValue value) Creates a new
WfResource instance. | public static WfResource | getWfResource(GenericDelegator delegator, String key, String name, String party, String role) Creates a new
WfResource instance. |
getWfActivity | public static WfActivity getWfActivity(GenericValue value, String process) throws WfException(Code) | | Creates a new
WfActivity instance.
Parameters: value - GenericValue object defining this activity. Parameters: process - The WorkEffort key of the parent process An instance of the WfActivify Interface throws: WfException - |
getWfProcessMgr | public static WfProcessMgr getWfProcessMgr(GenericDelegator delegator, String pkg, String pkver, String pid, String pver) throws WfException(Code) | | Creates a new
WfProcessMgr instance.
Parameters: delegator - The GenericDelegator to use for this manager. Parameters: pkg - The Workflow Package ID. Parameters: pkver - The Workflow Package Version. Parameters: pid - The Workflow Process ID. Parameters: pver - The Workflow Process Version. An instance of the WfProcessMgr Interface. throws: WfException - |
getWfResource | public static WfResource getWfResource(GenericDelegator delegator, String key, String name, String party, String role) throws WfException(Code) | | Creates a new
WfResource instance.
Parameters: delegator - The GenericDelegator for this instance Parameters: key - The key for the resource Parameters: name - The name of the resource Parameters: party - The partyId of the resource Parameters: role - The roleTypeId of the resource An instance of the WfResource Interface. throws: WfException - |
|
|