Java Doc for WfActivityEJB.java in  » Workflow-Engines » wfmopen-2.1.1 » de » danet » an » workflow » ejbs » core » 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.ejbs.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


de.danet.an.workflow.domain.AbstractActivity
   de.danet.an.workflow.ejbs.core.WfActivityEJB

WfActivityEJB
public class WfActivityEJB extends AbstractActivity implements EntityBean,TimedObject(Code)
The entity bean WfActivityEJB represent a activity. AbstractActivity represents a simple implementation of the interface ActivityLocal Activity . It has the following additional features:
  • Support for transition restrictions of type SPLIT or JOIN.




Method Summary
public  ActivityFinderactivityFinder()
     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  WfAuditEventauditEventBase()
     Returns a WfAuditEvent containing information about the activity and its container, only.
public  WfProcesscontainer()
     Returns the WfProcess that this activity is a part of.
protected  WfAuditEventcontainerAuditEventBase()
     Returns an WfAuditEvent containing container-related information.
public  WfProcessLocalcontainerLocal()
     Returns the WfProcessLocal that this activity is a part of.
public  voidejbActivate()
     The activate method is called when the instance is activated from its "passive" state.
public  LongejbCreate(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  LongejbFindByActivityKey(String key)
     This method looks up an activity by its de.danet.an.workflow.localcoreapi.WfActivityLocal.key key .
public  LongejbFindByPrimaryKey(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  CollectionejbFindByProcess(Long primaryKey)
     This method retrieve the activities of a process.
Parameters:
  primaryKey - The process primary key.
public  LongejbFindByWaitingOn(Long processId, String channel)
     This method looks up an activity by its its container and waiting on attribute.
public  voidejbLoad()
     A container invokes this method to synchronize the state of an enterprise bean instance with the entity object's state in the database.
public  voidejbPassivate()
     The passivate method is called before the instance enters the "passive" state.
public  voidejbPostCreate(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  voidejbRemove()
     A container invokes this method before it ends the life of the session object.
public  voidejbStore()
     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  voidejbTimeout(Timer timer)
     Handle the timeout of a timer.
public  booleanequals(Object obj)
     Indicates if some other object is equal to this one.
protected  voidfireAuditEvent(WfAuditEvent evt)
     Process newly generated event.
protected  Implementation[]getPaActImpl()
     The getter method implementation for the persistent attribute actImpl.
protected  intgetPaAuditEventSelection()
     The getter method implementation for the persistent attribute auditEventSelection.
protected  LonggetPaBlockActivity()
     The getter method implementation for the persistent attribute blockActivity.
protected  ListgetPaDeadlines()
     The getter method implementation for the persistent attribute deadlines.
protected  booleangetPaDebug()
     The getter method implementation for the persistent attribute debug.
protected  booleangetPaDeferChoiceOnSplit()
     The getter method implementation for the persistent attribute deferChoiceOnSplit.
protected  StringgetPaDescription()
     The getter method implementation for the persistent attribute description.
protected  IntegergetPaExecStat()
     The getter method implementation for the persistent attribute executor.
protected  StartFinishModegetPaFinishMode()
     The getter method implementation for the persistent attribute finishMode.
protected  JoinAndSplitModegetPaJoinMode()
     The getter method implementation for the persistent attribute joinMode.
protected  StringgetPaKey()
     The getter method implementation for the persistent attribute key.
protected  DategetPaLastStateTime()
     The getter method implementation for the persistent attribute lastStateTime.
protected  StringgetPaName()
     The getter method implementation for the persistent attribute name.
protected  booleangetPaNoAssignments()
     The getter method implementation for the persistent attribute noAssignments.
protected  StringgetPaPendingException()
     The getter method implementation for the persistent attribute pendingException.
protected  booleangetPaPendingExceptionIsFromBlock()
     The getter method for the persistent flag pendingExceptionIsFromBlock.
protected  StringgetPaPerformer()
     The getter method implementation for the persistent attribute performer.
protected  booleangetPaPreliminarilyChosen()
     The getter method implementation for the persistent attribute preliminaryChosen.
protected  PrioritygetPaPriority()
     The getter method implementation for the persistent attribute priority.
protected  StringgetPaProcessKey()
     The getter method implementation for the persistent read-only attribute processKey.
protected  StringgetPaProcessMgrName()
     The getter method implementation for the persistent read-only attribute processMgrName.
protected  StringgetPaProcessMgrVersion()
     The getter method implementation for the persistent read-only attribute processMgrVersion.
protected  StringgetPaProcessName()
     The getter method implementation for the persistent read-only attribute processName.
protected  JoinAndSplitModegetPaSplitMode()
     The getter method implementation for the persistent attribute splitMode.
protected  StartFinishModegetPaStartMode()
     The getter method implementation for the persistent attribute startMode.
protected  DategetPaStartTime()
     The getter method implementation for the persistent attribute startTime.
protected  booleangetPaStoreAuditEvents()
     The getter method implementation for the persistent attribute storeAuditEvents.
protected  intgetPaSubStateBackup()
     The getter method implementation for the persistent attribute subStateBackup.
protected  StringgetPaSubflow()
     The getter method implementation for the persistent attribute Subflow.
protected  longgetPaSuspendAccum()
     The getter method implementation for the persistent attribute suspendAccum.
protected  DategetPaSuspendStart()
     The getter method implementation for the persistent attribute suspendStart.
protected  ThreadInfogetPaThreadInfo()
     The getter method implementation for the persistent attribute threadInfo.
protected  StategetPaTypedState()
     The getter method implementation for the persistent attribute typedState.
protected  StringgetPaWaitOnChan()
     The getter method implementation for the persistent attribute waitOnChan.
protected  LonggetPaWaitOnProc()
     The getter method implementation for the persistent attribute waitOnProc.
public  inthashCode()
    
public  Collectionhistory()
     Returns a collection of WfAuditEvents associated with this process describing its history.
public  booleanisMemberOfAssignments(WfAssignment member)
     Check if the given assignment is among the assignments of this activity.
Parameters:
  member - the assignment in question.
public  booleanisMemberOfPerformers(WfProcess member)
     Check if the given process is among the performers of this requester.
Parameters:
  member - the process in question.
protected  ExtProcessLocallookupProcessLocal(String key)
     Lookup a process by its key.
public  ListnextActivities()
     Returns the list of activities that may follow this activity, i.e.
protected  RASInvocationHandlerrasInvocationHandler()
     Get the resource assignment invocation handler.
public  voidsetEntityContext(EntityContext context)
     Set the associated session context.
protected  voidsetPaActImpl(Implementation[] newActImpl)
     The setter method implementation for the persistent attribute actImpl.
protected  voidsetPaAuditEventSelection(int newValue)
     The setter method implementation for the persistent attribute auditEventSelection.
protected  voidsetPaBlockActivity(Long newBlockActivity)
     The setter method implementation for the persistent attribute blockActivity.
protected  voidsetPaDeadlines(List newDeadlines)
     The setter method implementation for the persistent attribute deadlines.
protected  voidsetPaDebug(boolean newDebug)
     The setter method implementation for the persistent attribute debug.
protected  voidsetPaDeferChoiceOnSplit(boolean newDeferChoiceOnSplit)
     The setter method implementation for the persistent attribute deferChoiceOnSplit.
protected  voidsetPaDescription(String newDescription)
     The setter method implementation for the persistent attribute description.
protected  voidsetPaExecStat(Integer newExecutor)
     The setter method implementation for the persistent attribute executor.
protected  voidsetPaFinishMode(StartFinishMode newFinishMode)
     The setter method implementation for the persistent attribute finishMode.
protected  voidsetPaJoinMode(JoinAndSplitMode newJoinMode)
     The setter method implementation for the persistent attribute joinMode.
protected  voidsetPaLastStateTime(Date newLastStateTime)
     The setter method implementation for the persistent attribute lastStateTime.
protected  voidsetPaName(String newName)
     The setter method implementation for the persistent attribute name.
protected  voidsetPaNoAssignments(boolean newNoAssignments)
     The setter method implementation for the persistent attribute noAssignments.
protected  voidsetPaPendingException(String newPendingException)
     The setter method implementation for the persistent attribute pendingException.
protected  voidsetPaPendingExceptionIsFromBlock(boolean newValue)
     The setter method for the persistent flags pendingExceptionIsFromBlock.
protected  voidsetPaPerformer(String newPerformer)
     The setter method implementation for the persistent attribute performer.
protected  voidsetPaPreliminarilyChosen(boolean newPreliminarilyChosen)
     The setter method implementation for the persistent attribute preliminaryChosen.
protected  voidsetPaPriority(Priority newPriority)
     The setter method implementation for the persistent attribute priority.
protected  voidsetPaSplitMode(JoinAndSplitMode newSplitMode)
     The setter method implementation for the persistent attribute splitMode.
protected  voidsetPaStartMode(StartFinishMode newStartMode)
     The setter method implementation for the persistent attribute startMode.
protected  voidsetPaStartTime(Date newStartTime)
     The setter method implementation for the persistent attribute startTime.
protected  voidsetPaStoreAuditEvents(boolean newValue)
     The setter method implementation for the persistent attribute storeAuditEvents.
protected  voidsetPaSubStateBackup(int newSubStateBackup)
     The setter method implementation for the persistent attribute subStateBackup.
protected  voidsetPaSubflow(String newSubflow)
     The setter method implementation for the persistent attribute Subflow.
protected  voidsetPaSuspendAccum(long newSuspendAccum)
     The setter method implementation for the persistent attribute suspendAccum.
protected  voidsetPaSuspendStart(Date newSuspendStart)
     The setter method implementation for the persistent attribute suspendStart.
protected  voidsetPaThreadInfo(ThreadInfo newThreadInfo)
     The setter method implementation for the persistent attribute threadInfo.
protected  voidsetPaTypedState(State newTypedState)
     The setter method implementation for the persistent attribute typedState.
protected  voidsetPaWaitOnChan(String newWaitOnChan)
     The setter method implementation for the persistent attribute waitOnChan.
protected  voidsetPaWaitOnProc(Long newWaitOnProc)
     The setter method implementation for the persistent attribute waitOnProc.
public  voidstartTimer(Date due, Serializable info)
     Start a timer that will call handleTimeout at the given date with the given info.
public  voidstopTimers()
     Stop all timers that this object has created.
public  ActivitytoActivity()
     Return the remote version of this object.
public  ExtActivityLocaltoActivityLocal()
    
protected  ToolInvocationHandlertoolInvocationHandler()
     Return a ToolInvocationHandler.
public  voidunsetEntityContext()
     Unset the associated session context.
public  voidupdateProcessName(String newName)
     Updates the process name (which is cached by the activity EJB) if the process name changes.



Method Detail
activityFinder
public ActivityFinder activityFinder()(Code)
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 . the activity finder.



auditEventBase
public WfAuditEvent auditEventBase()(Code)
Returns a WfAuditEvent containing information about the activity and its container, only. the event containing the required information.



container
public WfProcess container()(Code)
Returns the WfProcess that this activity is a part of. the process.



containerAuditEventBase
protected WfAuditEvent containerAuditEventBase()(Code)
Returns an WfAuditEvent containing container-related information. the audit event



containerLocal
public WfProcessLocal containerLocal()(Code)
Returns the WfProcessLocal that this activity is a part of. the process.



ejbActivate
public void ejbActivate()(Code)
The activate method is called when the instance is activated from its "passive" state. The instance should acquire any resource that it has released earlier in the ejbPassivate() method. This method gets the primary key from container.
See Also:   javax.ejb.EntityBean



ejbCreate
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) throws CreateException(Code)
Create a new activity and save it into database.
Parameters:
  process - the containing process
Parameters:
  procPk - pk of process.
Parameters:
  evtBase - the base data for an audit event.
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:
  deferChoiceOnSplit - if the eventual choice of thesubsequent activity is to be deferred
Parameters:
  auditEventSelection - the audit event selection
Parameters:
  storeAuditEvents - if true, audit events are stored in thedatabase primary key of the activity.
throws:
  CreateException - if the activity can not be create.



ejbFindByActivityKey
public Long ejbFindByActivityKey(String key) throws FinderException(Code)
This method looks up an activity by its de.danet.an.workflow.localcoreapi.WfActivityLocal.key key .
Parameters:
  key - the activity key the activity EJB's primary key
throws:
  FinderException - if no activity found



ejbFindByPrimaryKey
public Long ejbFindByPrimaryKey(Long primaryKey) throws FinderException(Code)
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. The activity-key
throws:
  FinderException - (ObjectNotFoundException)if no activity found.



ejbFindByProcess
public Collection ejbFindByProcess(Long primaryKey) throws FinderException(Code)
This method retrieve the activities of a process.
Parameters:
  primaryKey - The process primary key. Collection with whe activity-keys
throws:
  FinderException - will not be thrown.If no activities found, return a empty collection.



ejbFindByWaitingOn
public Long ejbFindByWaitingOn(Long processId, String channel) throws FinderException(Code)
This method looks up an activity by its its container and waiting on attribute.
Parameters:
  processId - the containing process' id
Parameters:
  channel - the channel the activity is waiting on the activity EJB's primary key
throws:
  FinderException - if no activity found.



ejbLoad
public void ejbLoad()(Code)
A container invokes this method to synchronize the state of an enterprise bean instance with the entity object's state in the database.
See Also:   javax.ejb.EntityBean



ejbPassivate
public void ejbPassivate()(Code)
The passivate method is called before the instance enters the "passive" state. The instance should release any resources that it can re-acquire later in the ejbActivate() method.
See Also:   javax.ejb.EntityBean



ejbPostCreate
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) throws CreateException(Code)
Create a new activity with activity modes, join modes and save it into database.
Parameters:
  process - the containing process
Parameters:
  procPk - pk of process
Parameters:
  evtBase - the base data for an audit event.
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:
  deferChoiceOnSplit - if the eventual choice of thesubsequent activity is to be deferred
Parameters:
  auditEventSelection - the audit event selection
Parameters:
  storeAuditEvents - if true, audit events are stored in thedatabase
throws:
  CreateException - if the activity can not be create.



ejbRemove
public void ejbRemove() throws RemoveException(Code)
A container invokes this method before it ends the life of the session object. This happens as a result of a client's invoking a remove operation, or when a container decides to terminate the session object after a timeout.
throws:
  RemoveException - if the activity is not closed.
See Also:   javax.ejb.EntityBean



ejbStore
public void ejbStore()(Code)
A container invokes this method to synchronize the state of the entity object in the database with the state of the enterprise bean instancee.
See Also:   javax.ejb.EntityBean



ejbTimeout
public void ejbTimeout(Timer timer)(Code)
Handle the timeout of a timer.
Parameters:
  timer - the timer that has expired.



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

Note that obj must implement the activity's remote interface. Comparing a domain object usually indicates some violation of the constraints of our implementation environment.
Parameters:
  obj - the object to compare with. true if the other object is equal.




fireAuditEvent
protected void fireAuditEvent(WfAuditEvent evt)(Code)
Process newly generated event.
Parameters:
  evt - Event



getPaActImpl
protected Implementation[] getPaActImpl()(Code)
The getter method implementation for the persistent attribute actImpl.
See Also:   WfActivityEJB.setPaActImpl the value of actImpl.



getPaAuditEventSelection
protected int getPaAuditEventSelection()(Code)
The getter method implementation for the persistent attribute auditEventSelection.
See Also:   WfActivityEJB.setPaAuditEventSelection the value of auditEventSelection.



getPaBlockActivity
protected Long getPaBlockActivity()(Code)
The getter method implementation for the persistent attribute blockActivity.
See Also:   WfActivityEJB.setPaBlockActivity the value of blockActivity.



getPaDeadlines
protected List getPaDeadlines()(Code)
The getter method implementation for the persistent attribute deadlines.
See Also:   WfActivityEJB.setPaDeadlines the value of deadlines.



getPaDebug
protected boolean getPaDebug()(Code)
The getter method implementation for the persistent attribute debug.
See Also:   WfActivityEJB.setPaDebug the value of debug.



getPaDeferChoiceOnSplit
protected boolean getPaDeferChoiceOnSplit()(Code)
The getter method implementation for the persistent attribute deferChoiceOnSplit.
See Also:   WfActivityEJB.setPaDeferChoiceOnSplit the value of deferChoiceOnSplit.



getPaDescription
protected String getPaDescription()(Code)
The getter method implementation for the persistent attribute description.
See Also:   WfActivityEJB.setPaDescription the value of description.



getPaExecStat
protected Integer getPaExecStat()(Code)
The getter method implementation for the persistent attribute executor.
See Also:   WfActivityEJB.setPaExecStat the value of executor.



getPaFinishMode
protected StartFinishMode getPaFinishMode()(Code)
The getter method implementation for the persistent attribute finishMode.
See Also:   WfActivityEJB.setPaFinishMode the value of finishMode.



getPaJoinMode
protected JoinAndSplitMode getPaJoinMode()(Code)
The getter method implementation for the persistent attribute joinMode.
See Also:   WfActivityEJB.setPaJoinMode the value of joinMode.



getPaKey
protected String getPaKey()(Code)
The getter method implementation for the persistent attribute key. the value of key.



getPaLastStateTime
protected Date getPaLastStateTime()(Code)
The getter method implementation for the persistent attribute lastStateTime.
See Also:   WfActivityEJB.setPaLastStateTime the value of lastStateTime.



getPaName
protected String getPaName()(Code)
The getter method implementation for the persistent attribute name.
See Also:   WfActivityEJB.setPaName the value of name.



getPaNoAssignments
protected boolean getPaNoAssignments()(Code)
The getter method implementation for the persistent attribute noAssignments.
See Also:   WfActivityEJB.setPaNoAssignments the value of noAssignments.



getPaPendingException
protected String getPaPendingException()(Code)
The getter method implementation for the persistent attribute pendingException.
See Also:   WfActivityEJB.setPaPendingException the value of pendingException.



getPaPendingExceptionIsFromBlock
protected boolean getPaPendingExceptionIsFromBlock()(Code)
The getter method for the persistent flag pendingExceptionIsFromBlock. the value of the flag.
See Also:   WfActivityEJB.setPaPendingExceptionIsFromBlock



getPaPerformer
protected String getPaPerformer()(Code)
The getter method implementation for the persistent attribute performer.
See Also:   WfActivityEJB.setPaPerformer the value of performer.



getPaPreliminarilyChosen
protected boolean getPaPreliminarilyChosen()(Code)
The getter method implementation for the persistent attribute preliminaryChosen.
See Also:   WfActivityEJB.setPaPreliminarilyChosen the value of preliminarilyChosen.



getPaPriority
protected Priority getPaPriority()(Code)
The getter method implementation for the persistent attribute priority.
See Also:   WfActivityEJB.setPaPriority the value of priority.



getPaProcessKey
protected String getPaProcessKey()(Code)
The getter method implementation for the persistent read-only attribute processKey. the value of processKey.



getPaProcessMgrName
protected String getPaProcessMgrName()(Code)
The getter method implementation for the persistent read-only attribute processMgrName. the value of processMgrName.



getPaProcessMgrVersion
protected String getPaProcessMgrVersion()(Code)
The getter method implementation for the persistent read-only attribute processMgrVersion. the value of processMgrVersion.



getPaProcessName
protected String getPaProcessName()(Code)
The getter method implementation for the persistent read-only attribute processName. the value of processName.



getPaSplitMode
protected JoinAndSplitMode getPaSplitMode()(Code)
The getter method implementation for the persistent attribute splitMode.
See Also:   WfActivityEJB.setPaSplitMode the value of splitMode.



getPaStartMode
protected StartFinishMode getPaStartMode()(Code)
The getter method implementation for the persistent attribute startMode.
See Also:   WfActivityEJB.setPaStartMode the value of startMode.



getPaStartTime
protected Date getPaStartTime()(Code)
The getter method implementation for the persistent attribute startTime.
See Also:   WfActivityEJB.setPaStartTime the value of startTime.



getPaStoreAuditEvents
protected boolean getPaStoreAuditEvents()(Code)
The getter method implementation for the persistent attribute storeAuditEvents.
See Also:   WfActivityEJB.setPaStoreAuditEvents the value of storeAuditEvents.



getPaSubStateBackup
protected int getPaSubStateBackup()(Code)
The getter method implementation for the persistent attribute subStateBackup.
See Also:   WfActivityEJB.setPaSubStateBackup the value of subStateBackup.



getPaSubflow
protected String getPaSubflow()(Code)
The getter method implementation for the persistent attribute Subflow.
See Also:   WfActivityEJB.setPaSubflow the value of Subflow.



getPaSuspendAccum
protected long getPaSuspendAccum()(Code)
The getter method implementation for the persistent attribute suspendAccum.
See Also:   WfActivityEJB.setPaSuspendAccum the value of suspendAccum.



getPaSuspendStart
protected Date getPaSuspendStart()(Code)
The getter method implementation for the persistent attribute suspendStart.
See Also:   WfActivityEJB.setPaSuspendStart the value of suspendStart.



getPaThreadInfo
protected ThreadInfo getPaThreadInfo()(Code)
The getter method implementation for the persistent attribute threadInfo.
See Also:   WfActivityEJB.setPaThreadInfo the value of threadInfo.



getPaTypedState
protected State getPaTypedState()(Code)
The getter method implementation for the persistent attribute typedState.
See Also:   WfActivityEJB.setPaTypedState the value of typedState.



getPaWaitOnChan
protected String getPaWaitOnChan()(Code)
The getter method implementation for the persistent attribute waitOnChan.
See Also:   WfActivityEJB.setPaWaitOnChan the value of waitOnChan.



getPaWaitOnProc
protected Long getPaWaitOnProc()(Code)
The getter method implementation for the persistent attribute waitOnProc.
See Also:   WfActivityEJB.setPaWaitOnProc the value of waitOnProc.



hashCode
public int hashCode()(Code)
Return the hash code.

the result.




history
public Collection history() throws HistoryNotAvailableException(Code)
Returns a collection of WfAuditEvents associated with this process describing its history. the collection of audit events
throws:
  HistoryNotAvailableException - in case the history is not available for any reason



isMemberOfAssignments
public boolean isMemberOfAssignments(WfAssignment member)(Code)
Check if the given assignment is among the assignments of this activity.
Parameters:
  member - the assignment in question. true if the assignment is among the assignments of this activity.



isMemberOfPerformers
public boolean isMemberOfPerformers(WfProcess member)(Code)
Check if the given process is among the performers of this requester.
Parameters:
  member - the process in question. true if the process is among the performers of this requester.



lookupProcessLocal
protected ExtProcessLocal lookupProcessLocal(String key) throws InvalidKeyException(Code)
Lookup a process by its key.
Parameters:
  key - the primary key the process
throws:
  RemoteException - if a system-level error occurs
throws:
  InvalidKeyException - if no process with the given keyexists



nextActivities
public List nextActivities()(Code)
Returns the list of activities that may follow this activity, i.e. to which transitions exist. The list follows the order of transitions as returend by the container. the list of de.danet.an.workflow.domain Activity Activity objects.



rasInvocationHandler
protected RASInvocationHandler rasInvocationHandler()(Code)
Get the resource assignment invocation handler. the configured resource assignment invocation handler.



setEntityContext
public void setEntityContext(EntityContext context)(Code)
Set the associated session context. The container calls this method after the instance creation.
See Also:   javax.ejb.EntityBean
Parameters:
  context - - A SessionContext interface for the instance



setPaActImpl
protected void setPaActImpl(Implementation[] newActImpl)(Code)
The setter method implementation for the persistent attribute actImpl.
Parameters:
  newActImpl - the new value of actImpl.
See Also:   WfActivityEJB.getPaActImpl



setPaAuditEventSelection
protected void setPaAuditEventSelection(int newValue)(Code)
The setter method implementation for the persistent attribute auditEventSelection.
Parameters:
  newValue - the new value of auditEventSelection.
See Also:   WfActivityEJB.getPaAuditEventSelection



setPaBlockActivity
protected void setPaBlockActivity(Long newBlockActivity)(Code)
The setter method implementation for the persistent attribute blockActivity. May only be used in base class' init.
Parameters:
  newBlockActivity - the new value of blockActivity.
See Also:   WfActivityEJB.getPaBlockActivity



setPaDeadlines
protected void setPaDeadlines(List newDeadlines)(Code)
The setter method implementation for the persistent attribute deadlines.
Parameters:
  newDeadlines - the new value of deadlines.
See Also:   WfActivityEJB.getPaDeadlines



setPaDebug
protected void setPaDebug(boolean newDebug)(Code)
The setter method implementation for the persistent attribute debug.
Parameters:
  newDebug - the new value of debug.
See Also:   WfActivityEJB.getPaDebug



setPaDeferChoiceOnSplit
protected void setPaDeferChoiceOnSplit(boolean newDeferChoiceOnSplit)(Code)
The setter method implementation for the persistent attribute deferChoiceOnSplit.
Parameters:
  newDeferChoiceOnSplit - the new value of deferChoiceOnSplit.
See Also:   WfActivityEJB.getPaDeferChoiceOnSplit



setPaDescription
protected void setPaDescription(String newDescription)(Code)
The setter method implementation for the persistent attribute description.
Parameters:
  newDescription - the new value of description.
See Also:   WfActivityEJB.getPaDescription



setPaExecStat
protected void setPaExecStat(Integer newExecutor)(Code)
The setter method implementation for the persistent attribute executor.
Parameters:
  newExecutor - the new value of executor.
See Also:   WfActivityEJB.getPaExecStat



setPaFinishMode
protected void setPaFinishMode(StartFinishMode newFinishMode)(Code)
The setter method implementation for the persistent attribute finishMode.
Parameters:
  newFinishMode - the new value of finishMode.
See Also:   WfActivityEJB.getPaFinishMode



setPaJoinMode
protected void setPaJoinMode(JoinAndSplitMode newJoinMode)(Code)
The setter method implementation for the persistent attribute joinMode.
Parameters:
  newJoinMode - the new value of joinMode.
See Also:   WfActivityEJB.getPaJoinMode



setPaLastStateTime
protected void setPaLastStateTime(Date newLastStateTime)(Code)
The setter method implementation for the persistent attribute lastStateTime.
Parameters:
  newLastStateTime - the new value of lastStateTime.
See Also:   WfActivityEJB.getPaLastStateTime



setPaName
protected void setPaName(String newName)(Code)
The setter method implementation for the persistent attribute name.
Parameters:
  newName - the new value of name.
See Also:   WfActivityEJB.getPaName



setPaNoAssignments
protected void setPaNoAssignments(boolean newNoAssignments)(Code)
The setter method implementation for the persistent attribute noAssignments.
Parameters:
  newNoAssignments - the new value of noAssignments.
See Also:   WfActivityEJB.getPaNoAssignments



setPaPendingException
protected void setPaPendingException(String newPendingException)(Code)
The setter method implementation for the persistent attribute pendingException.
Parameters:
  newPendingException - the new value of pendingException.
See Also:   WfActivityEJB.getPaPendingException



setPaPendingExceptionIsFromBlock
protected void setPaPendingExceptionIsFromBlock(boolean newValue)(Code)
The setter method for the persistent flags pendingExceptionIsFromBlock.
Parameters:
  newValue - the new value of the flag.
See Also:   WfActivityEJB.getPaPendingExceptionIsFromBlock



setPaPerformer
protected void setPaPerformer(String newPerformer)(Code)
The setter method implementation for the persistent attribute performer.
Parameters:
  newPerformer - the new value of performer.
See Also:   WfActivityEJB.getPaPerformer



setPaPreliminarilyChosen
protected void setPaPreliminarilyChosen(boolean newPreliminarilyChosen)(Code)
The setter method implementation for the persistent attribute preliminaryChosen.
Parameters:
  newPreliminarilyChosen - the new value of preliminarilyChosen.
See Also:   WfActivityEJB.getPaPreliminarilyChosen



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



setPaSplitMode
protected void setPaSplitMode(JoinAndSplitMode newSplitMode)(Code)
The setter method implementation for the persistent attribute splitMode.
Parameters:
  newSplitMode - the new value of splitMode.
See Also:   WfActivityEJB.getPaSplitMode



setPaStartMode
protected void setPaStartMode(StartFinishMode newStartMode)(Code)
The setter method implementation for the persistent attribute startMode.
Parameters:
  newStartMode - the new value of startMode.
See Also:   WfActivityEJB.getPaStartMode



setPaStartTime
protected void setPaStartTime(Date newStartTime)(Code)
The setter method implementation for the persistent attribute startTime.
Parameters:
  newStartTime - the new value of startTime.
See Also:   WfActivityEJB.getPaStartTime



setPaStoreAuditEvents
protected void setPaStoreAuditEvents(boolean newValue)(Code)
The setter method implementation for the persistent attribute storeAuditEvents.
Parameters:
  newValue - the new value of storeAuditEvents.
See Also:   WfActivityEJB.getPaStoreAuditEvents



setPaSubStateBackup
protected void setPaSubStateBackup(int newSubStateBackup)(Code)
The setter method implementation for the persistent attribute subStateBackup.
Parameters:
  newSubStateBackup - the new value of subStateBackup.
See Also:   WfActivityEJB.getPaSubStateBackup



setPaSubflow
protected void setPaSubflow(String newSubflow)(Code)
The setter method implementation for the persistent attribute Subflow.
Parameters:
  newSubflow - the new value of Subflow.
See Also:   WfActivityEJB.getPaSubflow



setPaSuspendAccum
protected void setPaSuspendAccum(long newSuspendAccum)(Code)
The setter method implementation for the persistent attribute suspendAccum.
Parameters:
  newSuspendAccum - the new value of suspendAccum.
See Also:   WfActivityEJB.getPaSuspendAccum



setPaSuspendStart
protected void setPaSuspendStart(Date newSuspendStart)(Code)
The setter method implementation for the persistent attribute suspendStart.
Parameters:
  newSuspendStart - the new value of suspendStart.
See Also:   WfActivityEJB.getPaSuspendStart



setPaThreadInfo
protected void setPaThreadInfo(ThreadInfo newThreadInfo)(Code)
The setter method implementation for the persistent attribute threadInfo.
Parameters:
  newThreadInfo - the new value of threadInfo.
See Also:   WfActivityEJB.getPaThreadInfo



setPaTypedState
protected void setPaTypedState(State newTypedState)(Code)
The setter method implementation for the persistent attribute typedState.
Parameters:
  newTypedState - the new value of typedState.
See Also:   WfActivityEJB.getPaTypedState



setPaWaitOnChan
protected void setPaWaitOnChan(String newWaitOnChan)(Code)
The setter method implementation for the persistent attribute waitOnChan.
Parameters:
  newWaitOnChan - the new value of waitingOn.
See Also:   WfActivityEJB.getPaWaitOnChan



setPaWaitOnProc
protected void setPaWaitOnProc(Long newWaitOnProc)(Code)
The setter method implementation for the persistent attribute waitOnProc.
Parameters:
  newWaitOnProc - the new value of waitingOn.
See Also:   WfActivityEJB.getPaWaitOnProc



startTimer
public void startTimer(Date due, Serializable info)(Code)
Start a timer that will call handleTimeout at the given date with the given info.
Parameters:
  due - target date
Parameters:
  info - the context



stopTimers
public void stopTimers()(Code)
Stop all timers that this object has created.



toActivity
public Activity toActivity()(Code)
Return the remote version of this object. This is the client side implementation of the remote interface (i.e. the EJB object). the remote stub.



toActivityLocal
public ExtActivityLocal toActivityLocal()(Code)



toolInvocationHandler
protected ToolInvocationHandler toolInvocationHandler()(Code)
Return a ToolInvocationHandler. a handler.



unsetEntityContext
public void unsetEntityContext()(Code)
Unset the associated session context.
See Also:   javax.ejb.EntityBean



updateProcessName
public void updateProcessName(String newName)(Code)
Updates the process name (which is cached by the activity EJB) if the process name changes.
Parameters:
  newName - the new process name.



Methods inherited from de.danet.an.workflow.domain.AbstractActivity
public void abandon(String exception) throws TransitionNotAllowedException(Code)(Java Doc)
public void abandon(ExceptionResult result) throws TransitionNotAllowedException(Code)(Java Doc)
public void abort() throws CannotStopException, NotRunningException(Code)(Java Doc)
public void abortRequester()(Code)(Java Doc)
abstract public ActivityFinder activityFinder()(Code)(Java Doc)
public Info activityInfo()(Code)(Java Doc)
public Collection assignments()(Code)(Java Doc)
protected WfAuditEvent auditEventBase(String eventType)(Code)(Java Doc)
protected void autoAssignResources()(Code)(Java Doc)
public String blockActivity()(Code)(Java Doc)
public void changeAssignment(WfResource oldResource, WfResource newResource) throws InvalidResourceException, AlreadyAssignedException, NotAssignedException(Code)(Java Doc)
public void changeState(State newState) throws InvalidStateException, TransitionNotAllowedException(Code)(Java Doc)
public boolean choose() throws TransitionNotAllowedException(Code)(Java Doc)
public void complete() throws CannotCompleteException(Code)(Java Doc)
abstract protected WfAuditEvent containerAuditEventBase()(Code)(Java Doc)
abstract public WfProcessLocal containerLocal()(Code)(Java Doc)
public DeadlineInfo[] deadlines()(Code)(Java Doc)
public boolean deferChoiceOnSplit()(Code)(Java Doc)
protected void dispose()(Code)(Java Doc)
public void doCloseActivity(State closedState)(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public Implementation executor()(Code)(Java Doc)
protected StartFinishMode finishMode()(Code)(Java Doc)
abstract protected Implementation[] getPaActImpl()(Code)(Java Doc)
abstract protected Long getPaBlockActivity()(Code)(Java Doc)
abstract protected List getPaDeadlines()(Code)(Java Doc)
abstract protected boolean getPaDeferChoiceOnSplit()(Code)(Java Doc)
abstract protected Integer getPaExecStat()(Code)(Java Doc)
abstract protected StartFinishMode getPaFinishMode()(Code)(Java Doc)
abstract protected JoinAndSplitMode getPaJoinMode()(Code)(Java Doc)
abstract protected boolean getPaNoAssignments()(Code)(Java Doc)
abstract protected String getPaPendingException()(Code)(Java Doc)
abstract protected boolean getPaPendingExceptionIsFromBlock()(Code)(Java Doc)
abstract protected String getPaPerformer()(Code)(Java Doc)
abstract protected boolean getPaPreliminarilyChosen()(Code)(Java Doc)
protected String getPaProcessKey()(Code)(Java Doc)
protected String getPaProcessMgrName()(Code)(Java Doc)
protected String getPaProcessMgrVersion()(Code)(Java Doc)
protected String getPaProcessName()(Code)(Java Doc)
abstract protected JoinAndSplitMode getPaSplitMode()(Code)(Java Doc)
abstract protected StartFinishMode getPaStartMode()(Code)(Java Doc)
abstract protected Date getPaStartTime()(Code)(Java Doc)
abstract protected int getPaSubStateBackup()(Code)(Java Doc)
abstract protected String getPaSubflow()(Code)(Java Doc)
abstract protected long getPaSuspendAccum()(Code)(Java Doc)
abstract protected Date getPaSuspendStart()(Code)(Java Doc)
abstract protected ThreadInfo getPaThreadInfo()(Code)(Java Doc)
abstract protected String getPaWaitOnChan()(Code)(Java Doc)
abstract protected Long getPaWaitOnProc()(Code)(Java Doc)
public WfResource getResource(WfAssignment asnmnt)(Code)(Java Doc)
protected Map getStateTransitionMap()(Code)(Java Doc)
protected void handleAbortedEvent(WfStateAuditEvent 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 handleSuspendedEvent(WfStateAuditEvent event)(Code)(Java Doc)
protected void handleTerminatedEvent(WfStateAuditEvent event)(Code)(Java Doc)
public void handleTimeout(Serializable info)(Code)(Java Doc)
protected void handleToolInvocationFailedAuditEvent(ToolInvocationFailedAuditEvent event)(Code)(Java Doc)
public String[] handledExceptions()(Code)(Java Doc)
public Implementation[] implementation()(Code)(Java Doc)
protected void init(Long 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)(Code)(Java Doc)
public boolean initiateAbandoning(boolean blockException, String exceptionName)(Code)(Java Doc)
public void invokeTool(ExtApplication appl, Map params)(Code)(Java Doc)
public static boolean isHandled(WfAuditEvent event)(Code)(Java Doc)
public boolean isMemberOfAssignments(WfAssignment member)(Code)(Java Doc)
public JoinAndSplitMode joinMode()(Code)(Java Doc)
abstract protected ExtProcessLocal lookupProcessLocal(String key) throws InvalidKeyException(Code)(Java Doc)
public String performer()(Code)(Java Doc)
public Collection performers()(Code)(Java Doc)
public Collection performersLocal()(Code)(Java Doc)
public boolean preliminarilyChosen()(Code)(Java Doc)
public ProcessData processContext()(Code)(Java Doc)
protected RASInvocationHandler rasInvocationHandler()(Code)(Java Doc)
public void receiveEvent(WfAuditEvent e) throws InvalidPerformerException(Code)(Java Doc)
protected void refresh()(Code)(Java Doc)
protected void releaseResources()(Code)(Java Doc)
public void removeAssignment(WfResource resource) throws InvalidResourceException, NotAssignedException(Code)(Java Doc)
public void reset(boolean preserveThreadInfo, boolean publishChange)(Code)(Java Doc)
public ProcessData result() throws ResultNotAvailableException(Code)(Java Doc)
public void resume() throws CannotResumeException, NotRunningException, NotSuspendedException(Code)(Java Doc)
public void setJoinMode(JoinAndSplitMode joinMode)(Code)(Java Doc)
abstract protected void setPaActImpl(Implementation[] newActImpl)(Code)(Java Doc)
abstract protected void setPaBlockActivity(Long newBlockActivity)(Code)(Java Doc)
abstract protected void setPaDeadlines(List newDeadlines)(Code)(Java Doc)
abstract protected void setPaDeferChoiceOnSplit(boolean newDeferChoiceOnSplit)(Code)(Java Doc)
abstract protected void setPaExecStat(Integer newExecutor)(Code)(Java Doc)
abstract protected void setPaFinishMode(StartFinishMode newFinishMode)(Code)(Java Doc)
abstract protected void setPaJoinMode(JoinAndSplitMode newJoinMode)(Code)(Java Doc)
abstract protected void setPaNoAssignments(boolean newNoAssignments)(Code)(Java Doc)
abstract protected void setPaPendingException(String newPendingException)(Code)(Java Doc)
abstract protected void setPaPendingExceptionIsFromBlock(boolean newValue)(Code)(Java Doc)
abstract protected void setPaPerformer(String newPerformer)(Code)(Java Doc)
abstract protected void setPaPreliminarilyChosen(boolean newElectedInChoice)(Code)(Java Doc)
abstract protected void setPaSplitMode(JoinAndSplitMode newSplitMode)(Code)(Java Doc)
abstract protected void setPaStartMode(StartFinishMode newStartMode)(Code)(Java Doc)
abstract protected void setPaStartTime(Date newStartTime)(Code)(Java Doc)
abstract protected void setPaSubStateBackup(int newSubStateBackup)(Code)(Java Doc)
abstract protected void setPaSubflow(String newSubflow)(Code)(Java Doc)
abstract protected void setPaSuspendAccum(long newSuspendAccum)(Code)(Java Doc)
abstract protected void setPaSuspendStart(Date newSuspendStart)(Code)(Java Doc)
abstract protected void setPaThreadInfo(ThreadInfo newThreadInfo)(Code)(Java Doc)
abstract protected void setPaWaitOnChan(String newWaitOnChan)(Code)(Java Doc)
abstract protected void setPaWaitOnProc(Long newWaitOnProc)(Code)(Java Doc)
public void setProcessContext(ProcessData newValue) throws InvalidDataException, UpdateNotAllowedException(Code)(Java Doc)
public void setResult(ProcessData result) throws InvalidDataException(Code)(Java Doc)
public void setSplitMode(JoinAndSplitMode splitMode)(Code)(Java Doc)
public void setStartable(Collection triggers, boolean preliminarilyChosen)(Code)(Java Doc)
public JoinAndSplitMode splitMode()(Code)(Java Doc)
public void start() throws AlreadyRunningException(Code)(Java Doc)
protected StartFinishMode startMode()(Code)(Java Doc)
public Date startTime() throws NotRunningException(Code)(Java Doc)
public void suspend() throws CannotSuspendException, NotRunningException, AlreadySuspendedException(Code)(Java Doc)
public void terminate() throws CannotStopException, NotRunningException(Code)(Java Doc)
protected void terminateImpl() throws ApplicationNotStoppedException(Code)(Java Doc)
protected void terminateTool() throws ApplicationNotStoppedException(Code)(Java Doc)
public ThreadInfo threadInfo()(Code)(Java Doc)
abstract public Activity toActivity()(Code)(Java Doc)
abstract protected ExtActivityLocal toActivityLocal()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
protected ToolInvocationHandler toolInvocationHandler()(Code)(Java Doc)
public ActivityUniqueKey uniqueKey()(Code)(Java Doc)
public void waitOnChannel(String procKey, String channel)(Code)(Java Doc)
public void withdrawPreliminaryChoice(boolean reset) throws TransitionNotAllowedException(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.