public interface AbstractOperation extends UserAttributeContainer, PluginDataContainer
Operation used with
inheritance (in the GUI) as well as for storage.
This interface is not for public usage! It is only public due to a bug in
the javadoc-generation. Never cast one of the sub-interfaces
(Operation and StorageOperation) to this interface!
| Modifier and Type | Method and Description |
|---|---|
boolean |
areExecutionControlPropertiesInterhited()
Gets whether this operation inherits the execution control properties from
its executable component description.
|
ClassLoaderUsage |
getClassLoaderUsage()
Gets what classloader to use for the executable component of this
operation.
|
java.lang.String |
getDescription()
Gets a description for this operation for usage in the process model.
|
java.lang.String |
getDeveloperDescription()
Gets a description for the developer of the operation and the administrator
of the activity model.
|
ExecutionControlProperties |
getExecutionControlProperties()
Gets the interactions that the executable component of this operation
supports for controlling its execution, that is whether the component
responds to signals from the outside to suspend, reset or close the
component.
|
java.lang.String |
getGUIContextID()
Gets the ID of the GUI context the executable component of this operation
needs, for instance, an SWT or an AWT context.
|
java.util.UUID |
getIconID()
Gets the ID of the icon to use for process steps and worklist items for
this operation.
|
java.lang.String |
getImplementationClass()
Gets the name of the class implementing
ExecutableComponent
for the physical counterpart of the component description of this
operation. |
java.lang.String |
getLicenceInformation()
Gets the licence information for this operation.
|
java.lang.String |
getName()
Gets the name of this operation (unique with respect to the
ExecutableComponentDescription). |
ParameterChangePolicy |
getParameterChangePolicy()
Gets the parameter change policy for this operation, that is the supported
interface changes for this operation (add, change and/or remove
parameters).
|
long |
getRevision()
Gets the (base) revision of this operation which allows to track changes.
|
java.lang.String |
getStaffAssignmentRule()
Gets the staff assignment rule that is proposed by the developer of the
operation or the administrator of the activity model.
|
State |
getState()
Gets the current deployment state of this operation, that is whether it is
currently modified, it can be used or it may not be used any more.
|
byte[] |
getSystemComponent()
Gets the signature in case the executable component of this operation is a
privileged component and may access system services.
|
boolean |
isClassLoaderUsageInherited()
Gets whether this operation inherits the classloader usage from its
executable component description.
|
boolean |
isDeveloperDescriptionInherited()
Gets whether this operation inherits the developer description from its
executable component description.
|
boolean |
isGUIContextIDInherited()
Gets whether this operation inherits the GUI context ID from its executable
component description.
|
boolean |
isIconIDInherited()
Gets whether this operation inherits the icon from its executable component
description.
|
boolean |
isImplementationClassInherited()
Gets whether this operation inherits the implementation class from its
executable component description.
|
boolean |
isLicenceInformationInherited()
Gets whether this operation inherits the licence information from its
executable component description.
|
boolean |
isSystemComponentInherited()
Gets whether this operation inherits the system component signature from
its executable component description.
|
void |
removeOwnClassLoaderUsage()
Removes the classloader usage of this operation and inherits the value from
the corresponding executable component description again.
|
void |
removeOwnDeveloperDescription()
Removes the developer description of this operation and inherits the value
from the corresponding executable component description again.
|
void |
removeOwnExecutionControlProperties()
Removes the execution control properties of this operation and inherits
them from the corresponding executable component description again.
|
void |
removeOwnGUIContextID()
Removes the GUI context ID of this operation and inherits the value from
the corresponding executable component description again.
|
void |
removeOwnIconID()
Removes the icon of this operation and inherits the value from the
corresponding executable component description again.
|
void |
removeOwnImplementationClass()
Removes the implementation class of this operation and inherits the value
from the corresponding executable component description again.
|
void |
removeOwnLicenceInformation()
Removes the licence information of this operation and inherits the value
from the corresponding executable component description again.
|
void |
removeOwnSystemComponent()
Removes the system component signature of this operation and inherits the
value from the corresponding executable component description again.
|
void |
setClassLoaderUsage(ClassLoaderUsage classLoaderUsage)
Sets what classloader to use for the executable component of this
operation.
|
void |
setDescription(java.lang.String description)
Sets a description for this operation for usage in the process model.
|
void |
setDeveloperDescription(java.lang.String developerDescription)
Sets a description for the developer of the operation and the administrator
of the activity model.
|
void |
setExecutionControlProperties(ExecutionControlProperties ecp)
Sets the interactions that this operation supports for controlling its
execution, that is whether the corresponding component responds to signals
from the outside to suspend, reset or close the component.
|
void |
setGUIContextID(java.lang.String guiContextID)
Sets the ID of the GUI context the executable component of this operation
needs, for instance, an SWT or an AWT context; or
GUIConstants.NULL_CONTEXT if no GUI context is required. |
void |
setIconID(java.util.UUID iconID)
Sets the ID of the icon to use for process steps and worklist items for
this operation.
|
void |
setImplementationClass(java.lang.String implementationClass)
Sets the name of the class implementing
ExecutableComponent
for the physical counterpart of the component description of this
operation. |
void |
setLicenceInformation(java.lang.String licenceInformation)
Sets the licence information for this operation.
|
void |
setName(java.lang.String name)
Sets the name of this operation.
|
void |
setParameterChangePolicy(ParameterChangePolicy pcp)
Sets the parameter change policy for this operation, that is the supported
interface changes for this operation (add, change and/or remove
parameters).
|
void |
setStaffAssignmentRule(java.lang.String staffAssignmentRule)
Sets the staff assignment rule that is proposed by the developer of the
operation or the administrator of the activity model.
|
void |
setSupportsTestExecutionOnly(boolean supportsTestExecution)
Sets whether this operation supports a test execution.
|
void |
setSupportsViewOnly(boolean supportsViewOnly)
Sets whether this operation supports a view only mode.
|
void |
setSystemComponent(byte[] signature)
Sets the signature for the executable component of this operation which
allows privileged access to system services.
|
boolean |
supportsTestExecution()
Gets whether this operation supports a test execution.
|
boolean |
supportsViewOnly()
Gets whether this operation supports a view only mode.
|
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValuegetPluginData, getPluginDatas, getSupportedPluginsjava.lang.String getName()
ExecutableComponentDescription). This name is used in
configurations that apply at runtime for operation-specific configurations.
Therefore one may have configuration values for executable components as
well as operations.ExecutableComponentDescription).java.lang.String getDescription()
java.lang.String getDeveloperDescription()
This attribute overrides the corresponding parent attribute.
long getRevision()
IN_DEVELOPMENT but the revision remains until the branch
is released.
Only an operation having no released revision yet may change its name.
State getState()
Operation implicitly also sets all of its child entities to
outdated. However, the state is not directly propagated to child entities.
Rather before using an entity all of its parent entities have to be checked
for their state.java.lang.String getImplementationClass()
ExecutableComponent
for the physical counterpart of the component description of this
operation. null may be exceptionally
returned.
This attribute overrides the corresponding parent attribute.
ExecutableComponent
for the physical counterpart of the component description of this
operation which is instantiated and called at runtime. This may
exceptionally be null for operations that are only to
be executed with the runtime service.ClassLoaderUsage getClassLoaderUsage()
This attribute overrides the corresponding parent attribute.
byte[] getSystemComponent()
This attribute overrides the corresponding parent attribute.
java.lang.String getGUIContextID()
This attribute overrides the corresponding parent attribute.
GUIConstants.NULL_CONTEXT
if no GUI context is required.ExecutionControlProperties getExecutionControlProperties()
This attribute overrides the corresponding parent attribute.
boolean supportsViewOnly()
SessionContext.isViewOnly()boolean supportsTestExecution()
Operation.getTestConfiguration(),
SessionContext.isTestMode()java.util.UUID getIconID()
This attribute overrides the corresponding parent attribute.
java.lang.String getLicenceInformation()
This attribute overrides the corresponding parent attribute.
ParameterChangePolicy getParameterChangePolicy()
java.lang.String getStaffAssignmentRule()
void setName(java.lang.String name)
ExecutableComponentDescription. The name is used
in configurations that apply at runtime for operation-specific
configurations. Therefore one may have configuration values for executable
components as well as operations. This must neither be null nor the empty string. The designated name must not exist for the executable component description.
name - The name of this operation (unique with respect to the
ExecutableComponentDescription). This must neither be
null nor the empty string.void setDescription(java.lang.String description)
description - A description for this operation for usage in the
process model that may be displayed in worklists. Use the empty
string to unset the description.void setDeveloperDescription(java.lang.String developerDescription)
This attribute overrides the corresponding parent attribute.
developerDescription - A description for the developer of the
operation and the administrator of the activity model. This
description is not propagated to the process and is only part of
the activity model. Use the empty string to unset the developer
description (i.e. prevent it from being inherited) for this
entity.void setImplementationClass(java.lang.String implementationClass)
ExecutableComponent
for the physical counterpart of the component description of this
operation.
This attribute overrides the corresponding parent attribute.
implementationClass - The name of the class implementing
ExecutableComponent for the physical counterpart of
the component description of this operation which is instantiated
and called at runtime.void setClassLoaderUsage(ClassLoaderUsage classLoaderUsage)
This attribute overrides the corresponding
parent attribute.
classLoaderUsage - What classloader to use for executable component of
this operation; one for each execution, shared for all executions
of the same activity or the classloader of the AristaFlow
platform.void setSystemComponent(byte[] signature)
This attribute overrides the corresponding
parent attribute. This is only allowed in case this operation provides an
own implementation.
signature - A signature to verify the component to prevent harmful
components from system access. Use null for a
non-system component. An empty array is not allowed.void setGUIContextID(java.lang.String guiContextID)
GUIConstants.NULL_CONTEXT if no GUI context is required.
This attribute overrides the corresponding
parent
attribute. This is only allowed in case this operation provides an own
implementation.
guiContextID - The ID of the GUI context the executable component of
this operation needs to render its graphical user interface to.
Use GUIConstants.NULL_CONTEXT in case no GUI context is
needed.void setExecutionControlProperties(ExecutionControlProperties ecp)
This attribute overrides the corresponding
parent attribute. Overriding will only be allowed to more restrictive
properties, that is, suspending, reseting or closing may be prevented by
overriding but not enabled if this operation does not specify an own
implementation.
ecp - The interactions that the operation supports for controlling its
execution, that is whether the component responds to signals from
the outside to suspend, reset or close the component. Only more
restrictive properties are allowed when overriding in case of an
inherited implementation. Call
removeOwnExecutionControlProperties() to inherit the
properties from the parent entity.void setSupportsViewOnly(boolean supportsViewOnly)
supportsViewOnly - Whether this operation supports a view only mode to
re-execute the operation only for displaying input data as well as
the formerly written output data.SessionContext.isViewOnly()void setSupportsTestExecutionOnly(boolean supportsTestExecution)
supportsTestExecution - Whether this operation supports a test mode
without any critical side effects.Operation.getTestConfiguration(),
SessionContext.isTestMode()void setIconID(java.util.UUID iconID)
This attribute overrides the corresponding parent attribute.
iconID - The ID of the icon to use for process steps and worklist
items; the corresponding icon may be retrieved in various sizes
and formats. This must not be null since it is not
allowed to remove the icon of the parent entity.void setLicenceInformation(java.lang.String licenceInformation)
This attribute overrides the corresponding parent attribute.
licenceInformation - The licence information for this operation as
arbitrary string or the empty string.void setParameterChangePolicy(ParameterChangePolicy pcp)
The designated parameter change policy must not be null.
pcp - The parameter change policy for this operation that specifies
the supported interface changes for this operation. This must not
be null. void setStaffAssignmentRule(java.lang.String staffAssignmentRule)
staffAssignmentRule - The staff assignment rule that is proposed by
the developer of the operation or the administrator of the
activity model or an empty string.boolean isDeveloperDescriptionInherited()
getDeveloperDescription().void removeOwnDeveloperDescription()
boolean isImplementationClassInherited()
getImplementationClass().void removeOwnImplementationClass()
boolean isClassLoaderUsageInherited()
getClassLoaderUsage().void removeOwnClassLoaderUsage()
boolean isSystemComponentInherited()
getSystemComponent().void removeOwnSystemComponent()
boolean isGUIContextIDInherited()
getGUIContextID().void removeOwnGUIContextID()
boolean areExecutionControlPropertiesInterhited()
getGUIContextID().void removeOwnExecutionControlProperties()
The execution control properties will also be removed from this operation.
boolean isIconIDInherited()
getIconID().void removeOwnIconID()
boolean isLicenceInformationInherited()
getLicenceInformation().void removeOwnLicenceInformation()