public class ADEPT2ActivityReference extends ADEPT2EBPReference
changedProperties, lockRUNTIME_MANAGER_URIS| Constructor and Description |
|---|
ADEPT2ActivityReference(EBPInstanceReference ebpInstanceReference,
ActivityInstance activityInstance,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
Creates a new activity reference object for ADEPT2-activities based on the
designated EBP-Instance-Reference.
|
ADEPT2ActivityReference(EBPType type,
java.util.UUID instanceId,
java.util.UUID instanceLogId,
java.util.UUID baseTemplateId,
int nodeId,
int iteration,
java.lang.String executableComponentName,
java.lang.String guiContextId,
boolean supportsViewOnly,
java.net.URI[] executionManagerUris,
java.net.URI[] runtimeManagerUris,
ExecutionControlProperties executionControlProperties,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
Creates a new activity reference object for ADEPT2-activities.
|
ADEPT2ActivityReference(java.util.UUID instanceId,
java.util.UUID instanceLogId,
java.util.UUID baseTemplateId,
int nodeId,
int iteration,
java.lang.String executableComponentName,
java.lang.String guiContextId,
java.net.URI[] executionManagerUris,
ExecutionControlProperties executionControlProperties,
java.util.Map<java.lang.String,java.lang.String> userAttributes,
boolean supportsViewOnly)
Creates a new activity reference object for ADEPT2-activities with no
runtime manager set.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getExecutableComponentName()
Gets the name of the executable component of the underlying activity in
case this is
an activity. |
java.lang.String |
getGUIContextID()
Gets the ID of the
GUIContext the
referenced activity/EBP needs. |
boolean |
supportsViewOnly()
Whether the activity supports the view-only-mode.
|
equals, getActivityReferenceType, getBaseTemplateID, getChangedProperties, getExecutionControlProperties, getExecutionManagerURIs, getInstanceID, getInstanceLogId, getNodeID, getNodeIteration, getRuntimeManagerURIs, getType, hashCode, setRuntimeManagerURIs, toStringgetUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributes, setUserAttributeValue, subEquals, subHashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuepublic ADEPT2ActivityReference(EBPType type, java.util.UUID instanceId, java.util.UUID instanceLogId, java.util.UUID baseTemplateId, int nodeId, int iteration, java.lang.String executableComponentName, java.lang.String guiContextId, boolean supportsViewOnly, java.net.URI[] executionManagerUris, java.net.URI[] runtimeManagerUris, ExecutionControlProperties executionControlProperties, java.util.Map<java.lang.String,java.lang.String> userAttributes)
type - The EBP type of the activity reference.instanceId - The (logical) ID of the ADEPT2 process instance.instanceLogId - The (unchangeable) log ID of the ADEPT2 process instance.baseTemplateId - nodeId - The ID of the corresponding node.iteration - The current iteration of the node.executableComponentName - guiContextId - The ID of the GUI context the referenced activity needs.executionManagerUris - The URI of the execution manager responsible for the corresponding
process instance.runtimeManagerUris - The URI of the
RuntimeManager used for executing the
referenced EBP-Instance or null in case it is yet unknown.executionControlProperties - The execution control properties as defined for the
corresponding ExecutableBusinessProcessInstance.userAttributes - The user attributes of this reference.supportsViewOnly - Whether the activity supports the view-only-mode.public ADEPT2ActivityReference(java.util.UUID instanceId,
java.util.UUID instanceLogId,
java.util.UUID baseTemplateId,
int nodeId,
int iteration,
java.lang.String executableComponentName,
java.lang.String guiContextId,
java.net.URI[] executionManagerUris,
ExecutionControlProperties executionControlProperties,
java.util.Map<java.lang.String,java.lang.String> userAttributes,
boolean supportsViewOnly)
instanceId - The (logical) ID of the ADEPT2 process instance.instanceLogId - The (unchangeable) log ID of the ADEPT2 process instance.baseTemplateId - nodeId - The ID of the corresponding node.iteration - The current iteration of the node.executableComponentName - guiContextId - The ID of the GUI context the referenced activity needs.executionManagerUris - The URI of the execution manager responsible for
the corresponding process instance.executionControlProperties - The execution control properties as
defined for the corresponding
ExecutableBusinessProcessInstance.userAttributes - The user attributes of this reference.supportsViewOnly - Whether the activity supports the view-only-mode.public ADEPT2ActivityReference(EBPInstanceReference ebpInstanceReference, ActivityInstance activityInstance, java.util.Map<java.lang.String,java.lang.String> userAttributes)
ebpInstanceReference - The reference to the corresponding EBP
containing all information on identifying the EBP in the process
context, for instance, instance ID, node ID and node iteration.activityInstance - The corresponding activity-instance containing the
(resolved) node and activity names, descriptions and further
meta-information of the activity, for instance,
ExecutionControlProperties.userAttributes - The user attributes of this reference.public java.lang.String getExecutableComponentName()
ADEPT2EBPReferencean activity. Otherwise null
will be returned.getExecutableComponentName in class ADEPT2EBPReferencean activity, otherwise
null.public java.lang.String getGUIContextID()
ADEPT2EBPReferenceGUIContext the
referenced activity/EBP needs. This allows the user to differentiate
whether the worklist item can be executed on the current client. In case of
a lightweight process,
GUIConstants.NULL_CONTEXT will
be returned.getGUIContextID in class ADEPT2EBPReferenceGUIContext
the referenced activity/EBP needs.AbstractActivity.getGUIContextID()public boolean supportsViewOnly()