Method Summary |
|
public ActivityFinder | activityFinder() Returns an
de.danet.an.workflow.spis.ras.ActivityFinderActivityFinder that identifies this activity
against a resource assignment service as defined by
de.danet.an.workflow.spis.ras the ras package . |
public WfAuditEvent | auditEventBase() Returns a WfAuditEvent containing information about the
activity and its container, only. |
public WfProcess | container() Returns the WfProcess that this activity is a part of. |
protected WfAuditEvent | containerAuditEventBase() Returns an WfAuditEvent containing container-related
information. |
public WfProcessLocal | containerLocal() Returns the WfProcessLocal that this activity is a part of. |
public void | ejbActivate() The activate method is called when the instance is activated from its
"passive" state. |
public Long | ejbCreate(WfProcessLocal process, Long procPk, WfAuditEvent evtBase, Long blockActId, ExtExecutionObjectLocal.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) Create a new activity and save it into database. |
public Long | ejbFindByActivityKey(String key) This method looks up an activity by its
de.danet.an.workflow.localcoreapi.WfActivityLocal.key key . |
public Long | ejbFindByPrimaryKey(Long primaryKey) This method checks if the activity exists.
If it is ok, it returns the activity-primary-key.
EJBException is thrown on any error except finder exception.
Parameters: primaryKey - The activity primary key. |
public Collection | ejbFindByProcess(Long primaryKey) This method retrieve the activities of a process.
Parameters: primaryKey - The process primary key. |
public Long | ejbFindByWaitingOn(Long processId, String channel) This method looks up an activity by its
its container and waiting on attribute. |
public void | ejbLoad() A container invokes this method to synchronize the state of an
enterprise bean instance with the entity object's state in the database. |
public void | ejbPassivate() The passivate method is called before the instance enters the
"passive" state. |
public void | ejbPostCreate(WfProcessLocal process, Long procPk, WfAuditEvent evtBase, Long blockActId, ExtExecutionObjectLocal.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) Create a new activity with activity modes, join modes
and save it into database. |
public void | ejbRemove() A container invokes this method before it ends the life of the session
object. |
public void | ejbStore() A container invokes this method to synchronize the state of the
entity object in the database with the state of the enterprise bean
instancee. |
public void | ejbTimeout(Timer timer) Handle the timeout of a timer. |
public boolean | equals(Object obj) Indicates if some other object is equal to this one. |
protected void | fireAuditEvent(WfAuditEvent evt) Process newly generated event. |
protected Implementation[] | getPaActImpl() The getter method implementation for the persistent
attribute actImpl . |
protected int | getPaAuditEventSelection() The getter method implementation for the persistent
attribute auditEventSelection . |
protected Long | getPaBlockActivity() The getter method implementation for the persistent
attribute blockActivity . |
protected List | getPaDeadlines() The getter method implementation for the persistent
attribute deadlines . |
protected boolean | getPaDebug() The getter method implementation for the persistent
attribute debug . |
protected boolean | getPaDeferChoiceOnSplit() The getter method implementation for the persistent
attribute deferChoiceOnSplit . |
protected String | getPaDescription() The getter method implementation for the persistent
attribute description . |
protected Integer | getPaExecStat() The getter method implementation for the persistent
attribute executor . |
protected StartFinishMode | getPaFinishMode() The getter method implementation for the persistent
attribute finishMode . |
protected JoinAndSplitMode | getPaJoinMode() The getter method implementation for the persistent
attribute joinMode . |
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 boolean | getPaNoAssignments() The getter method implementation for the persistent
attribute noAssignments . |
protected String | getPaPendingException() The getter method implementation for the persistent
attribute pendingException . |
protected boolean | getPaPendingExceptionIsFromBlock() The getter method for the persistent flag
pendingExceptionIsFromBlock . |
protected String | getPaPerformer() The getter method implementation for the persistent
attribute performer . |
protected boolean | getPaPreliminarilyChosen() The getter method implementation for the persistent
attribute preliminaryChosen . |
protected Priority | getPaPriority() The getter method implementation for the persistent
attribute priority . |
protected String | getPaProcessKey() The getter method implementation for the persistent
read-only attribute processKey . |
protected String | getPaProcessMgrName() The getter method implementation for the persistent
read-only attribute processMgrName . |
protected String | getPaProcessMgrVersion() The getter method implementation for the persistent
read-only attribute processMgrVersion . |
protected String | getPaProcessName() The getter method implementation for the persistent
read-only attribute processName . |
protected JoinAndSplitMode | getPaSplitMode() The getter method implementation for the persistent
attribute splitMode . |
protected StartFinishMode | getPaStartMode() The getter method implementation for the persistent
attribute startMode . |
protected Date | getPaStartTime() The getter method implementation for the persistent
attribute startTime . |
protected boolean | getPaStoreAuditEvents() The getter method implementation for the persistent
attribute storeAuditEvents . |
protected int | getPaSubStateBackup() The getter method implementation for the persistent
attribute subStateBackup . |
protected String | getPaSubflow() The getter method implementation for the persistent
attribute Subflow . |
protected long | getPaSuspendAccum() The getter method implementation for the persistent
attribute suspendAccum . |
protected Date | getPaSuspendStart() The getter method implementation for the persistent
attribute suspendStart . |
protected ThreadInfo | getPaThreadInfo() The getter method implementation for the persistent
attribute threadInfo . |
protected State | getPaTypedState() The getter method implementation for the persistent
attribute typedState . |
protected String | getPaWaitOnChan() The getter method implementation for the persistent
attribute waitOnChan . |
protected Long | getPaWaitOnProc() The getter method implementation for the persistent
attribute waitOnProc . |
public int | hashCode() |
public Collection | history() Returns a collection of WfAuditEvent s associated with
this process describing its history. |
public boolean | isMemberOfAssignments(WfAssignment member) Check if the given assignment is among the assignments of this
activity.
Parameters: member - the assignment in question. |
public boolean | isMemberOfPerformers(WfProcess member) Check if the given process is among the performers of this requester.
Parameters: member - the process in question. |
protected ExtProcessLocal | lookupProcessLocal(String key) Lookup a process by its key. |
public List | nextActivities() Returns the list of activities that may follow this activity,
i.e. |
protected RASInvocationHandler | rasInvocationHandler() Get the resource assignment invocation handler. |
public void | setEntityContext(EntityContext context) Set the associated session context. |
protected void | setPaActImpl(Implementation[] newActImpl) The setter method implementation for the persistent
attribute actImpl . |
protected void | setPaAuditEventSelection(int newValue) The setter method implementation for the persistent
attribute auditEventSelection . |
protected void | setPaBlockActivity(Long newBlockActivity) The setter method implementation for the persistent attribute
blockActivity . |
protected void | setPaDeadlines(List newDeadlines) The setter method implementation for the persistent
attribute deadlines . |
protected void | setPaDebug(boolean newDebug) The setter method implementation for the persistent
attribute debug . |
protected void | setPaDeferChoiceOnSplit(boolean newDeferChoiceOnSplit) The setter method implementation for the persistent
attribute deferChoiceOnSplit . |
protected void | setPaDescription(String newDescription) The setter method implementation for the persistent
attribute description . |
protected void | setPaExecStat(Integer newExecutor) The setter method implementation for the persistent
attribute executor . |
protected void | setPaFinishMode(StartFinishMode newFinishMode) The setter method implementation for the persistent
attribute finishMode . |
protected void | setPaJoinMode(JoinAndSplitMode newJoinMode) The setter method implementation for the persistent
attribute joinMode . |
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 | setPaNoAssignments(boolean newNoAssignments) The setter method implementation for the persistent
attribute noAssignments . |
protected void | setPaPendingException(String newPendingException) The setter method implementation for the persistent
attribute pendingException . |
protected void | setPaPendingExceptionIsFromBlock(boolean newValue) The setter method for the persistent flags
pendingExceptionIsFromBlock . |
protected void | setPaPerformer(String newPerformer) The setter method implementation for the persistent
attribute performer . |
protected void | setPaPreliminarilyChosen(boolean newPreliminarilyChosen) The setter method implementation for the persistent
attribute preliminaryChosen . |
protected void | setPaPriority(Priority newPriority) The setter method implementation for the persistent
attribute priority . |
protected void | setPaSplitMode(JoinAndSplitMode newSplitMode) The setter method implementation for the persistent
attribute splitMode . |
protected void | setPaStartMode(StartFinishMode newStartMode) The setter method implementation for the persistent
attribute startMode . |
protected void | setPaStartTime(Date newStartTime) The setter method implementation for the persistent
attribute startTime . |
protected void | setPaStoreAuditEvents(boolean newValue) The setter method implementation for the persistent
attribute storeAuditEvents . |
protected void | setPaSubStateBackup(int newSubStateBackup) The setter method implementation for the persistent
attribute subStateBackup . |
protected void | setPaSubflow(String newSubflow) The setter method implementation for the persistent
attribute Subflow . |
protected void | setPaSuspendAccum(long newSuspendAccum) The setter method implementation for the persistent
attribute suspendAccum . |
protected void | setPaSuspendStart(Date newSuspendStart) The setter method implementation for the persistent
attribute suspendStart . |
protected void | setPaThreadInfo(ThreadInfo newThreadInfo) The setter method implementation for the persistent
attribute threadInfo . |
protected void | setPaTypedState(State newTypedState) The setter method implementation for the persistent
attribute typedState . |
protected void | setPaWaitOnChan(String newWaitOnChan) The setter method implementation for the persistent
attribute waitOnChan . |
protected void | setPaWaitOnProc(Long newWaitOnProc) The setter method implementation for the persistent
attribute waitOnProc . |
public void | startTimer(Date due, Serializable info) Start a timer that will call handleTimeout at the
given date with the given info. |
public void | stopTimers() Stop all timers that this object has created. |
public Activity | toActivity() Return the remote version of this object. |
public ExtActivityLocal | toActivityLocal() |
protected ToolInvocationHandler | toolInvocationHandler() Return a ToolInvocationHandler . |
public void | unsetEntityContext() Unset the associated session context. |
public void | updateProcessName(String newName) Updates the process name (which is cached by the activity EJB)
if the process name changes. |