Java Doc for LocalClient.java in  » Workflow-Engines » obe-1.0 » org » obe » client » api » local » 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 » obe 1.0 » org.obe.client.api.local 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.obe.client.api.base.AbstractJAASClient
      org.obe.client.api.local.LocalClient

LocalClient
final public class LocalClient extends AbstractJAASClient implements WMLocalClient(Code)
Class used to connect to and communicate with a workflow engine via a local interface.

This interface is based on the WfMC's Interface 2 Client API specification. Some of the methods have been modified from the original specification to fit within the normal design of Java applications. For instance, the WfMC specification functions always return an error object (even for success) and uses out parameters to return values. This interface returns the value and throws an exception when an error occurs. If no error occurs then an exception is not thrown.
author:
   Adrian Price




Constructor Summary
public  LocalClient()
    

Method Summary
public synchronized  voidconnect(WMConnectInfo connectInfo)
    
public synchronized  voiddisconnect()
    
protected  LoggetLogger()
    
public  StringgetProtocol()
    
public  ServiceManagergetServiceManager()
    
public  voidraiseEvent(ApplicationEvent event, String[] correlationKeys)
    
public  voidrefreshWorkItems(String processInstanceId)
    


Constructor Detail
LocalClient
public LocalClient()(Code)




Method Detail
connect
public synchronized void connect(WMConnectInfo connectInfo) throws WMConnectException(Code)



disconnect
public synchronized void disconnect() throws WMConnectException(Code)



getLogger
protected Log getLogger()(Code)



getProtocol
public String getProtocol()(Code)



getServiceManager
public ServiceManager getServiceManager()(Code)



raiseEvent
public void raiseEvent(ApplicationEvent event, String[] correlationKeys) throws WMWorkflowException(Code)



refreshWorkItems
public void refreshWorkItems(String processInstanceId) throws WMWorkflowException(Code)



Fields inherited from org.obe.client.api.base.AbstractJAASClient
final protected static String JAAS_CALLBACK_HANDLER(Code)(Java Doc)
final protected static String JAAS_CONFIG(Code)(Java Doc)
protected WorkflowEngineIntf _engine(Code)(Java Doc)

Methods inherited from org.obe.client.api.base.AbstractJAASClient
public void abortProcessInstance(String procInstId) throws WMWorkflowException(Code)(Java Doc)
public void abortProcessInstances(String procDefId, WMFilter filter) throws WMWorkflowException(Code)(Java Doc)
public void addEntityAttributeValue(WMEntity entityHandle, String attributeName, int attributeType, String attributeValue) throws WMWorkflowException(Code)(Java Doc)
public void addProcessDataAttribute(String procModelId, String procDataId, String attributeName, int attributeType, int attributeLength, String attributeValue) throws WMWorkflowException(Code)(Java Doc)
public WMEntity addTransition(String procModelId, String sourceActDefId, String targetActDefId) throws WMWorkflowException(Code)(Java Doc)
public void assignActivityInstanceAttribute(String procInstId, String actInstId, String attrName, Object attrValue) throws WMWorkflowException(Code)(Java Doc)
public void assignActivityInstancesAttribute(String procDefId, String actDefId, WMFilter filter, String attrName, Object attrValue) throws WMWorkflowException(Code)(Java Doc)
public void assignEntityAttributeValue(WMEntity entityHandle, String attributeName, int attributeType, String attributeValue) throws WMWorkflowException(Code)(Java Doc)
public void assignProcessInstanceAttribute(String procInstId, String attrName, Object attrValue) throws WMWorkflowException(Code)(Java Doc)
public void assignProcessInstancesAttribute(String procDefId, WMFilter filter, String attrName, Object attrValue) throws WMWorkflowException(Code)(Java Doc)
public void assignWorkItemAttribute(String procInstId, String workItemId, String attrName, Object attrValue) throws WMWorkflowException(Code)(Java Doc)
public void changeActivityInstanceState(String procInstId, String actInstId, WMActivityInstanceState newState) throws WMWorkflowException(Code)(Java Doc)
public void changeActivityInstancesState(String procDefId, String actDefId, WMFilter filter, WMActivityInstanceState newState) throws WMWorkflowException(Code)(Java Doc)
public void changeProcessDefinitionState(String procDefId, WMProcessDefinitionState newState) throws WMWorkflowException(Code)(Java Doc)
public void changeProcessInstanceState(String procInstId, WMProcessInstanceState newState) throws WMWorkflowException(Code)(Java Doc)
public void changeProcessInstancesState(String procDefId, WMFilter filter, WMProcessInstanceState newState) throws WMWorkflowException(Code)(Java Doc)
public void changeWorkItemState(String procInstId, String workItemId, WMWorkItemState newState) throws WMWorkflowException(Code)(Java Doc)
public void clearEntityAttributeList(WMEntity entityHandle, String attributeName) throws WMWorkflowException(Code)(Java Doc)
public void closeProcessDefinition(WMEntity procModelHandle) throws WMWorkflowException(Code)(Java Doc)
public void closeWorkflowDefinition(WMEntity workflowDefinitionHandle) throws WMWorkflowException(Code)(Java Doc)
public void completeWorkItem(String procInstId, String workItemId) throws WMWorkflowException(Code)(Java Doc)
public synchronized void connect(WMConnectInfo connectInfo) throws WMConnectException(Code)(Java Doc)
public WMEntity createEntity(WMEntity scopingEntity, String entityClass, String entityName) throws WMWorkflowException(Code)(Java Doc)
public String createPackage() throws WMWorkflowException(Code)(Java Doc)
public String createPackage(XPDLPackage pkg) throws WMWorkflowException(Code)(Java Doc)
public String createPackage(String content, String contentType) throws WMWorkflowException(Code)(Java Doc)
public String createProcessInstance(String procDefId, String procInstName) throws WMWorkflowException(Code)(Java Doc)
public String createProcessInstanceVersioned(String name, String processInstanceName) throws WMWorkflowException(Code)(Java Doc)
public int deleteAuditEntries(WMFilter filter) throws WMWorkflowException(Code)(Java Doc)
public void deleteEntity(WMEntity scopingEntity, String entityId) throws WMWorkflowException(Code)(Java Doc)
public void deletePackage(String packageId) throws WMWorkflowException(Code)(Java Doc)
public void deleteProcessDefinition(String processDefinitionId) throws WMWorkflowException(Code)(Java Doc)
public void deleteProcessInstance(String processInstanceId) throws WMWorkflowException(Code)(Java Doc)
public void deleteProcessInstances(String processDefinitionId, WMFilter filter) throws WMWorkflowException(Code)(Java Doc)
public synchronized void disconnect() throws WMConnectException(Code)(Java Doc)
final protected Object doAsSubject(PrivilegedExceptionAction action) throws WMWorkflowException(Code)(Java Doc)
public ToolInvocation[] executeWorkItem(String procInstId, String workItemId) throws WMWorkflowException(Code)(Java Doc)
public WMActivityInstance getActivityInstance(String procInstId, String actInstId) throws WMWorkflowException(Code)(Java Doc)
public WMAttribute getActivityInstanceAttributeValue(String procInstId, String actInstId, String attrName) throws WMWorkflowException(Code)(Java Doc)
public WMAttribute getEntityAttributeValue(WMEntity scopingEntity, WMEntity entityHandle, String attributeName) throws WMWorkflowException(Code)(Java Doc)
abstract protected Log getLogger()(Code)(Java Doc)
public XPDLPackage getPackage(String packageId) throws WMWorkflowException(Code)(Java Doc)
public String getPackageContent(String packageId) throws WMWorkflowException(Code)(Java Doc)
public String getPackageContent(String packageId, String contentType) throws WMWorkflowException(Code)(Java Doc)
public WMProcessInstance getProcessInstance(String procInstId) throws WMWorkflowException(Code)(Java Doc)
public WMAttribute getProcessInstanceAttributeValue(String procInstId, String attrName) throws WMWorkflowException(Code)(Java Doc)
final protected Subject getSubject()(Code)(Java Doc)
public WMWorkItem getWorkItem(String procInstId, String workItemId) throws WMWorkflowException(Code)(Java Doc)
public WMAttribute getWorkItemAttributeValue(String procInstId, String workItemId, String attrName) throws WMWorkflowException(Code)(Java Doc)
public void invokeApplication(int toolAgentHandle, String appName, String procInstId, String workItemId, Object[] parameters, int appMode) throws WMWorkflowException(Code)(Java Doc)
public boolean isActivityAdminProfileSupported()(Code)(Java Doc)
public boolean isActivityControlStatusProfileSupported()(Code)(Java Doc)
public boolean isAuditRecordProfileSupported()(Code)(Java Doc)
final protected boolean isConnected()(Code)(Java Doc)
public boolean isEntityHandlerProfileSupported()(Code)(Java Doc)
public boolean isProcessAdminProfileSupported()(Code)(Java Doc)
public boolean isProcessControlStatusProfileSupported()(Code)(Java Doc)
public boolean isProcessDefinitionProfileSupported()(Code)(Java Doc)
public boolean isToolAgentProfileSupported()(Code)(Java Doc)
public boolean isWorkListHandlerProfileSupported()(Code)(Java Doc)
public WMAttributeIterator listActivityInstanceAttributes(String procInstId, String actInstId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)(Java Doc)
public WMActivityInstanceStateIterator listActivityInstanceStates(String procInstId, String actInstId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)(Java Doc)
public WMActivityInstanceIterator listActivityInstances(WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)(Java Doc)
public WMAAuditEntryIterator listAuditEntries(WMFilter filter) throws WMWorkflowException(Code)(Java Doc)
public WMEntityIterator listEntities(WMEntity scopingEntity, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)(Java Doc)
public WMAttributeIterator listEntityAttributeValues(WMEntity scopingEntity, String entityHandle, String attributeName) throws WMWorkflowException(Code)(Java Doc)
public WMAttributeIterator listEntityAttributes(WMEntity scopingEntity, String entityId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)(Java Doc)
public WMProcessDefinitionStateIterator listProcessDefinitionStates(String procDefId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)(Java Doc)
public WMProcessDefinitionIterator listProcessDefinitions(WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)(Java Doc)
public WMAttributeIterator listProcessInstanceAttributes(String procInstId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)(Java Doc)
public WMProcessInstanceStateIterator listProcessInstanceStates(String procInstId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)(Java Doc)
public WMProcessInstanceIterator listProcessInstances(WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)(Java Doc)
public WMAttributeIterator listWorkItemAttributes(String procInstId, String workItemId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)(Java Doc)
public WMWorkItemStateIterator listWorkItemStates(String procInstId, String workItemId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)(Java Doc)
public WMWorkItemIterator listWorkItems(WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)(Java Doc)
public WMEntity openProcessDefinition(String procDefId) throws WMWorkflowException(Code)(Java Doc)
public WMEntity openWorkflowDefinition(String name, String scope) throws WMWorkflowException(Code)(Java Doc)
protected void popCallerPrincipal()(Code)(Java Doc)
protected void pushCallerPrincipal()(Code)(Java Doc)
public void reassignWorkItem(String sourceUser, String targetUser, String procInstId, String workItemId) throws WMWorkflowException(Code)(Java Doc)
public void removeProcessDataAttribute(String procModelId, String procDataId, String attributeName) throws WMWorkflowException(Code)(Java Doc)
public WMAttribute[] requestAppStatus(int toolAgentHandle, String procInstId, String workItemId, int[] status) throws WMWorkflowException(Code)(Java Doc)
public void setPackageContent(String packageId, String content) throws WMWorkflowException(Code)(Java Doc)
public void setPackageContent(String packageId, String content, String contentType) throws WMWorkflowException(Code)(Java Doc)
public String startProcess(String procInstId) throws WMWorkflowException(Code)(Java Doc)
public void terminateApp(int toolAgentHandle, String procInstId, String workItemId) throws WMWorkflowException(Code)(Java Doc)
public void terminateProcessInstance(String procInstId) throws WMWorkflowException(Code)(Java Doc)
public void terminateProcessInstances(String procDefId, WMFilter filter) throws WMWorkflowException(Code)(Java Doc)
public void toolFinished(String procInstId, String workItemId, int appStatus, Parameter[] parms) throws WMWorkflowException(Code)(Java Doc)
public void toolStarted(String procInstId, String workItemId) throws WMWorkflowException(Code)(Java Doc)
public void updatePackage(XPDLPackage pkg) throws WMWorkflowException(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.