Class LWPActivityReference
java.lang.Object
de.aristaflow.adept2.model.common.defaultimplementation.DefaultUserAttributeContainer
de.aristaflow.adept2.model.common.defaultimplementation.SerialisableUserAttributeContainer
de.aristaflow.adept2.model.worklistmodel.ADEPT2EBPReference
de.aristaflow.adept2.model.worklistmodel.LWPActivityReference
- All Implemented Interfaces:
PropertyTracker,UserAttributeContainer,EBPInstanceReference,ActivityReference,Adept2EbpRefProperties,Serializable
An activity reference to an ADEPT2 lightweight-process represented by a node
of a process instance.
- Author:
- Kevin Goeser, Ulrich Kreher
- See Also:
-
Field Summary
Fields inherited from class de.aristaflow.adept2.model.worklistmodel.ADEPT2EBPReference
changedProperties, lockFields inherited from interface de.aristaflow.adept2.model.worklistmodel.Adept2EbpRefProperties
RUNTIME_MANAGER_URIS -
Constructor Summary
ConstructorsConstructorDescriptionLWPActivityReference(EBPInstanceReference ebpInstanceReference, LightWeightProcessInstance lwpInstance, Map<String, String> userAttributes) Creates a new activity reference object for ADEPT2-LWPs based on the designated EBP-Instance-Reference.LWPActivityReference(UUID instanceId, UUID instanceLogId, UUID baseTemplateId, int nodeId, int iteration, URI[] executionManagerUris, ExecutionControlProperties executionControlProperties, Map<String, String> userAttributes) Creates a new activity reference object for ADEPT2-LWPs with no runtime manager set.LWPActivityReference(UUID instanceId, UUID instanceLogId, UUID baseTemplateId, int nodeId, int iteration, URI[] executionManagerUris, URI[] runtimeManagerUris, ExecutionControlProperties executionControlProperties, Map<String, String> userAttributes) Creates a new activity reference object for ADEPT2-LWPs. -
Method Summary
Modifier and TypeMethodDescriptionGets the name of the executable component of the underlying activity in case this isan activity.Gets the ID of theGUIContextthe referenced activity/EBP needs.Methods inherited from class de.aristaflow.adept2.model.worklistmodel.ADEPT2EBPReference
equals, getActivityReferenceType, getBaseTemplateID, getChangedProperties, getExecutionControlProperties, getExecutionManagerURIs, getInstanceID, getInstanceLogId, getNodeID, getNodeIteration, getRuntimeManagerURIs, getType, hashCode, setRuntimeManagerURIs, toStringMethods inherited from class de.aristaflow.adept2.model.common.defaultimplementation.DefaultUserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributes, setUserAttributeValue, subEquals, subHashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.aristaflow.adept2.model.common.UserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValue
-
Constructor Details
-
LWPActivityReference
public LWPActivityReference(UUID instanceId, UUID instanceLogId, UUID baseTemplateId, int nodeId, int iteration, URI[] executionManagerUris, URI[] runtimeManagerUris, ExecutionControlProperties executionControlProperties, Map<String, String> userAttributes) Creates a new activity reference object for ADEPT2-LWPs.- Parameters:
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.executionManagerUris- The URI of the execution manager responsible for the corresponding process instance.runtimeManagerUris- The URI of theRuntimeManagerused for executing the referenced EBP-Instance or null in case it is yet unknown.executionControlProperties- The execution control properties as defined for the correspondingExecutableBusinessProcessInstance.userAttributes- The user attributes of this reference.
-
LWPActivityReference
public LWPActivityReference(UUID instanceId, UUID instanceLogId, UUID baseTemplateId, int nodeId, int iteration, URI[] executionManagerUris, ExecutionControlProperties executionControlProperties, Map<String, String> userAttributes) Creates a new activity reference object for ADEPT2-LWPs with no runtime manager set.- Parameters:
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.executionManagerUris- The URI of the execution manager responsible for the corresponding process instance.executionControlProperties- The execution control properties as defined for the correspondingExecutableBusinessProcessInstance.userAttributes- The user attributes of this reference.
-
LWPActivityReference
public LWPActivityReference(EBPInstanceReference ebpInstanceReference, LightWeightProcessInstance lwpInstance, Map<String, String> userAttributes) Creates a new activity reference object for ADEPT2-LWPs based on the designated EBP-Instance-Reference.- Parameters:
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.lwpInstance- The corresponding instance of the lightweight process 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.
-
-
Method Details
-
getExecutableComponentName
Description copied from class:ADEPT2EBPReferenceGets the name of the executable component of the underlying activity in case this isan activity. Otherwisenullwill be returned.- Specified by:
getExecutableComponentNamein classADEPT2EBPReference- Returns:
- The name of the executable component of the underlying activity if
this is
an activity, otherwisenull.
-
getGUIContextID
Description copied from class:ADEPT2EBPReferenceGets the ID of theGUIContextthe 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_CONTEXTwill be returned.- Specified by:
getGUIContextIDin classADEPT2EBPReference- Returns:
- The ID of the
GUIContextthe referenced activity/EBP needs. - See Also:
-