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