Method Summary |
|
public ActivityLocal | activityByKeyLocal(String key) Describe activityByKey method here. |
protected WfAuditEvent | activityRequesterInfo(WfRequester req) Describe activityRequesterInfo method here. |
public void | addActivity(ActivityLocal act) Describe addActivity method here. |
public void | addTransition(String id, String group, int order, ActivityLocal from, ActivityLocal to) Describe addTransition method here. |
public void | addTransition(String id, String group, int order, ActivityLocal from, ActivityLocal to, String cond) Describe addTransition method here. |
public WfAuditEvent | auditEventBase() Returns an audit event object with process relevant information
initialized. |
public boolean | choose(ActivityLocal activity) |
public int | cleanupMode() |
public void | closeActivity(ActivityLocal activity, State closedState) |
public void | complete(Long activity, State s) Describe complete method here. |
public void | copyProcessDefinition(String procDefXpdl) |
protected WfActivityLocal | createActivity(Element actElement, Long blockId, JoinAndSplitMode jm, JoinAndSplitMode sm) Describe createActivity method here. |
protected WfActivityLocal | createActivity(String blockActId, Priority priority, String name, String description, StartFinishMode startMode, StartFinishMode finishMode, JoinAndSplitMode joinMode, JoinAndSplitMode splitMode, Implementation[] implementation, String performer, List deadlines, boolean deferChoiceOnSplit, int auditEventSelection, boolean storeAuditEvents) Factory method that create new persistent objects of type
WfActivity . |
protected Long | createActivityKey() Provide a new unique activity key. |
public Date | createTime() Describe createTime method here. |
protected TransitionLocal | createTransition(String id, String group, int order, ActivityLocal fromAct, ActivityLocal toAct) Create a new transition with given id, From Activity, To Activity. |
protected void | createTransitionRef(long serialNum, ActivityLocal fromActivity, ActivityLocal toActivity) Describe createTransitionRef method here. |
public boolean | deliverChannelMessage(String channel, Map message) Deliver a message on the given channel to a receiver tool
listening on that channel. |
protected TransitionLocal | doCreateTransition(String id, String group, int order, ActivityLocal fromAct, ActivityLocal toAct, int condType, String cond) Create a new transition with given id, From Activity, To Activity.
Parameters: id - a String value Parameters: fromAct - an Activity value Parameters: toAct - an Activity value Parameters: cond - condition. |
protected int | getPaAuditEventSelection() The getter method implementation for the persistent
attribute auditEventSelection . |
protected Map | getPaBlockDeadlines() The getter method implementation for the persistent
attribute blockDeadlines . |
protected Date | getPaCreateTime() The getter method implementation for the persistent
attribute createTime . |
protected boolean | getPaDebug() The getter method implementation for the persistent
attribute Debug . |
protected String | getPaDescription() The getter method implementation for the persistent
attribute description . |
protected String | getPaId() The getter method for the persistent attribute id . |
protected String | getPaKey() The getter method implementation for the persistent
attribute key . |
protected Date | getPaLastStateTime() The getter method implementation for the persistent
attribute lastStateTime . |
protected String | getPaName() The getter method implementation for the persistent
attribute name . |
protected Priority | getPaPriority() The getter method implementation for the persistent
attribute priority . |
protected ProcessData | getPaProcessData() The getter method implementation for the persistent
attribute processData . |
protected ProcessDefinition | getPaProcessDef() The getter method implementation for the persistent
attribute processDef . |
protected String | getPaProcessMgr() The getter method implementation for the persistent
attribute processMgr . |
protected String | getPaProcessMgrName() The getter method implementation for the persistent
attribute processMgrName . |
protected String | getPaProcessMgrVersion() The getter method implementation for the persistent
attribute processMgrVersion . |
protected WfRequester | getPaRequester() The getter method implementation for the persistent
attribute requester . |
protected boolean | getPaStoreAuditEvents() The getter method implementation for the persistent
attribute storeAuditEvents . |
protected State | getPaTypedState() The getter method implementation for the persistent
attribute typedState . |
public String | getXPDL() Describe getXPDL method here. |
public void | handleException(ActivityLocal activity, String exceptionName) |
public Collection | history() Describe history method here. |
public Map | lookForMessage(String channel) Looks for a message on the given channel and if found returns it. |
protected ExtActivityLocal | lookupActivityLocal(String key) Return an arbitrary activity with the given key. |
public WfProcessMgr | manager() Returns the process manager which created this process. |
public ProcessData | processContext() Describe processContext method here. |
public Principal | processCreator() Return the creator of the process. |
public ProcessDefinition | processDefinition() Describe processDefinition method here. |
public ProcessDefinitionDirectoryLocal | processDefinitionDirectoryLocal() Return the process definition directory. |
public boolean | removeOnClose() Returns true if the process will be removed automatically
on completion. |
protected void | removeThis() Remove this process. |
public WfRequester | requester() Describe requester method here. |
public ProcessLocal | requestingProcessLocal() Return the process this process is a subflow of. |
public ProcessData | result() |
public void | setActivities(Collection act) Describe setActivities method here. |
protected void | setPaAuditEventSelection(int newAuditEventSelection) The setter method implementation for the persistent
attribute auditEventSelection . |
protected void | setPaDebug(boolean newDebug) The setter method implementation for the persistent
attribute Debug . |
protected void | setPaDescription(String newDescription) The setter method implementation for the persistent
attribute description . |
protected void | setPaId(String newId) The setter method for the persistent attribute Id . |
protected void | setPaLastStateTime(Date newLastStateTime) The setter method implementation for the persistent
attribute lastStateTime . |
protected void | setPaName(String newName) The setter method implementation for the persistent
attribute name . |
protected void | setPaPriority(Priority newPriority) The setter method implementation for the persistent
attribute priority . |
protected void | setPaProcessData(ProcessData newProcessData) The setter method implementation for the persistent
attribute processData . |
protected void | setPaProcessDef(ProcessDefinition newProcessDef) The setter method implementation for the persistent
attribute processDef . |
protected void | setPaProcessMgr(String newProcessMgr) The setter method implementation for the persistent
attribute processMgr . |
protected void | setPaProcessMgrName(String newProcessMgrName) The setter method implementation for the persistent
attribute processMgrName . |
protected void | setPaProcessMgrVersion(String newProcessMgrVersion) The setter method implementation for the persistent
attribute processMgrVersion . |
protected void | setPaRequester(WfRequester newRequester) The setter method implementation for the persistent
attribute requester . |
protected void | setPaStoreAuditEvents(boolean newStoreAuditEvents) The setter method implementation for the persistent
attribute storeAuditEvents . |
protected void | setPaTypedState(State newTypedState) The setter method implementation for the persistent
attribute typedState . |
public void | setRequester(WfRequester requester) Describe setRequester method here. |
public void | startTimer(Date due, Serializable info) Start a timer that will call handleTimeout at the
given date with the given info. |
public Collection | stepsLocal() Describe steps method here. |
public void | stopTimers() Stop all timers that this object has created. |
public void | submitChannelMessage(String channel, Map message) Deliver a message on the given channel to a receiver tool
listening on that channel. |
public Process | toProcess() Describe thisRemote method here. |
public ExtProcessLocal | toProcessLocal() |
public List | transitionsLocal() Gets a list of transitions for this process. |