Java Doc for AbstractProcess.java in  » Workflow-Engines » wfmopen-2.1.1 » de » danet » an » workflow » domain » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » wfmopen 2.1.1 » de.danet.an.workflow.domain 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.danet.an.workflow.domain.AbstractExecutionObject
      de.danet.an.workflow.domain.AbstractProcess

All known Subclasses:   domain.VolatileProcess,  de.danet.an.workflow.ejbs.core.WfProcessEJB,
AbstractProcess
abstract public class AbstractProcess extends AbstractExecutionObject implements TimedObject,Serializable(Code)
AbstractProcess represents the base implementation of the interface ProcessLocal ProcessLocal .

With logger level DEBUG, event handling information and information about process context changes will be logged.


Inner Class :public class DataAccessor implements Serializable
Inner Class :public class SAXInitializer extends StackedHandler
Inner Class :public class ActivityInitializer extends StackedHandler
Inner Class :public class TransitionInitializer extends StackedHandler


Constructor Summary
public  AbstractProcess()
     Creates a new AbstractProcess.

Method Summary
public  voidabort()
    
public  CollectionactivitiesInState(String state)
     Return all WfActivity objects that are in a certain state.
Parameters:
  state - the given state.
public  CollectionactivitiesOfBlockActivity(String blockActivity)
     Return all WfActivity objects that belong to the given block activity.
abstract public  ActivityLocalactivityByKeyLocal(String key)
     Returns the ActivityLocal Activity with the given key.
 ActivityInitializeractivityInitializer(Map actIds, Map trefs, Map actSets, String blkActKey)
     Return a new initializer with the given parameters.
abstract protected  WfAuditEventactivityRequesterInfo(WfRequester req)
     Retrieve the base event information about a requesting activity.
Parameters:
  req - the requester.
protected  WfAuditEventauditEventBase(String eventType)
     Returns an audit event object with process relevant information initialized.
protected  ActivityLocalblockActivityRepresentation(String key)
     Return a runtime representation of a block activity.
public  voidchangeState(State newState)
     Adds the possibility to change the state to OpenState.RUNNING (i.e.
public  booleanchoose(ExtActivityLocal activity)
    
protected  intcleanupMode()
     Returns the cleanup mode for the process as defined in its process definition.
public  voidcloseActivity(ExtActivityLocal activity, State closedState)
    
protected  voidcloseChannels()
     Called when the process is closed.
abstract protected  WfActivityLocalcreateActivity(String blockActId, Priority priority, String name, String description, StartFinishMode startMode, StartFinishMode finishMode, JoinAndSplitMode joinMode, JoinAndSplitMode splitMode, Implementation[] implementation, String performer, List deadlines, boolean deferredChoice, int auditEventSelection, boolean storeAuditEvents)
     Factory method that create new persistent objects of type WfActivity.
abstract protected  LongcreateActivityKey()
     Provide a new unique activity key.
public  DatecreateTime()
     Returns the creation time of the process.
protected  voiddispose()
     Releases all allocated resources.
abstract protected  TransitionLocaldoCreateTransition(String id, String group, int order, ActivityLocal fromAct, ActivityLocal toAct, int condType, String condition)
     Persist a new transition with given id, from-activity, to-activity.
public  booleanequals(Object obj)
     Indicates if some other object is equal to this one.
public  Serializable[]evalExpressions(Object[][] expressionData)
     Evaluate the given expressions using the process specific data (the scope as returned by AbstractProcess.jsScopejsScope for JavaScript).
public  SerializableevalScript(String script)
     Evaluate the given script using the process specific scope as returned by AbstractProcess.jsScope jsScope .
abstract protected  MapgetPaBlockDeadlines()
     The getter method for the persistent attribute blockDeadlines.
abstract protected  DategetPaCreateTime()
     The getter method for the persistent attribute createTime.
abstract protected  StringgetPaId()
     The getter method for the persistent attribute id.
abstract protected  PrioritygetPaPriority()
     The getter method for the persistent attribute priority.
abstract protected  ProcessDatagetPaProcessData()
     The getter method for the persistent attribute processData.
abstract protected  ProcessDefinitiongetPaProcessDef()
     The getter method for the persistent attribute processDef.
abstract protected  StringgetPaProcessMgrName()
     The getter method for the persistent attribute processMgrName.
abstract protected  StringgetPaProcessMgrVersion()
     The getter method for the persistent attribute processMgrVersion.
abstract protected  WfRequestergetPaRequester()
     The getter method for the persistent attribute requester.
protected  MapgetStateTransitionMap()
     Returns the java.util.Map Map that maps the process states to a java.util.Map List of reachable process states.
protected  voidhandleAbortedEvent(WfStateAuditEvent event)
     Handles a aborting audit event.
public  voidhandleAuditEvent(WfAuditEvent event)
     Handles the given audit event.
protected  voidhandleCompletedEvent(WfStateAuditEvent event)
     Handles a completed audit event.
public  voidhandleException(ExtActivityLocal activity, String exceptionName)
    
protected  voidhandleResumedEvent(WfStateAuditEvent event)
     Handles a resumed audit event.
protected  voidhandleStartedEvent(WfStateAuditEvent event)
     Handles a started audit event.
protected  voidhandleTerminatedEvent(WfStateAuditEvent event)
     Handles a terminated audit event.
public  voidhandleTimeout(Serializable info)
     Handle the timeout of a timer.
protected  voidinit(ProcessDefinition procDef)
     Initializes the class, i.e.
public static  booleanisHandled(WfAuditEvent event)
     Check if this class handles a specific event.
public  ScriptablejsScope()
     Return a scope for evaluating JavaScript.
abstract protected  ExtActivityLocallookupActivityLocal(String key)
     Return an arbitrary activity with the given key.
public  ProcessDataprocessContext()
     Return the context of this WfExecutionObject.
public  ProcessDefinitionprocessDefinition()
     Returns the associated process defintion.
protected  voidrefresh()
     Called after change of persistent attributes.
abstract protected  voidremoveThis()
     Remove this process.
public  WfRequesterrequester()
     Returns the requester for this process.
public  ProcessrequestingProcess()
     Return the process this process is a subflow of.
public  ProcessDataresult()
     The result method returns the process context.
public  voidsetDebugEnabled(boolean debug)
     Enable or disable debugging of the activity.
abstract protected  voidsetPaId(String newId)
     The setter method for the persistent attribute Id.
abstract protected  voidsetPaPriority(Priority newPriority)
     The setter method for the persistent attribute priority.
abstract protected  voidsetPaProcessDef(ProcessDefinition newProcessDef)
     The setter method for the persistent attribute processDef.
abstract protected  voidsetPaProcessMgrName(String newProcessMgrName)
     The setter method for the persistent attribute processMgrName.
abstract protected  voidsetPaProcessMgrVersion(String newProcessMgrVersion)
     The setter method for the persistent attribute processMgrVersion.
public  voidsetProcessContext(ProcessData newValues)
     Updates process context of the execution object.
public  voidsetRequester(WfRequester requester)
     For the first iteration throws an CannotChangeRequesterException.
public  voidstart()
     Starts a process.
public  Collectionsteps()
     Returns a collection of activities of the process.
abstract public  CollectionstepsLocal()
     Returns all WfActivityLocals associated with this WfProcess. the collection of all the WfActivities.
public  voidterminate()
    
abstract public  ProcesstoProcess()
     Return the remote version of this object.
abstract public  ExtProcessLocaltoProcessLocal()
     Return the version of this object to be passed to as local reference.
public  StringtoString()
     Return string representation for debugging purposes.
 TransitionInitializertransitionInitializer(Map actIds, Map trefs, String blkActId)
     Return a new initializer with the given parameters.
Parameters:
  actIds - activity id map
Parameters:
  trefs - transition reference map
Parameters:
  blkActId - the Id of the block activity beingcreated, i.e.
protected  TransitionManagertransitionManager()
     Returns the transition manager.
abstract public  ListtransitionsLocal()
     Returns all transitions associated with this WfProcess. the collection of all the WfActivities.
public  WfRequesterunresolvedRequester()
     Returns the requester for this process without resolving the internally used SubProcRequester to the associated WfActivity. requester for this process.


Constructor Detail
AbstractProcess
public AbstractProcess()(Code)
Creates a new AbstractProcess.




Method Detail
abort
public void abort() throws CannotStopException, NotRunningException(Code)



activitiesInState
public Collection activitiesInState(String state) throws InvalidStateException(Code)
Return all WfActivity objects that are in a certain state.
Parameters:
  state - the given state. the collection of all WfActivities.
throws:
  InvalidStateException - if an invalid state has been specified.



activitiesOfBlockActivity
public Collection activitiesOfBlockActivity(String blockActivity)(Code)
Return all WfActivity objects that belong to the given block activity.
Parameters:
  blockActivity - the given block activity the collection of all WfActivities



activityByKeyLocal
abstract public ActivityLocal activityByKeyLocal(String key) throws InvalidKeyException(Code)
Returns the ActivityLocal Activity with the given key.
Parameters:
  key - the de.danet.an.workflow.localcoreapi.WfActivityLocal.key key of the activity the activity associated with the key
throws:
  InvalidKeyException - if no activity with the given keyexists



activityInitializer
ActivityInitializer activityInitializer(Map actIds, Map trefs, Map actSets, String blkActKey)(Code)
Return a new initializer with the given parameters.
Parameters:
  actIds - activity id map
Parameters:
  trefs - transition reference map
Parameters:
  actSets - activity set definition map
Parameters:
  blkActKey - the id of the containing block activity ornull the initializer



activityRequesterInfo
abstract protected WfAuditEvent activityRequesterInfo(WfRequester req)(Code)
Retrieve the base event information about a requesting activity.
Parameters:
  req - the requester. the base info using an audit event as DTO.



auditEventBase
protected WfAuditEvent auditEventBase(String eventType)(Code)
Returns an audit event object with process relevant information initialized.
Parameters:
  eventType - event type the process related information.



blockActivityRepresentation
protected ActivityLocal blockActivityRepresentation(String key)(Code)
Return a runtime representation of a block activity. Block activities are not persisted. However, the persistence layer needs a representation to assign a "from"-activity to exception transitions starting at block activities. This representation is subsequently used by the domain layer only and therefore provided by the domain layer.
Parameters:
  key - the block activity key the block activity representation



changeState
public void changeState(State newState) throws InvalidStateException, TransitionNotAllowedException(Code)
Adds the possibility to change the state to OpenState.RUNNING (i.e. "start()") to the changeState method of the superclass.
Parameters:
  newState - the new state.
throws:
  InvalidStateException - If newState is an invalidstate for the execution object.
throws:
  TransitionNotAllowedException - If the transition from the currentstate to newState is not allowed.



choose
public boolean choose(ExtActivityLocal activity) throws TransitionNotAllowedException(Code)



cleanupMode
protected int cleanupMode()(Code)
Returns the cleanup mode for the process as defined in its process definition. the cleanup mode.



closeActivity
public void closeActivity(ExtActivityLocal activity, State closedState)(Code)



closeChannels
protected void closeChannels()(Code)
Called when the process is closed. Derived classes should should override this method and notify clients waiting on channels that the channel is closed and clean up any data structures associated with channels.



createActivity
abstract 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 deferredChoice, int auditEventSelection, boolean storeAuditEvents)(Code)
Factory method that create new persistent objects of type WfActivity. Must be implement by the persistence layer.
Parameters:
  blockActId - if the activity is part of a block activity,else null
Parameters:
  priority - a Priority value
Parameters:
  name - the activity's name
Parameters:
  description - activity description
Parameters:
  startMode - the start mode
Parameters:
  finishMode - the finish mode
Parameters:
  joinMode - the join mode
Parameters:
  splitMode - the split mode
Parameters:
  implementation - the implementation description
Parameters:
  performer - the performer
Parameters:
  deadlines - the deadlines
Parameters:
  deferredChoice - if true, the split is to be made asdeferred choice
Parameters:
  auditEventSelection - the audit event selection
Parameters:
  storeAuditEvents - if true, audit events are stored in thedatabase the created activity.



createActivityKey
abstract protected Long createActivityKey()(Code)
Provide a new unique activity key. the key.



createTime
public Date createTime()(Code)
Returns the creation time of the process. the creation time.



dispose
protected void dispose()(Code)
Releases all allocated resources. The object will be in an unusable state until resources are reallocated by calling AbstractProcess.init init and AbstractProcess.refresh refresh .



doCreateTransition
abstract protected TransitionLocal doCreateTransition(String id, String group, int order, ActivityLocal fromAct, ActivityLocal toAct, int condType, String condition)(Code)
Persist a new transition with given id, from-activity, to-activity. The created transitions must be made persistent by the persistence layer.
Parameters:
  id - the transition id
Parameters:
  group - the transition group id
Parameters:
  order - the transition priority
Parameters:
  fromAct - the from activity
Parameters:
  toAct - the to activity
Parameters:
  condType - the type of the condition
Parameters:
  condition - condition of this transition the created transition.



equals
public boolean equals(Object obj)(Code)
Indicates if some other object is equal to this one.

Note that obj may be a stub representing the object. Stubs do not in general implement equals correctly, so while this.equals(obj) does indicate the equality as defined for this class, obj.equals(this) generally does not.
Parameters:
  obj - the object to compare with. true if the other object is equal.




evalExpressions
public Serializable[] evalExpressions(Object[][] expressionData)(Code)
Evaluate the given expressions using the process specific data (the scope as returned by AbstractProcess.jsScopejsScope for JavaScript).
Parameters:
  expressionData - an array of object arrays containing the resulttype and the expression an array that contains the result of each evaluation.Note that the result may be an exception.



evalScript
public Serializable evalScript(String script) throws ScriptException(Code)
Evaluate the given script using the process specific scope as returned by AbstractProcess.jsScope jsScope .

results of type JavaScript Date are converted to Java Date.
Parameters:
  script - the script the result
throws:
  ScriptException - if evaluation fails




getPaBlockDeadlines
abstract protected Map getPaBlockDeadlines()(Code)
The getter method for the persistent attribute blockDeadlines. the value of blockDeadlines.



getPaCreateTime
abstract protected Date getPaCreateTime()(Code)
The getter method for the persistent attribute createTime. the value of createTime.



getPaId
abstract protected String getPaId()(Code)
The getter method for the persistent attribute id. the value of process id.
See Also:   AbstractProcess.setPaId



getPaPriority
abstract protected Priority getPaPriority()(Code)
The getter method for the persistent attribute priority. the value of priority.
See Also:   AbstractProcess.setPriority



getPaProcessData
abstract protected ProcessData getPaProcessData()(Code)
The getter method for the persistent attribute processData. the value of processData.



getPaProcessDef
abstract protected ProcessDefinition getPaProcessDef()(Code)
The getter method for the persistent attribute processDef. the value of processDef.
See Also:   AbstractProcess.setPaProcessDef



getPaProcessMgrName
abstract protected String getPaProcessMgrName()(Code)
The getter method for the persistent attribute processMgrName. the value of processMgrName.
See Also:   AbstractProcess.setPaProcessMgrName



getPaProcessMgrVersion
abstract protected String getPaProcessMgrVersion()(Code)
The getter method for the persistent attribute processMgrVersion. the value of processMgrVersion.
See Also:   AbstractProcess.setPaProcessMgrVersion



getPaRequester
abstract protected WfRequester getPaRequester()(Code)
The getter method for the persistent attribute requester. the value of requester.



getStateTransitionMap
protected Map getStateTransitionMap()(Code)
Returns the java.util.Map Map that maps the process states to a java.util.Map List of reachable process states.

The map returns the state transitions allowed as parameters of de.danet.an.workflow.localcoreapi.WfExecutionObjectLocal.changeStatechangeState only. I.e. the map does not reflect all possible transitions, there may be more, but those are only accessible to the workflow engine itself. the resulting map.




handleAbortedEvent
protected void handleAbortedEvent(WfStateAuditEvent event)(Code)
Handles a aborting audit event.
Parameters:
  event - the event.



handleAuditEvent
public void handleAuditEvent(WfAuditEvent event)(Code)
Handles the given audit event.
Parameters:
  event - the event.



handleCompletedEvent
protected void handleCompletedEvent(WfStateAuditEvent event)(Code)
Handles a completed audit event.
Parameters:
  event - the event.



handleException
public void handleException(ExtActivityLocal activity, String exceptionName)(Code)



handleResumedEvent
protected void handleResumedEvent(WfStateAuditEvent event)(Code)
Handles a resumed audit event.
Parameters:
  event - the event.



handleStartedEvent
protected void handleStartedEvent(WfStateAuditEvent event)(Code)
Handles a started audit event.
Parameters:
  event - the event.



handleTerminatedEvent
protected void handleTerminatedEvent(WfStateAuditEvent event)(Code)
Handles a terminated audit event.
Parameters:
  event - the event.



handleTimeout
public void handleTimeout(Serializable info)(Code)
Handle the timeout of a timer.
Parameters:
  info - the context.



init
protected void init(ProcessDefinition procDef)(Code)
Initializes the class, i.e. resets all attributes to default values. Note that AbstractProcess.refresh refresh will be called subsequently.
Parameters:
  procDef - the process definition.
See Also:   AbstractProcess.dispose



isHandled
public static boolean isHandled(WfAuditEvent event)(Code)
Check if this class handles a specific event.
Parameters:
  event - the event to check true if event is handled



jsScope
public Scriptable jsScope()(Code)
Return a scope for evaluating JavaScript. The scope includes the process relevant data as top-level variables. This scope may be used as prototype for a thread specific evaluation context only. This implies that it can not be used to modify process data. This behaviour is intended. the process specific sope.



lookupActivityLocal
abstract protected ExtActivityLocal lookupActivityLocal(String key) throws InvalidKeyException(Code)
Return an arbitrary activity with the given key. The activity need not belong to this process.
Parameters:
  key - activity key the activity
throws:
  InvalidKeyException - if the activity cannot be found



processContext
public ProcessData processContext()(Code)
Return the context of this WfExecutionObject. The process data object returned is a copy of the name value association, the values are not copied, however. the process relevant data that define the context of the process.



processDefinition
public ProcessDefinition processDefinition()(Code)
Returns the associated process defintion. the process definition



refresh
protected void refresh()(Code)
Called after change of persistent attributes. May be used to synchronise state derived from persistent attributes with the new values.
See Also:   AbstractProcess.init



removeThis
abstract protected void removeThis() throws CannotRemoveException(Code)
Remove this process. Since this involves the persistence layer, this method must be provided by the derived class.
throws:
  CannotRemoveException - if the process is still in progress



requester
public WfRequester requester()(Code)
Returns the requester for this process. Method of the omg interface. requester for this process.



requestingProcess
public Process requestingProcess()(Code)
Return the process this process is a subflow of. the process or null if this process is nota subflow



result
public ProcessData result() throws ResultNotAvailableException(Code)
The result method returns the process context. the result.
exception:
  ResultNotAvailableException - not thrown, intermediate resultsare available.



setDebugEnabled
public void setDebugEnabled(boolean debug) throws InvalidStateException(Code)
Enable or disable debugging of the activity.
Parameters:
  debug - if the activity is to be debugged
throws:
  InvalidStateException - if changing debug mode is notallowed



setPaId
abstract protected void setPaId(String newId)(Code)
The setter method for the persistent attribute Id.
Parameters:
  newId - the new value of process id.
See Also:   AbstractProcess.getPaId



setPaPriority
abstract protected void setPaPriority(Priority newPriority)(Code)
The setter method for the persistent attribute priority.
Parameters:
  newPriority - the new value of priority.
See Also:   AbstractProcess.getPaPriority



setPaProcessDef
abstract protected void setPaProcessDef(ProcessDefinition newProcessDef)(Code)
The setter method for the persistent attribute processDef.
Parameters:
  newProcessDef - the new value of processDef.
See Also:   AbstractProcess.getPaProcessDef



setPaProcessMgrName
abstract protected void setPaProcessMgrName(String newProcessMgrName)(Code)
The setter method for the persistent attribute processMgrName.
Parameters:
  newProcessMgrName - the new value of processMgrName.
See Also:   AbstractProcess.getPaProcessMgrName



setPaProcessMgrVersion
abstract protected void setPaProcessMgrVersion(String newProcessMgrVersion)(Code)
The setter method for the persistent attribute processMgrVersion.
Parameters:
  newProcessMgrVersion - the new value of processMgrVersion.
See Also:   AbstractProcess.getPaProcessMgrVersion



setProcessContext
public void setProcessContext(ProcessData newValues) throws InvalidDataException, UpdateNotAllowedException(Code)
Updates process context of the execution object.
Parameters:
  newValues - the name-value pairs to be set.
throws:
  InvalidDataException - If a name or value type does not matchthe signature of this process.
throws:
  UpdateNotAllowedException - If the update is not allowed.



setRequester
public void setRequester(WfRequester requester) throws CannotChangeRequesterException(Code)
For the first iteration throws an CannotChangeRequesterException. Method of the omg interface.
Parameters:
  requester - the requester.
throws:
  CannotChangeRequesterException - if modification is not allowed.



start
public void start() throws CannotStartException, AlreadyRunningException(Code)
Starts a process.
throws:
  CannotStartException - when the process cannot be started (e.g.,because it is not properly initialized).
throws:
  AlreadyRunningException - when the process has already been started.



steps
public Collection steps()(Code)
Returns a collection of activities of the process. This can usually be handled more efficiently by the derived class that provides the persistence. The default implementation simply wraps each local objects. collection of activities of the process



stepsLocal
abstract public Collection stepsLocal()(Code)
Returns all WfActivityLocals associated with this WfProcess. the collection of all the WfActivities.



terminate
public void terminate() throws CannotStopException, NotRunningException(Code)



toProcess
abstract public Process toProcess()(Code)
Return the remote version of this object. This may be, but need not be this, depending on the way remote objects are implemented. the client side object.



toProcessLocal
abstract public ExtProcessLocal toProcessLocal()(Code)
Return the version of this object to be passed to as local reference. the client side object.



toString
public String toString()(Code)
Return string representation for debugging purposes. a string representation.



transitionInitializer
TransitionInitializer transitionInitializer(Map actIds, Map trefs, String blkActId)(Code)
Return a new initializer with the given parameters.
Parameters:
  actIds - activity id map
Parameters:
  trefs - transition reference map
Parameters:
  blkActId - the Id of the block activity beingcreated, i.e. to which the transitions belong. the initializer



transitionManager
protected TransitionManager transitionManager()(Code)
Returns the transition manager. the transition manager



transitionsLocal
abstract public List transitionsLocal()(Code)
Returns all transitions associated with this WfProcess. the collection of all the WfActivities.



unresolvedRequester
public WfRequester unresolvedRequester()(Code)
Returns the requester for this process without resolving the internally used SubProcRequester to the associated WfActivity. requester for this process.



Methods inherited from de.danet.an.workflow.domain.AbstractExecutionObject
public void abort() throws CannotStopException, NotRunningException(Code)(Java Doc)
abstract protected WfAuditEvent auditEventBase(String eventType)(Code)(Java Doc)
public void changeState(String newState) throws InvalidStateException, TransitionNotAllowedException(Code)(Java Doc)
public void changeState(State newState) throws InvalidStateException, TransitionNotAllowedException(Code)(Java Doc)
public boolean debugEnabled()(Code)(Java Doc)
public String description()(Code)(Java Doc)
protected void dispose()(Code)(Java Doc)
protected void fireAuditEvent(WfAuditEvent event)(Code)(Java Doc)
abstract protected int getPaAuditEventSelection()(Code)(Java Doc)
abstract protected boolean getPaDebug()(Code)(Java Doc)
abstract protected String getPaDescription()(Code)(Java Doc)
abstract protected String getPaKey()(Code)(Java Doc)
abstract protected Date getPaLastStateTime()(Code)(Java Doc)
abstract protected String getPaName()(Code)(Java Doc)
abstract protected Priority getPaPriority()(Code)(Java Doc)
abstract protected boolean getPaStoreAuditEvents()(Code)(Java Doc)
abstract protected State getPaTypedState()(Code)(Java Doc)
abstract protected Map getStateTransitionMap()(Code)(Java Doc)
protected void handleAbortedEvent(WfStateAuditEvent event)(Code)(Java Doc)
public void handleAuditEvent(WfAuditEvent event)(Code)(Java Doc)
protected void handleCompletedEvent(WfStateAuditEvent event)(Code)(Java Doc)
protected void handleImplCompletedEvent(ImplCompleteAuditEvent event)(Code)(Java Doc)
protected void handleResumedEvent(WfStateAuditEvent event)(Code)(Java Doc)
protected void handleStartedEvent(WfStateAuditEvent event)(Code)(Java Doc)
protected void handleStateAuditEvent(WfAuditEvent event)(Code)(Java Doc)
protected void handleSuspendedEvent(WfStateAuditEvent event)(Code)(Java Doc)
protected void handleTerminatedEvent(WfStateAuditEvent event)(Code)(Java Doc)
protected void handleToolInvocationFailedAuditEvent(ToolInvocationFailedAuditEvent event)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
abstract public Collection history() throws HistoryNotAvailableException(Code)(Java Doc)
public State howClosed()(Code)(Java Doc)
protected void init()(Code)(Java Doc)
public String key()(Code)(Java Doc)
public Date lastStateTime()(Code)(Java Doc)
public String name()(Code)(Java Doc)
public int priority()(Code)(Java Doc)
protected void refresh()(Code)(Java Doc)
public void resume() throws CannotResumeException, NotRunningException, NotSuspendedException(Code)(Java Doc)
public void setDebugEnabled(boolean debug) throws InvalidStateException(Code)(Java Doc)
public void setDescription(String newValue)(Code)(Java Doc)
public void setName(String newValue)(Code)(Java Doc)
abstract protected void setPaAuditEventSelection(int newAuditEventSelection)(Code)(Java Doc)
abstract protected void setPaDebug(boolean newDebug)(Code)(Java Doc)
abstract protected void setPaDescription(String newDescription)(Code)(Java Doc)
abstract protected void setPaLastStateTime(Date newLastStateTime)(Code)(Java Doc)
abstract protected void setPaName(String newName)(Code)(Java Doc)
abstract protected void setPaPriority(Priority newPriority)(Code)(Java Doc)
abstract protected void setPaStoreAuditEvents(boolean newStoreAuditEvents)(Code)(Java Doc)
abstract protected void setPaTypedState(State newTypedState)(Code)(Java Doc)
public void setPriority(int newValue) throws InvalidPriorityException, UpdateNotAllowedException(Code)(Java Doc)
public void setProcessContext(ProcessData newValues) throws InvalidDataException, UpdateNotAllowedException(Code)(Java Doc)
public String state()(Code)(Java Doc)
public void suspend() throws CannotSuspendException, NotRunningException, AlreadySuspendedException(Code)(Java Doc)
public void terminate() throws CannotStopException, NotRunningException(Code)(Java Doc)
public State typedState()(Code)(Java Doc)
protected void updateImmediate(State newState)(Code)(Java Doc)
protected void updateInterim(State newState)(Code)(Java Doc)
protected void updateState(State newState)(Code)(Java Doc)
public Collection validStates()(Code)(Java Doc)
protected Collection validTypedStates()(Code)(Java Doc)
public State whileOpen()(Code)(Java Doc)
public State whyNotRunning()(Code)(Java Doc)
public State workflowState()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.