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


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

All known Subclasses:   org.obe.client.api.rmi.AbstractJ2EEClient,  org.obe.client.api.local.LocalClient,
AbstractJAASClient
abstract public class AbstractJAASClient implements WMClient(Code)
Abstract base class for J2EE client implementations. To use this client, please ensure that JNDI is configured with the correct InitialContextFactory (set in jndi.properties, or as a system property).

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



Field Summary
final protected static  StringJAAS_CALLBACK_HANDLER
    
final protected static  StringJAAS_CONFIG
    
protected  WorkflowEngineIntf_engine
    

Constructor Summary
protected  AbstractJAASClient()
    

Method Summary
public  voidabortProcessInstance(String procInstId)
    
public  voidabortProcessInstances(String procDefId, WMFilter filter)
    
public  voidaddEntityAttributeValue(WMEntity entityHandle, String attributeName, int attributeType, String attributeValue)
    
public  voidaddProcessDataAttribute(String procModelId, String procDataId, String attributeName, int attributeType, int attributeLength, String attributeValue)
    
public  WMEntityaddTransition(String procModelId, String sourceActDefId, String targetActDefId)
    
public  voidassignActivityInstanceAttribute(String procInstId, String actInstId, String attrName, Object attrValue)
    
public  voidassignActivityInstancesAttribute(String procDefId, String actDefId, WMFilter filter, String attrName, Object attrValue)
    
public  voidassignEntityAttributeValue(WMEntity entityHandle, String attributeName, int attributeType, String attributeValue)
    
public  voidassignProcessInstanceAttribute(String procInstId, String attrName, Object attrValue)
    
public  voidassignProcessInstancesAttribute(String procDefId, WMFilter filter, String attrName, Object attrValue)
    
public  voidassignWorkItemAttribute(String procInstId, String workItemId, String attrName, Object attrValue)
    
public  voidchangeActivityInstanceState(String procInstId, String actInstId, WMActivityInstanceState newState)
    
public  voidchangeActivityInstancesState(String procDefId, String actDefId, WMFilter filter, WMActivityInstanceState newState)
    
public  voidchangeProcessDefinitionState(String procDefId, WMProcessDefinitionState newState)
    
public  voidchangeProcessInstanceState(String procInstId, WMProcessInstanceState newState)
    
public  voidchangeProcessInstancesState(String procDefId, WMFilter filter, WMProcessInstanceState newState)
    
public  voidchangeWorkItemState(String procInstId, String workItemId, WMWorkItemState newState)
    
public  voidclearEntityAttributeList(WMEntity entityHandle, String attributeName)
    
public  voidcloseProcessDefinition(WMEntity procModelHandle)
    
public  voidcloseWorkflowDefinition(WMEntity workflowDefinitionHandle)
    
public  voidcompleteWorkItem(String procInstId, String workItemId)
    
public synchronized  voidconnect(WMConnectInfo connectInfo)
    
public  WMEntitycreateEntity(WMEntity scopingEntity, String entityClass, String entityName)
    
public  StringcreatePackage()
    
public  StringcreatePackage(XPDLPackage pkg)
    
public  StringcreatePackage(String content, String contentType)
    
public  StringcreateProcessInstance(String procDefId, String procInstName)
    
public  StringcreateProcessInstanceVersioned(String name, String processInstanceName)
    
public  intdeleteAuditEntries(WMFilter filter)
    
public  voiddeleteEntity(WMEntity scopingEntity, String entityId)
    
public  voiddeletePackage(String packageId)
    
public  voiddeleteProcessDefinition(String processDefinitionId)
    
public  voiddeleteProcessInstance(String processInstanceId)
    
public  voiddeleteProcessInstances(String processDefinitionId, WMFilter filter)
    
public synchronized  voiddisconnect()
    
final protected  ObjectdoAsSubject(PrivilegedExceptionAction action)
    
public  ToolInvocation[]executeWorkItem(String procInstId, String workItemId)
    
public  WMActivityInstancegetActivityInstance(String procInstId, String actInstId)
    
public  WMAttributegetActivityInstanceAttributeValue(String procInstId, String actInstId, String attrName)
    
public  WMAttributegetEntityAttributeValue(WMEntity scopingEntity, WMEntity entityHandle, String attributeName)
    
abstract protected  LoggetLogger()
    
public  XPDLPackagegetPackage(String packageId)
    
public  StringgetPackageContent(String packageId)
    
public  StringgetPackageContent(String packageId, String contentType)
    
public  WMProcessInstancegetProcessInstance(String procInstId)
    
public  WMAttributegetProcessInstanceAttributeValue(String procInstId, String attrName)
    
final protected  SubjectgetSubject()
    
public  WMWorkItemgetWorkItem(String procInstId, String workItemId)
    
public  WMAttributegetWorkItemAttributeValue(String procInstId, String workItemId, String attrName)
    
public  voidinvokeApplication(int toolAgentHandle, String appName, String procInstId, String workItemId, Object[] parameters, int appMode)
    
public  booleanisActivityAdminProfileSupported()
    
public  booleanisActivityControlStatusProfileSupported()
    
public  booleanisAuditRecordProfileSupported()
    
final protected  booleanisConnected()
    
public  booleanisEntityHandlerProfileSupported()
    
public  booleanisProcessAdminProfileSupported()
    
public  booleanisProcessControlStatusProfileSupported()
    
public  booleanisProcessDefinitionProfileSupported()
    
public  booleanisToolAgentProfileSupported()
    
public  booleanisWorkListHandlerProfileSupported()
    
public  WMAttributeIteratorlistActivityInstanceAttributes(String procInstId, String actInstId, WMFilter filter, boolean countFlag)
    
public  WMActivityInstanceStateIteratorlistActivityInstanceStates(String procInstId, String actInstId, WMFilter filter, boolean countFlag)
    
public  WMActivityInstanceIteratorlistActivityInstances(WMFilter filter, boolean countFlag)
    
public  WMAAuditEntryIteratorlistAuditEntries(WMFilter filter)
    
public  WMEntityIteratorlistEntities(WMEntity scopingEntity, WMFilter filter, boolean countFlag)
    
public  WMAttributeIteratorlistEntityAttributeValues(WMEntity scopingEntity, String entityHandle, String attributeName)
    
public  WMAttributeIteratorlistEntityAttributes(WMEntity scopingEntity, String entityId, WMFilter filter, boolean countFlag)
    
public  WMProcessDefinitionStateIteratorlistProcessDefinitionStates(String procDefId, WMFilter filter, boolean countFlag)
    
public  WMProcessDefinitionIteratorlistProcessDefinitions(WMFilter filter, boolean countFlag)
    
public  WMAttributeIteratorlistProcessInstanceAttributes(String procInstId, WMFilter filter, boolean countFlag)
    
public  WMProcessInstanceStateIteratorlistProcessInstanceStates(String procInstId, WMFilter filter, boolean countFlag)
    
public  WMProcessInstanceIteratorlistProcessInstances(WMFilter filter, boolean countFlag)
    
public  WMAttributeIteratorlistWorkItemAttributes(String procInstId, String workItemId, WMFilter filter, boolean countFlag)
    
public  WMWorkItemStateIteratorlistWorkItemStates(String procInstId, String workItemId, WMFilter filter, boolean countFlag)
    
public  WMWorkItemIteratorlistWorkItems(WMFilter filter, boolean countFlag)
    
public  WMEntityopenProcessDefinition(String procDefId)
    
public  WMEntityopenWorkflowDefinition(String name, String scope)
    
protected  voidpopCallerPrincipal()
    
protected  voidpushCallerPrincipal()
    
public  voidreassignWorkItem(String sourceUser, String targetUser, String procInstId, String workItemId)
    
public  voidremoveProcessDataAttribute(String procModelId, String procDataId, String attributeName)
    
public  WMAttribute[]requestAppStatus(int toolAgentHandle, String procInstId, String workItemId, int[] status)
    
public  voidsetPackageContent(String packageId, String content)
    
public  voidsetPackageContent(String packageId, String content, String contentType)
    
public  StringstartProcess(String procInstId)
    
public  voidterminateApp(int toolAgentHandle, String procInstId, String workItemId)
    
public  voidterminateProcessInstance(String procInstId)
    
public  voidterminateProcessInstances(String procDefId, WMFilter filter)
    
public  voidtoolFinished(String procInstId, String workItemId, int appStatus, Parameter[] parms)
    
public  voidtoolStarted(String procInstId, String workItemId)
    
public  voidupdatePackage(XPDLPackage pkg)
    

Field Detail
JAAS_CALLBACK_HANDLER
final protected static String JAAS_CALLBACK_HANDLER(Code)



JAAS_CONFIG
final protected static String JAAS_CONFIG(Code)



_engine
protected WorkflowEngineIntf _engine(Code)




Constructor Detail
AbstractJAASClient
protected AbstractJAASClient()(Code)




Method Detail
abortProcessInstance
public void abortProcessInstance(String procInstId) throws WMWorkflowException(Code)



abortProcessInstances
public void abortProcessInstances(String procDefId, WMFilter filter) throws WMWorkflowException(Code)



addEntityAttributeValue
public void addEntityAttributeValue(WMEntity entityHandle, String attributeName, int attributeType, String attributeValue) throws WMWorkflowException(Code)



addProcessDataAttribute
public void addProcessDataAttribute(String procModelId, String procDataId, String attributeName, int attributeType, int attributeLength, String attributeValue) throws WMWorkflowException(Code)



addTransition
public WMEntity addTransition(String procModelId, String sourceActDefId, String targetActDefId) throws WMWorkflowException(Code)



assignActivityInstanceAttribute
public void assignActivityInstanceAttribute(String procInstId, String actInstId, String attrName, Object attrValue) throws WMWorkflowException(Code)



assignActivityInstancesAttribute
public void assignActivityInstancesAttribute(String procDefId, String actDefId, WMFilter filter, String attrName, Object attrValue) throws WMWorkflowException(Code)



assignEntityAttributeValue
public void assignEntityAttributeValue(WMEntity entityHandle, String attributeName, int attributeType, String attributeValue) throws WMWorkflowException(Code)



assignProcessInstanceAttribute
public void assignProcessInstanceAttribute(String procInstId, String attrName, Object attrValue) throws WMWorkflowException(Code)



assignProcessInstancesAttribute
public void assignProcessInstancesAttribute(String procDefId, WMFilter filter, String attrName, Object attrValue) throws WMWorkflowException(Code)



assignWorkItemAttribute
public void assignWorkItemAttribute(String procInstId, String workItemId, String attrName, Object attrValue) throws WMWorkflowException(Code)



changeActivityInstanceState
public void changeActivityInstanceState(String procInstId, String actInstId, WMActivityInstanceState newState) throws WMWorkflowException(Code)



changeActivityInstancesState
public void changeActivityInstancesState(String procDefId, String actDefId, WMFilter filter, WMActivityInstanceState newState) throws WMWorkflowException(Code)



changeProcessDefinitionState
public void changeProcessDefinitionState(String procDefId, WMProcessDefinitionState newState) throws WMWorkflowException(Code)



changeProcessInstanceState
public void changeProcessInstanceState(String procInstId, WMProcessInstanceState newState) throws WMWorkflowException(Code)



changeProcessInstancesState
public void changeProcessInstancesState(String procDefId, WMFilter filter, WMProcessInstanceState newState) throws WMWorkflowException(Code)



changeWorkItemState
public void changeWorkItemState(String procInstId, String workItemId, WMWorkItemState newState) throws WMWorkflowException(Code)



clearEntityAttributeList
public void clearEntityAttributeList(WMEntity entityHandle, String attributeName) throws WMWorkflowException(Code)



closeProcessDefinition
public void closeProcessDefinition(WMEntity procModelHandle) throws WMWorkflowException(Code)



closeWorkflowDefinition
public void closeWorkflowDefinition(WMEntity workflowDefinitionHandle) throws WMWorkflowException(Code)



completeWorkItem
public void completeWorkItem(String procInstId, String workItemId) throws WMWorkflowException(Code)



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



createEntity
public WMEntity createEntity(WMEntity scopingEntity, String entityClass, String entityName) throws WMWorkflowException(Code)



createPackage
public String createPackage() throws WMWorkflowException(Code)



createPackage
public String createPackage(XPDLPackage pkg) throws WMWorkflowException(Code)



createPackage
public String createPackage(String content, String contentType) throws WMWorkflowException(Code)



createProcessInstance
public String createProcessInstance(String procDefId, String procInstName) throws WMWorkflowException(Code)



createProcessInstanceVersioned
public String createProcessInstanceVersioned(String name, String processInstanceName) throws WMWorkflowException(Code)



deleteAuditEntries
public int deleteAuditEntries(WMFilter filter) throws WMWorkflowException(Code)



deleteEntity
public void deleteEntity(WMEntity scopingEntity, String entityId) throws WMWorkflowException(Code)



deletePackage
public void deletePackage(String packageId) throws WMWorkflowException(Code)



deleteProcessDefinition
public void deleteProcessDefinition(String processDefinitionId) throws WMWorkflowException(Code)



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



deleteProcessInstances
public void deleteProcessInstances(String processDefinitionId, WMFilter filter) throws WMWorkflowException(Code)



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



doAsSubject
final protected Object doAsSubject(PrivilegedExceptionAction action) throws WMWorkflowException(Code)



executeWorkItem
public ToolInvocation[] executeWorkItem(String procInstId, String workItemId) throws WMWorkflowException(Code)



getActivityInstance
public WMActivityInstance getActivityInstance(String procInstId, String actInstId) throws WMWorkflowException(Code)



getActivityInstanceAttributeValue
public WMAttribute getActivityInstanceAttributeValue(String procInstId, String actInstId, String attrName) throws WMWorkflowException(Code)



getEntityAttributeValue
public WMAttribute getEntityAttributeValue(WMEntity scopingEntity, WMEntity entityHandle, String attributeName) throws WMWorkflowException(Code)



getLogger
abstract protected Log getLogger()(Code)



getPackage
public XPDLPackage getPackage(String packageId) throws WMWorkflowException(Code)



getPackageContent
public String getPackageContent(String packageId) throws WMWorkflowException(Code)



getPackageContent
public String getPackageContent(String packageId, String contentType) throws WMWorkflowException(Code)



getProcessInstance
public WMProcessInstance getProcessInstance(String procInstId) throws WMWorkflowException(Code)



getProcessInstanceAttributeValue
public WMAttribute getProcessInstanceAttributeValue(String procInstId, String attrName) throws WMWorkflowException(Code)



getSubject
final protected Subject getSubject()(Code)



getWorkItem
public WMWorkItem getWorkItem(String procInstId, String workItemId) throws WMWorkflowException(Code)



getWorkItemAttributeValue
public WMAttribute getWorkItemAttributeValue(String procInstId, String workItemId, String attrName) throws WMWorkflowException(Code)



invokeApplication
public void invokeApplication(int toolAgentHandle, String appName, String procInstId, String workItemId, Object[] parameters, int appMode) throws WMWorkflowException(Code)



isActivityAdminProfileSupported
public boolean isActivityAdminProfileSupported()(Code)



isActivityControlStatusProfileSupported
public boolean isActivityControlStatusProfileSupported()(Code)



isAuditRecordProfileSupported
public boolean isAuditRecordProfileSupported()(Code)



isConnected
final protected boolean isConnected()(Code)



isEntityHandlerProfileSupported
public boolean isEntityHandlerProfileSupported()(Code)



isProcessAdminProfileSupported
public boolean isProcessAdminProfileSupported()(Code)



isProcessControlStatusProfileSupported
public boolean isProcessControlStatusProfileSupported()(Code)



isProcessDefinitionProfileSupported
public boolean isProcessDefinitionProfileSupported()(Code)



isToolAgentProfileSupported
public boolean isToolAgentProfileSupported()(Code)



isWorkListHandlerProfileSupported
public boolean isWorkListHandlerProfileSupported()(Code)



listActivityInstanceAttributes
public WMAttributeIterator listActivityInstanceAttributes(String procInstId, String actInstId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listActivityInstanceStates
public WMActivityInstanceStateIterator listActivityInstanceStates(String procInstId, String actInstId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listActivityInstances
public WMActivityInstanceIterator listActivityInstances(WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listAuditEntries
public WMAAuditEntryIterator listAuditEntries(WMFilter filter) throws WMWorkflowException(Code)



listEntities
public WMEntityIterator listEntities(WMEntity scopingEntity, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listEntityAttributeValues
public WMAttributeIterator listEntityAttributeValues(WMEntity scopingEntity, String entityHandle, String attributeName) throws WMWorkflowException(Code)



listEntityAttributes
public WMAttributeIterator listEntityAttributes(WMEntity scopingEntity, String entityId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listProcessDefinitionStates
public WMProcessDefinitionStateIterator listProcessDefinitionStates(String procDefId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listProcessDefinitions
public WMProcessDefinitionIterator listProcessDefinitions(WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listProcessInstanceAttributes
public WMAttributeIterator listProcessInstanceAttributes(String procInstId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listProcessInstanceStates
public WMProcessInstanceStateIterator listProcessInstanceStates(String procInstId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listProcessInstances
public WMProcessInstanceIterator listProcessInstances(WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listWorkItemAttributes
public WMAttributeIterator listWorkItemAttributes(String procInstId, String workItemId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listWorkItemStates
public WMWorkItemStateIterator listWorkItemStates(String procInstId, String workItemId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listWorkItems
public WMWorkItemIterator listWorkItems(WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



openProcessDefinition
public WMEntity openProcessDefinition(String procDefId) throws WMWorkflowException(Code)



openWorkflowDefinition
public WMEntity openWorkflowDefinition(String name, String scope) throws WMWorkflowException(Code)



popCallerPrincipal
protected void popCallerPrincipal()(Code)



pushCallerPrincipal
protected void pushCallerPrincipal()(Code)



reassignWorkItem
public void reassignWorkItem(String sourceUser, String targetUser, String procInstId, String workItemId) throws WMWorkflowException(Code)



removeProcessDataAttribute
public void removeProcessDataAttribute(String procModelId, String procDataId, String attributeName) throws WMWorkflowException(Code)



requestAppStatus
public WMAttribute[] requestAppStatus(int toolAgentHandle, String procInstId, String workItemId, int[] status) throws WMWorkflowException(Code)



setPackageContent
public void setPackageContent(String packageId, String content) throws WMWorkflowException(Code)



setPackageContent
public void setPackageContent(String packageId, String content, String contentType) throws WMWorkflowException(Code)



startProcess
public String startProcess(String procInstId) throws WMWorkflowException(Code)



terminateApp
public void terminateApp(int toolAgentHandle, String procInstId, String workItemId) throws WMWorkflowException(Code)



terminateProcessInstance
public void terminateProcessInstance(String procInstId) throws WMWorkflowException(Code)



terminateProcessInstances
public void terminateProcessInstances(String procDefId, WMFilter filter) throws WMWorkflowException(Code)



toolFinished
public void toolFinished(String procInstId, String workItemId, int appStatus, Parameter[] parms) throws WMWorkflowException(Code)



toolStarted
public void toolStarted(String procInstId, String workItemId) throws WMWorkflowException(Code)



updatePackage
public void updatePackage(XPDLPackage pkg) throws WMWorkflowException(Code)



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.