Java Doc for WfProcessWrapper.java in  » Workflow-Engines » shark » org » enhydra » shark » 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 » shark » org.enhydra.shark 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.enhydra.shark.WfProcessWrapper

WfProcessWrapper
public class WfProcessWrapper implements WfProcess,Serializable(Code)
WfProcessWrapper - Workflow Process Object implementation.
author:
   Sasa Bojanic, Vladimir Puskas
version:
   1.0.1


Field Summary
protected  StringmgrName
    
protected  StringprocessId
    
protected  WMSessionHandleshandle
    

Constructor Summary
protected  WfProcessWrapper(WMSessionHandle shandle, String mgrName, String processId)
     Creates new WfProcessWrapper.

Method Summary
public  voidabort()
     Abort the execution of this process.
public  voidchange_state(String new_state)
    
protected  voidcheckSecurity(String methodName, Map d)
    
public  Stringdescription()
    
public  booleanequals(java.lang.Object obj)
     It is assumed that there can't be two or more processes having the same key.
protected  WfProcessInternalgetProcessImpl(String procId, int mode)
    
public  WfActivityIteratorget_activities_in_state(String state)
     Retrieve the iterator of activities in some specific state.
public  WfEventAuditIteratorget_iterator_history(String query, Map names_in_query)
     Search in the history for specific elements.
public  WfActivityIteratorget_iterator_step()
     Retrieve the Iterator of active activities of this process.
public  WfEventAudit[]get_sequence_history(int max_number)
     Getter for history sequence.
public  WfActivity[]get_sequence_step(int max_number)
     Retrieve the List of activities of this process.
Parameters:
  max_number - High limit of elements in the result set (0->all).
public  inthashCode()
    
public  how_closedTypehow_closed()
    
public  inthow_many_history()
    
public  inthow_many_step()
     Retrieve the no of activities in this process.
public  booleanis_member_of_history(WfExecutionObject member)
     Checks if a 'member' is an element of the history.
public  booleanis_member_of_step(WfActivity member)
     Check if some activity is a member of this process.
public  Stringkey()
    
public  UtcTlast_state_time()
    
public  WfProcessMgrmanager()
     Retrieve the WfProcessMgr of this process.
public  Stringname()
    
public  shortpriority()
    
public  Mapprocess_context()
    
public  WfRequesterrequester()
     Retrieves the requestor of this process. a WfRequester.
public  Mapresult()
     Retrieve the result for this process.
public  voidresume()
     Resume this process.
public  voidset_description(String new_value)
    
public  voidset_name(String new_value)
    
public  voidset_priority(short new_value)
    
public  voidset_process_context(Map new_value)
    
public  voidset_requester(WfRequester new_value)
     Set the requester for this process.
public  voidstart()
     Starts the process - creates a separate thread.
public  Stringstate()
    
public  voidsuspend()
     Suspend this process.
public  voidterminate()
     Terminate this process.
public  StringtoString()
    
public  String[]valid_states()
    
public  while_openTypewhile_open()
    
public  why_not_runningTypewhy_not_running()
    
public  workflow_stateTypeworkflow_state()
    

Field Detail
mgrName
protected String mgrName(Code)



processId
protected String processId(Code)



shandle
protected WMSessionHandle shandle(Code)




Constructor Detail
WfProcessWrapper
protected WfProcessWrapper(WMSessionHandle shandle, String mgrName, String processId)(Code)
Creates new WfProcessWrapper.




Method Detail
abort
public void abort() throws Exception, CannotStop, NotRunning(Code)
Abort the execution of this process.
exception:
  Exception -
exception:
  CannotStop -
exception:
  NotRunning -



change_state
public void change_state(String new_state) throws Exception, InvalidState, TransitionNotAllowed(Code)
Method change_state
Parameters:
  new_state - a String
exception:
  Exception -
exception:
  InvalidState -
exception:
  TransitionNotAllowed -



checkSecurity
protected void checkSecurity(String methodName, Map d) throws Exception(Code)



description
public String description() throws Exception(Code)
Method description a String
exception:
  Exception -



equals
public boolean equals(java.lang.Object obj)(Code)
It is assumed that there can't be two or more processes having the same key.



getProcessImpl
protected WfProcessInternal getProcessImpl(String procId, int mode) throws Exception(Code)



get_activities_in_state
public WfActivityIterator get_activities_in_state(String state) throws Exception, InvalidState(Code)
Retrieve the iterator of activities in some specific state.
Parameters:
  state - a String a WfActivityIterator
exception:
  Exception -
exception:
  InvalidState -



get_iterator_history
public WfEventAuditIterator get_iterator_history(String query, Map names_in_query) throws Exception, HistoryNotAvailable(Code)
Search in the history for specific elements.
Parameters:
  query - a String
Parameters:
  names_in_query - a Map Found history elements that meet the search criteria.
exception:
  Exception -
exception:
  HistoryNotAvailable -



get_iterator_step
public WfActivityIterator get_iterator_step() throws Exception(Code)
Retrieve the Iterator of active activities of this process. a WfActivityIterator
exception:
  Exception -



get_sequence_history
public WfEventAudit[] get_sequence_history(int max_number) throws Exception, HistoryNotAvailable(Code)
Getter for history sequence.
Parameters:
  max_number - an int List of History objects.
exception:
  Exception -
exception:
  HistoryNotAvailable -



get_sequence_step
public WfActivity[] get_sequence_step(int max_number) throws Exception(Code)
Retrieve the List of activities of this process.
Parameters:
  max_number - High limit of elements in the result set (0->all). a WfActivity[]
exception:
  Exception -



hashCode
public int hashCode()(Code)



how_closed
public how_closedType how_closed() throws Exception(Code)
Method how_closed a how_closedType
exception:
  Exception -



how_many_history
public int how_many_history() throws Exception, HistoryNotAvailable(Code)
Method how_many_history an int
exception:
  Exception -
exception:
  HistoryNotAvailable -



how_many_step
public int how_many_step() throws Exception(Code)
Retrieve the no of activities in this process. an int
exception:
  Exception -



is_member_of_history
public boolean is_member_of_history(WfExecutionObject member) throws Exception(Code)
Checks if a 'member' is an element of the history.
Parameters:
  member - a WfExecutionObject true if the element of the history, false otherwise.
exception:
  Exception -



is_member_of_step
public boolean is_member_of_step(WfActivity member) throws Exception(Code)
Check if some activity is a member of this process.
Parameters:
  member - a WfActivity true if the specific activity is a member of this process, false otherwise.
exception:
  Exception -



key
public String key() throws Exception(Code)
Method key a String
exception:
  Exception -



last_state_time
public UtcT last_state_time() throws Exception(Code)
Method last_state_time an UtcT
exception:
  Exception -



manager
public WfProcessMgr manager() throws Exception(Code)
Retrieve the WfProcessMgr of this process. a WfProcessMgr
exception:
  Exception -



name
public String name() throws Exception(Code)
Method name a String
exception:
  Exception -



priority
public short priority() throws Exception(Code)
Method priority a short
exception:
  Exception -



process_context
public Map process_context() throws Exception(Code)
Method process_context a Map
exception:
  Exception -



requester
public WfRequester requester() throws Exception(Code)
Retrieves the requestor of this process. a WfRequester. Exception.



result
public Map result() throws Exception, ResultNotAvailable(Code)
Retrieve the result for this process. a Map
exception:
  Exception -
exception:
  ResultNotAvailable -



resume
public void resume() throws Exception, CannotResume, NotSuspended(Code)
Resume this process.
exception:
  Exception -
exception:
  CannotResume -
exception:
  NotSuspended -



set_description
public void set_description(String new_value) throws Exception(Code)
Method set_description
Parameters:
  new_value - a String
exception:
  Exception -



set_name
public void set_name(String new_value) throws Exception(Code)
Method set_name
Parameters:
  new_value - a String
exception:
  Exception -



set_priority
public void set_priority(short new_value) throws Exception(Code)
Method set_priority
Parameters:
  new_value - a short
exception:
  Exception -



set_process_context
public void set_process_context(Map new_value) throws Exception, InvalidData, UpdateNotAllowed(Code)
Method set_process_context
Parameters:
  new_value - a Map
exception:
  Exception -
exception:
  InvalidData -
exception:
  UpdateNotAllowed -



set_requester
public void set_requester(WfRequester new_value) throws Exception, CannotChangeRequester(Code)
Set the requester for this process.
Parameters:
  new_value - a WfRequester
exception:
  Exception -
exception:
  CannotChangeRequester -



start
public void start() throws Exception, CannotStart, AlreadyRunning(Code)
Starts the process - creates a separate thread.
exception:
  Exception -
exception:
  CannotStart -
exception:
  AlreadyRunning -



state
public String state() throws Exception(Code)
Method state a String
exception:
  Exception -



suspend
public void suspend() throws Exception, CannotSuspend, NotRunning, AlreadySuspended(Code)
Suspend this process.
exception:
  Exception -
exception:
  CannotSuspend -
exception:
  NotRunning -
exception:
  AlreadySuspended -



terminate
public void terminate() throws Exception, CannotStop, NotRunning(Code)
Terminate this process.
exception:
  Exception -
exception:
  CannotStop -
exception:
  NotRunning -



toString
public String toString()(Code)
Method toString a String



valid_states
public String[] valid_states() throws Exception(Code)
Method valid_states a String[]
exception:
  Exception -



while_open
public while_openType while_open() throws Exception(Code)



why_not_running
public why_not_runningType why_not_running() throws Exception(Code)
Method why_not_running a why_not_runningType
exception:
  Exception -



workflow_state
public workflow_stateType workflow_state() throws Exception(Code)
Method workflow_state a workflow_stateType
exception:
  Exception -



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.