public class ActivityClass extends Identity implements JSONCacheable, XMLable, AppianTypeHolder
Modifier and Type | Field and Description |
---|---|
static java.lang.Long |
OUTPUT_EXPRESSION_TYPE_CUSTOM |
static java.lang.Long |
OUTPUT_EXPRESSION_TYPE_RESULT |
static java.lang.Long |
OUTPUT_EXPRESSION_TYPE_SAVE_INTO |
static int |
UA_CAN_BE_ATTENDED |
static int |
UA_CAN_BE_BOTH |
static int |
UA_CAN_BE_UNATTENDED |
hiddenAttributes$TRANSIENT
DEFAULT_BUFFER_SIZE
Constructor and Description |
---|
ActivityClass() |
ActivityClass(ActivityClassSchema schema_) |
Modifier and Type | Method and Description |
---|---|
void |
fillInAppianTypes(AppianTypeCache cache_)
If the implementing class references any Appian-typed objects (such as
User, Group, Folder), this method should be implemented to put the
primary keys of these objects in the given cache.
|
java.lang.Long |
getAcSchemaId()
Gets the Activity Class Schema ID of this activity class
|
ActivityClassParameter[] |
getCustomParameters()
Gets the list of parameters that have been added at design time, and
need to be available at runtime.
|
FormConfig |
getFormConfig(java.util.Locale locale_)
Gets the form config corresponding to the given locale, or null if
no such config exists.
|
FormConfigMap |
getFormConfigMap()
Gets the information about the form associated with this activity class.
|
java.lang.String |
getHelperClass()
Gets the helper class for this activity class.
|
java.util.HashSet |
getHiddenAttributes()
Returns the set of attributes (properties) that should not be included in
the JSON representation of the object.
|
java.lang.String |
getLocalId()
Gets the Activity Class Local ID of this activity class
|
java.lang.String[] |
getOutputExpressions()
Gets the expressions that are evaluated at the end of the activity.
|
java.lang.Long[] |
getOutputExpressionsFlags()
Gets the expression flags for the output expressions.
|
ActivityClassParameter[] |
getParameters()
Gets the list of parameters of the activity class.
|
java.lang.Long |
getRunAs()
Gets the role (such as process initiator) that this task should ran as
if it is unassigned.
|
java.lang.Long |
getUnattended()
Indicates whether the activity class requires user interaction to complete
|
void |
setAcSchemaId(java.lang.Long acSchemaId_)
Sets the Activity Class Schema ID of this activity class
|
void |
setCustomParameters(ActivityClassParameter[] customParameters_)
Sets the list of parameters that have been added at design time, and
need to be available at runtime.
|
void |
setFormConfigMap(FormConfigMap formConfigMap_)
Sets the information about the form associated with this activity class
|
void |
setHelperClass(java.lang.String helperClass_)
Sets the helper class for this activity class.
|
void |
setLocalId(java.lang.String localId_)
Sets the Activity Class Local ID of this activity class
|
void |
setOutputExpressions(java.lang.String[] outputExpressions_)
Sets the expressions that are evaluated at the end of the activity.
|
void |
setOutputExpressionsFlags(java.lang.Long[] outputExpressionsFlags_)
Sets the expression flags These define what type of output expression each value of
the outputExpression array contains.
|
void |
setParameters(ActivityClassParameter[] parameters_)
Gets the list of parameters of the activity class.
|
void |
setRunAs(java.lang.Long runAs_)
Sets the role (such as process initiator) that this task should ran as
if it is unassigned.
|
void |
setUnattended(java.lang.Long unattended_)
Sets whether the activity class requires user interaction to complete
|
java.lang.String |
toString()
Returns a string representation of the
Identity . |
java.lang.String |
toXML()
Generates an XML representation of this object (including all
child objects).
|
void |
toXML(java.lang.StringBuffer buffer_)
Appends an XML representation of this object (including all
child objects) to the given buffer.
|
void |
toXML(java.lang.StringBuilder buffer_)
Appends an XML representation of this object (including all
child objects) to the given buffer.
|
public static final int UA_CAN_BE_ATTENDED
public static final int UA_CAN_BE_UNATTENDED
public static final int UA_CAN_BE_BOTH
public static final java.lang.Long OUTPUT_EXPRESSION_TYPE_CUSTOM
public static final java.lang.Long OUTPUT_EXPRESSION_TYPE_RESULT
public static final java.lang.Long OUTPUT_EXPRESSION_TYPE_SAVE_INTO
public ActivityClass()
public ActivityClass(ActivityClassSchema schema_)
public java.util.HashSet getHiddenAttributes()
JSONable
getHiddenAttributes
in interface JSONable
public ActivityClassParameter[] getParameters()
ActivityClassParameter
objects
representing the activity class parameters for this activity class.ActivityClassParameter
public void setParameters(ActivityClassParameter[] parameters_)
parameters_
- an array of ActivityClassParameter
objects
representing the activity class parameters to set for this activity class.ActivityClassParameter
public java.lang.Long getUnattended()
UA_CAN_BE_ATTENDED
if the activity class is attended (requires human interaction),
UA_CAN_BE_UNATTENDED
if the activity class is unattended.public void setUnattended(java.lang.Long unattended_)
unattended_
- unattended value of the activity class. Allowed values
are : UA_CAN_BE_ATTENDED
if the activity class is attended (requires human interaction),
UA_CAN_BE_UNATTENDED
if the activity class is unattended.public java.lang.String toXML()
XMLable
StringBuilder
and call
toXML( StringBuilder )
on it.public void toXML(java.lang.StringBuffer buffer_)
XMLable
public void toXML(java.lang.StringBuilder buffer_)
XMLable
public java.lang.String toString()
Identity
Identity
. In general,
the toString method returns a string that "textually represents" this
object.public java.lang.Long getAcSchemaId()
public void setAcSchemaId(java.lang.Long acSchemaId_)
acSchemaId_
- the Activity Class Schema ID of this activity class
to setpublic void fillInAppianTypes(AppianTypeCache cache_)
AppianTypeHolder
fillInAppianTypes
in interface AppianTypeHolder
cache_
- cache of Appian-typed objects.public java.lang.Long getRunAs()
Long
indicating the role to set (0 = process
initiator, 1 = process model designer)public void setRunAs(java.lang.Long runAs_)
runAs_
- a Long
indicating the role to set (0 = process
initiator, 1 = process model designer)public ActivityClassParameter[] getCustomParameters()
ActivityClassParameter
objects
representing the activity class parameters for this activity class.ActivityClassParameter
public void setCustomParameters(ActivityClassParameter[] customParameters_)
customParameters_
- an array of ActivityClassParameter
objects
representing the activity class parameters to set for this activity class.ActivityClassParameter
public java.lang.String[] getOutputExpressions()
public void setOutputExpressions(java.lang.String[] outputExpressions_)
outputExpressions_
- an array containing the evaluated expressions to
setpublic java.lang.Long[] getOutputExpressionsFlags()
OUTPUT_EXPRESSION_TYPE_CUSTOM
,
OUTPUT_EXPRESSION_TYPE_RESULT
or
OUTPUT_EXPRESSION_TYPE_SAVE_INTO
public void setOutputExpressionsFlags(java.lang.Long[] outputExpressionsFlags_)
OUTPUT_EXPRESSION_TYPE_CUSTOM
,
OUTPUT_EXPRESSION_TYPE_RESULT
or
OUTPUT_EXPRESSION_TYPE_SAVE_INTO
outputExpressionsFlags_
- the array of output expression flags
setpublic FormConfigMap getFormConfigMap()
FormConfig
object that represents information about
the form associated with this activity classFormConfig
public FormConfig getFormConfig(java.util.Locale locale_)
locale_
- public void setFormConfigMap(FormConfigMap formConfigMap_)
formConfigMap_
- a FormConfig
object that represents
information about the form associated with this activity class to setpublic java.lang.String getHelperClass()
ActivityParameterHelper
class for more information on the specific functionality of a helper
class.public void setHelperClass(java.lang.String helperClass_)
helperClass_
- the helper classgetHelperClass()
public java.lang.String getLocalId()
public void setLocalId(java.lang.String localId_)
localId_
- the Activity Class Local ID of this activity class
to setCopyright © 2003-2024 Appian Corporation. All Rights Reserved.