public class ApplicationAction
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Application
. The action
is backed by a Process Model, which executes when the action is triggered.Constructor and Description |
---|
ApplicationAction()
No-args constructor necessary for Import/Export, since when importing the bean is reconstructed
piece by piece.
|
ApplicationAction(java.lang.String displayLabel,
java.lang.String processModelUuid)
Creates a new Application Action with the given user friendly label, and process model UUID.
|
ApplicationAction(java.lang.String displayLabel,
java.lang.String processModelUuid,
java.lang.String description)
Creates a new Application Action with the given user friendly label, process model UUID, and
description of the action.
|
ApplicationAction(java.lang.String displayLabel,
java.lang.String processModelUuid,
java.lang.String description,
java.lang.String actionUuid)
Creates a new Application Action with the given user friendly label, process model UUID,
description, and action UUID of the action.
|
Modifier and Type | Method and Description |
---|---|
ApplicationAction |
clone() |
java.lang.String |
getActionUuid()
Retrieves the UUID of the
ApplicationAction . |
java.lang.String |
getDescription()
Retrieves a description of this action.
|
java.lang.String |
getDisplayLabel()
Retrieves the user friendly name for this action.
|
java.lang.String |
getProcessModelUuid()
Retrieves the UUID of the
AbstractProcessModel that executes the action. |
void |
setActionUuid(java.lang.String actionUuid)
Sets the UUID of the
ApplicationAction . |
void |
setDescription(java.lang.String description)
Sets a description of this action.
|
void |
setDisplayLabel(java.lang.String displayLabel)
Sets the user friendly name for this action.
|
void |
setProcessModelUuid(java.lang.String processModelUuid)
Sets the UUID of the
AbstractProcessModel that executes the action. |
ApplicationActionBean |
toApplicationActionBean()
Constructs an ApplicationActionBean and returns it
|
void |
validate()
Validates that this
ApplicationAction is correct. |
public ApplicationAction()
validate()
.public ApplicationAction(java.lang.String displayLabel, java.lang.String processModelUuid)
displayLabel
- The user friendly label to use when displaying this action.processModelUuid
- The UUID of the process model that executes as part of this action.public ApplicationAction(java.lang.String displayLabel, java.lang.String processModelUuid, java.lang.String description)
displayLabel
- The user friendly label to use when displaying this action.processModelUuid
- The UUID of the process model that executes as part of this action.description
- The description of the action.public ApplicationAction(java.lang.String displayLabel, java.lang.String processModelUuid, java.lang.String description, java.lang.String actionUuid)
displayLabel
- The user friendly label to use when displaying this action.processModelUuid
- The UUID of the process model that executes as part of this action.description
- The description of the action.actionUuid
- The UUID of the application action.public ApplicationActionBean toApplicationActionBean()
public ApplicationAction clone()
clone
in class java.lang.Object
public void validate() throws InvalidActionException
ApplicationAction
is correct. A valid Action
consists of a Non-empty associated process model UUID and action's display label.InvalidActionException
- If the action is invalid, per the description above.@ConvertWith(value=com.appiancorp.kougar.mapper.parameters.UuidParameterConverter.class) public java.lang.String getProcessModelUuid()
AbstractProcessModel
that executes the action.public void setProcessModelUuid(java.lang.String processModelUuid)
AbstractProcessModel
that executes the action.processModelUuid
- The process model UUID that executes the action.@ConvertWith(value=com.appiancorp.kougar.mapper.parameters.UuidParameterConverter.class) public java.lang.String getActionUuid()
ApplicationAction
.public void setActionUuid(java.lang.String actionUuid)
ApplicationAction
.actionUuid
- The action UUID.public java.lang.String getDisplayLabel()
public void setDisplayLabel(java.lang.String displayLabel)
displayLabel
- A user friendly name to use when displaying this action.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- A description of this action.Copyright © 2003-2024 Appian Corporation. All Rights Reserved.