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


de.danet.an.workflow.internalapi.ExtActivityLocal

All known Subclasses:   de.danet.an.workflow.domain.ActivityBase,  domain.VolatileActivity,
ExtActivityLocal
public interface ExtActivityLocal extends ExtExecutionObjectLocal,ActivityLocal(Code)
This interface defines some additional methods of Activitys that are only available within the implementation (not part of the API).
author:
  
version:
   $Revision: 1.1.2.1 $

Inner Class :public static class NotStartedState extends NotRunningState implements Serializable



Method Summary
 voidabandon(ExceptionResult result)
     Like Activity.abandon(String) abandon(String) but may also suspend the activity.
 voidabortRequester()
     Abort a requesting activity.
 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 .
 WfAuditEventauditEventBase()
     Returns a WfAuditEvent containing information about the activity and its container, only.
 booleandeferChoiceOnSplit()
     Returns if the activity's split is to be executed as deferred choice.
 voiddoCloseActivity(State closedState)
     Close the activity which assumes the given state.
 booleaninitiateAbandoning(boolean blockException, String exceptionName)
     Force the completion of this activity, leaving it in state "closed.completed.abandoned" if it is currently running or "open.not_running.suspended.abandoning" if currently suspended.
 voidinvokeTool(ExtApplication appl, Map params)
     Invoke a tool for this activity.
 Stringperformer()
     Returns the performer as string.
 booleanpreliminarilyChosen()
     Returns if the activity has been preliminarily chosen in a deferred choice.
 voidreset(boolean preserveThreadInfo, boolean publishChange)
     Reset an activity to NotStartedState.UNKNOWN, i.e.
 voidsetDebugEnabled(boolean debug)
     Enable or disable debugging of the activity.
 voidsetJoinMode(JoinAndSplitMode joinMode)
     Set the join mode of the activity.
 voidsetSplitMode(JoinAndSplitMode splitMode)
     Set the join mode of the activity.
 voidsetStartable(Collection triggers, boolean preliminaryElected)
     Update the sub-state of an activity in state NotRunningState.NOT_STARTED to NotStartedState.STARTABLE.
 voidstart()
     Initiate enactment of a WfActivity.
 DatestartTime()
     Return the start time of the activity.
 ThreadInfothreadInfo()
     Return the activity's thread info.
 ActivitytoActivity()
     Return the remote version of this object.
 voidupdateProcessName(String newName)
     Updates the process name (which is cached by the activity EJB) if the process name changes.
 voidwithdrawPreliminaryChoice(boolean reset)
     Terminates and resets an activity that was started preliminarily as part of a deferred choice.



Method Detail
abandon
void abandon(ExceptionResult result) throws TransitionNotAllowedException(Code)
Like Activity.abandon(String) abandon(String) but may also suspend the activity.
Parameters:
  result - exception information
throws:
  TransitionNotAllowedException - if the activity is not executing a tool



abortRequester
void abortRequester()(Code)
Abort a requesting activity. Called by subprocesses to abort their invoker.



activityFinder
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
WfAuditEvent auditEventBase()(Code)
Returns a WfAuditEvent containing information about the activity and its container, only. the event containing the required information.



deferChoiceOnSplit
boolean deferChoiceOnSplit()(Code)
Returns if the activity's split is to be executed as deferred choice. true if the activity has been elected



doCloseActivity
void doCloseActivity(State closedState)(Code)
Close the activity which assumes the given state. This method has no side effects and is intended to be used by the containing process during processing of ExtProcessLocal.closeActivity closeActivity .
Parameters:
  closedState - the state to assume



initiateAbandoning
boolean initiateAbandoning(boolean blockException, String exceptionName)(Code)
Force the completion of this activity, leaving it in state "closed.completed.abandoned" if it is currently running or "open.not_running.suspended.abandoning" if currently suspended. Does nothing if the activity is in state "closed" already or has not been started ("open.not_running.not_started").

The state transition will be signaled to event listeners but will not be forwarded to the process.
Parameters:
  blockException - indicates that the exception occurred on the block activitythis activity is a member of
Parameters:
  exceptionName - the related exception. If null it is an asynchronous exception true if state has changed to closed in this method




invokeTool
void invokeTool(ExtApplication appl, Map params)(Code)
Invoke a tool for this activity.
Parameters:
  appl - the application description of the tool.
Parameters:
  params - the invocation parameters.



performer
String performer()(Code)
Returns the performer as string. performer as string



preliminarilyChosen
boolean preliminarilyChosen()(Code)
Returns if the activity has been preliminarily chosen in a deferred choice. true if the activity has been elected



reset
void reset(boolean preserveThreadInfo, boolean publishChange)(Code)
Reset an activity to NotStartedState.UNKNOWN, i.e. have it assume exactly the same state as it has when newly created. An exception is the thread info which can (optionally) be preserved in certain cases.
Parameters:
  preserveThreadInfo - preserve the thread info, i.e. the information about theactivity's predecessors.
Parameters:
  publishChange - publish the state change, i.e. create a corresponding auditevent



setDebugEnabled
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 - TODO



setJoinMode
void setJoinMode(JoinAndSplitMode joinMode)(Code)
Set the join mode of the activity.
Parameters:
  joinMode - the new join mode



setSplitMode
void setSplitMode(JoinAndSplitMode splitMode)(Code)
Set the join mode of the activity.
Parameters:
  splitMode - the new split mode



setStartable
void setStartable(Collection triggers, boolean preliminaryElected)(Code)
Update the sub-state of an activity in state NotRunningState.NOT_STARTED to NotStartedState.STARTABLE. This update reflects internal evaluation progression only and does neither update last state change time nor fire an event.
Parameters:
  triggers - the activities that caused the activity to be startable (oneor more activities depending on the join mode).
Parameters:
  preliminaryElected - if the activity is triggered due to a deferred choice



start
void start() throws AlreadyRunningException(Code)
Initiate enactment of a WfActivity.
throws:
  AlreadyRunningException - when the process has already been started.



startTime
Date startTime() throws NotRunningException(Code)
Return the start time of the activity. result
throws:
  NotRunningException - if the activity has not been started yet



threadInfo
ThreadInfo threadInfo()(Code)
Return the activity's thread info. the thread info.



toActivity
Activity toActivity()(Code)
Return the remote version of this object. the client side object.



updateProcessName
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.



withdrawPreliminaryChoice
void withdrawPreliminaryChoice(boolean reset) throws TransitionNotAllowedException(Code)
Terminates and resets an activity that was started preliminarily as part of a deferred choice.
Parameters:
  reset - if the activity's state is to be reset
throws:
  TransitionNotAllowedException - if the activity has not been preliminarily chosen



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