public class ActivityClassParameter extends ActivityClassParameterSchema implements com.appiancorp.process.runtime.forms.FormParameter, Validatable, java.io.Serializable, JSONCacheable, DeepCloneable, com.appiancorp.type.ExpressionableNamedTypedValue
ActivityClass
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected java.lang.Object[] |
_interiorExpressions |
classType$TRANSIENT, dataType$TRANSIENT, detailedTypes$TRANSIENT, displayName$TRANSIENT, LOCAL_COMMUNITY, LOCAL_DOCUMENT, LOCAL_EMAIL_ADDRESS, LOCAL_FOLDER, LOCAL_FORUM, LOCAL_GROUP, LOCAL_KC, LOCAL_MESSAGE, LOCAL_NODE, LOCAL_PAGE, LOCAL_PM, LOCAL_PORTLET, LOCAL_PROCESS, LOCAL_TASK, LOCAL_TOPIC, LOCAL_USER, MAX_TYPE, multipleSupportingType$TRANSIENT
QNAME
ALWAYS, AT_DESIGNER_DISCRETION, clearPasswordOnTransport, NEVER, TO_STRING_STYLE
MUTABLE_AT_DESIGNER_DISCRETION, MUTABLE_BY_END_USER, MUTABLE_NOT_BY_END_USER, NULLABLE_ADMIN_AND_DESIGN, NULLABLE_BY_ALL, NULLABLE_NOT_AT_ALL
hiddenAttributes$TRANSIENT
DEFAULT_BUFFER_SIZE
CONSTANT, CONTENT, CUSTOM_CONTENT_ITEM, DATETIME, DURATION, FREEFORM_RULE, LONG, PEOPLE, PROCESSMODEL_FOLDER, RULE, TEMPLATE, USER
ADMINISTERED_PROPERTY, ALIAS, APPLICATION, ARRAY, ATTACHMENT, BEAN, BIG_RATIONAL, BINARY, BOOLEAN, CHART_COLOR, COMMUNITY, CONNECTED_SYSTEM, CONTENT_COMMUNITY, CONTENT_CONSTANT, CONTENT_CUSTOM, CONTENT_DOCUMENT, CONTENT_FOLDER, CONTENT_FREEFORM_RULE, CONTENT_ITEM, CONTENT_KNOWLEDGE_CENTER, CONTENT_RULE, CURRENCY, DATA_SOURCE, DATA_STORE, DATA_STORE_ENTITY, DATATYPE, DATE, DECISION, DECISION_TABLE, DECRYPTED_TEXT, DEFERRED, DICTIONARY, DISCUSSION_THREAD, DOCUMENT, DOCUMENT_OR_FOLDER, DOUBLE, EMAIL_ADDRESS, EMAIL_RECIPIENT, EMBEDDED_SAIL_THEME_ID, ENCRYPTED_TEXT, EVENT, EXPRESSION, EXTERNAL_REFERENCE, EXTERNAL_REFERENCE_WITH_INDICES, EXTERNAL_SYSTEM_ID, FIXED, FOLDER, FORUM, GROUP, GROUP_TYPE, ID_REFERENCE, INITIAL_CUSTOM_TYPE, INTEGER, INTEGER_KEY, INTERFACE, INTERVAL_D_S, KNOWLEDGE_CENTER, LINKS_CHANNEL_FOLDER, LIST, LIST_OF_ADMINISTERED_PROPERTY, LIST_OF_APPLICATION, LIST_OF_ATTACHMENT, LIST_OF_BEAN, LIST_OF_BIG_RATIONAL, LIST_OF_BINARY, LIST_OF_BOOLEAN, LIST_OF_CHART_COLOR, LIST_OF_COMMUNITY, LIST_OF_CONNECTED_SYSTEM, LIST_OF_CONTENT_COMMUNITY, LIST_OF_CONTENT_CONSTANT, LIST_OF_CONTENT_CUSTOM, LIST_OF_CONTENT_DOCUMENT, LIST_OF_CONTENT_FOLDER, LIST_OF_CONTENT_FREEFORM_RULE, LIST_OF_CONTENT_ITEM, LIST_OF_CONTENT_KNOWLEDGE_CENTER, LIST_OF_CONTENT_RULE, LIST_OF_CURRENCY, LIST_OF_DATA_SOURCE, LIST_OF_DATA_STORE, LIST_OF_DATA_STORE_ENTITY, LIST_OF_DATATYPE, LIST_OF_DATE, LIST_OF_DECISION, LIST_OF_DECISION_TABLE, LIST_OF_DECRYPTED_TEXT, LIST_OF_DEFERRED, LIST_OF_DICTIONARY, LIST_OF_DISCUSSION_THREAD, LIST_OF_DOCUMENT, LIST_OF_DOCUMENT_OR_FOLDER, LIST_OF_DOUBLE, LIST_OF_EMAIL_ADDRESS, LIST_OF_EMAIL_RECIPIENT, LIST_OF_EMBEDDED_SAIL_THEME_ID, LIST_OF_ENCRYPTED_TEXT, LIST_OF_EVENT, LIST_OF_EXPRESSION, LIST_OF_EXTERNAL_REFERENCE, LIST_OF_EXTERNAL_REFERENCE_WITH_INDICES, LIST_OF_EXTERNAL_SYSTEM_ID, LIST_OF_FIXED, LIST_OF_FOLDER, LIST_OF_FORUM, LIST_OF_GROUP, LIST_OF_GROUP_TYPE, LIST_OF_ID_REFERENCE, LIST_OF_INTEGER, LIST_OF_INTEGER_KEY, LIST_OF_INTERFACE, LIST_OF_INTERVAL_D_S, LIST_OF_KNOWLEDGE_CENTER, LIST_OF_LINKS_CHANNEL_FOLDER, LIST_OF_MAP, LIST_OF_MESSAGE, LIST_OF_NOTE, LIST_OF_NULL, LIST_OF_OUTBOUND_INTEGRATION, LIST_OF_PAGE, LIST_OF_PASSWORD, LIST_OF_PORTLET, LIST_OF_PROCESS, LIST_OF_PROCESS_ERROR, LIST_OF_PROCESS_MODEL, LIST_OF_PROCESS_MODEL_FOLDER, LIST_OF_QUERY_RULE, LIST_OF_QUICK_APP, LIST_OF_RANGE, LIST_OF_RECORD, LIST_OF_RECORD_REFERENCE, LIST_OF_RECORD_TYPE_ID, LIST_OF_RICH_TEXT, LIST_OF_RULE_FOLDER, LIST_OF_SAFE_URI, LIST_OF_SITE, LIST_OF_STRING, LIST_OF_STRING_KEY, LIST_OF_TASK, LIST_OF_TASK_REPORT, LIST_OF_TEMPO_FEED, LIST_OF_TEMPO_REPORT, LIST_OF_TIME, LIST_OF_TIMESTAMP, LIST_OF_TYPE, LIST_OF_UNIFORM_FOLDER, LIST_OF_UNION, LIST_OF_USER_OR_GROUP, LIST_OF_USERNAME, LIST_OF_VARIANT, LIST_OF_WEB_API, MAP, MESSAGE, NOTE, NULL, OUTBOUND_INTEGRATION, PAGE, PASSWORD, PORTLET, PROCESS, PROCESS_ERROR, PROCESS_MODEL, PROCESS_MODEL_FOLDER, QUERY_RULE, QUICK_APP, RANGE, RECORD, RECORD_REFERENCE, RECORD_TYPE_ID, RICH_TEXT, RULE_FOLDER, SAFE_URI, SITE, STRING, STRING_KEY, TASK, TASK_REPORT, TEMPO_FEED, TEMPO_REPORT, TIME, TIMESTAMP, TYPE, UI_CONTAINER, UNIFORM_FOLDER, UNION, USER_OR_GROUP, USERNAME, VARIANT, WEB_API
Constructor and Description |
---|
ActivityClassParameter()
Creates a new activity class parameter
|
ActivityClassParameter(ActivityClassParameter acp_) |
ActivityClassParameter(ActivityClassParameterSchema schema_) |
ActivityClassParameter(NamedTypedValue ntv_) |
ActivityClassParameter(java.lang.String name_,
java.lang.Long type_,
java.lang.Object value_)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addAllMessages(java.util.List newMessages_)
Adds all of the messages in the given list to the collection of validation messages
maintained by this object.
|
void |
addValidationMessage(java.lang.String message_)
Adds the given validation message to the collection maintained by this object.
|
void |
clear()
Clear passwords.
|
void |
clearPasswordOnTransport(boolean clear)
Deprecated.
This is an internal method that will be removed from the public API.
|
void |
clearValidationMessages()
Clears the collection of validation messages accumulated by this object.
|
java.lang.Object |
clone()
Clone this object.
|
ActivityClassParameter |
copy()
Deprecated.
Can make copy externally.
|
static ActivityClassParameter |
findParameterByName(ActivityClassParameter[] params_,
java.lang.String name_)
Finds the parameter in the given array that has the given name.
|
ActivityClassParameter |
getACP(java.lang.String name_) |
java.lang.Long |
getAcpSchemaId()
Gets the Activity Class Parameter ID for this activity class parameter
|
java.lang.String |
getAssignToProcessVariable()
Gets the string name of the process variable to which the value of the activity class
parameter should be assigned
|
java.lang.String |
getExpression()
Gets the expression for this activity class parameter
|
java.lang.String |
getFriendlyName()
Gets a name that can be shown to an end user.
|
boolean |
getGenerated()
Determines whether this variable cannot be deleted in the designer, if it is a custom
ACP.
|
java.util.HashSet |
getHiddenAttributes()
Returns the set of attributes (properties) that should not be included in
the JSON representation of the object.
|
java.lang.Object[] |
getInteriorExpressions()
Gets the array that contains the interior expressions for this activity class
parameter
|
java.util.List |
getValidationMessages()
Retrieves the list of validation messages that have been added to this object by a
validator.
|
protected java.lang.String |
getXMLWrapperName() |
boolean |
isPasswordStored()
Used only for passwords and only in certain circumstances.
|
void |
setAcpSchemaId(java.lang.Long acpSchemaId_)
Sets the Activity Class Parameter ID for this activity class parameter
|
void |
setAssignToProcessVariable(java.lang.String saveToPv_)
Sets the string name of the process variable to which the value of the activity class
parameter should be assigned
|
protected void |
setClearPassword(boolean clear)
Deprecated.
This is an internal method that will be removed from the public API.
|
void |
setExpression(java.lang.String expression_)
Sets the expression for this activity class parameter
|
void |
setGenerated(boolean generated_)
Determines whether this variable was generated in the designer.
|
void |
setInteriorExpressions(java.lang.Object[] interiorExpressions_)
Sets the interior expressions for this activity class parameter.
|
void |
setValue(java.lang.Object value_)
Sets the value of the typed variable.
|
boolean |
shouldClear()
Does this ACP need to clear passwords?
|
getComment, getCustomDisplayReference, getEnumeration, getHiddenFromDesigner, getId, getInputToAc, getLocalId, getMutable, getNullable, getPrompt, getRequired, isRequired, setComment, setCustomDisplayReference, setEnumeration, setHiddenFromDesigner, setId, setInputToAc, setLocalId, setMutable, setNullable, setPrompt, setRequired, setRequired, toXML
appendFullName, appendLocalObject, appendLocalObject, appendLocalObjects, appendLocalObjects, children, computeDisplayString, computeDisplayString, computeValueString, computeValueStringForUiOutput, convertFromLocalObjectType, externalize, externalize, fillInAppianTypes, findAllWithKeyPrefix, findByName, getClassType, getDataType, getDefaultPvValue, getDefaultValue, getDetailedTypes, getInstanceClass, getKey, getMultiple, getNumericTypedObjectFromUiInput, getObjectTypeMappingFromType, getScalarTypedObject, getScalarTypedObject, getType, getTypedObjectFromUiInput, getTypedObjects, getTypedObjectsFromUiInput, getTypedVariables, getTypeForClass, getTypeFromObjectTypeMappingType, getUnderlyingClass, getXMLWrapperEnd, getXMLWrapperStart, handleTimestampValue, handleTimestampValueForUiOutput, integerToLong, internalize, isAppianType, isMultipleSupportingType, isNotDeferred, isValidType, putOrAppendTimestamp, putOrAppendValue, renderArrayAsCsv, renderArrayAsCsv, renderArrayAsCsv, renderArrayAsCsv, renderArrayAsCsvForUiOutput, renderArrayAsString, setDetailedTypes, setInstanceType, setKey, setMultiple, setType, setTypeMultiple, toString, toXML
equals, findNtvByName, findNtvIndexByName, getName, getNtvNames, hashCode, setName, toString
clearPasswordOnTransport, getInstanceType, getInstanceTypeIds, getTypeRef, getValue, setTypeRef
finalize, getClass, notify, notifyAll, wait, wait, wait
getInstanceType, getKey, getMultiple, getValue, isRequired, setDetailedTypes, setRequired
getDetailedTypes, getInstanceType, getKey, getMultiple, getMutable, getNullable, getType, getValue, setDetailedTypes, setInstanceType, setMultiple
getInstanceType, getValue, setInstanceType
public ActivityClassParameter()
public ActivityClassParameter(NamedTypedValue ntv_)
@Deprecated public ActivityClassParameter(java.lang.String name_, java.lang.Long type_, java.lang.Object value_)
name_
- the name of the parameter to settype_
- the type of the parameter. This must be one of the constants in
TypedVariable
.value_
- the value of the parameter to set.java.lang.IllegalArgumentException
- if type_ is not one of the constants from TypedVariable.TypedVariable
public ActivityClassParameter(ActivityClassParameter acp_)
public ActivityClassParameter(ActivityClassParameterSchema schema_)
public java.util.HashSet getHiddenAttributes()
JSONable
getHiddenAttributes
in interface JSONable
getHiddenAttributes
in class TypedVariable
public java.lang.Object clone()
clone
in interface DeepCloneable
clone
in class ActivityClassParameterSchema
protected java.lang.String getXMLWrapperName()
getXMLWrapperName
in class ActivityClassParameterSchema
public static ActivityClassParameter findParameterByName(ActivityClassParameter[] params_, java.lang.String name_)
null
.public java.lang.Long getAcpSchemaId()
public void setAcpSchemaId(java.lang.Long acpSchemaId_)
acpSchemaId_
- the Activity Class Parameter ID for this activity class parameterpublic java.lang.String getExpression()
getExpression
in interface com.appiancorp.type.ExpressionableNamedTypedValue
public void setExpression(java.lang.String expression_)
setExpression
in interface com.appiancorp.type.ExpressionableNamedTypedValue
expression_
- the expression for this activity class parameterpublic java.util.List getValidationMessages()
Validatable
getValidationMessages
in interface com.appiancorp.process.runtime.forms.FormParameter
getValidationMessages
in interface Validatable
String
s representing the validation messages.public void addValidationMessage(java.lang.String message_)
Validatable
getValidationMessages()
.addValidationMessage
in interface com.appiancorp.process.runtime.forms.FormParameter
addValidationMessage
in interface Validatable
message_
- The validation message to add.public void clearValidationMessages()
Validatable
getValidationMessages()
will return an empty list, unless there
are intervening calls to addValidationMessage()
.clearValidationMessages
in interface Validatable
public void addAllMessages(java.util.List newMessages_)
Validatable
addAllMessages
in interface Validatable
newMessages_
- A list of validation messages to add, each of which is a String
.public java.lang.String getFriendlyName()
Validatable
getKey()
. Some types of variables, however, have more
descriptive text sitting around, and can return that. Basically, end users know about
labels, not variable names.getFriendlyName
in interface Validatable
String
.public java.lang.String getAssignToProcessVariable()
public void setAssignToProcessVariable(java.lang.String saveToPv_)
saveToPv_
- the string name of the process variable to save to (this can be prefixed
with pv! e.g., processVar1 or pv!processVar1 both work.)public boolean getGenerated()
false
, which should suffice 99% of the time.true
if the user cannot delete this variablepublic void setGenerated(boolean generated_)
false
, which should suffice 99% of the time.generated_
- true
if the ACP was generatedpublic void setValue(java.lang.Object value_)
TypedValue
setValue
in interface com.appiancorp.process.runtime.forms.FormParameter
setValue
in interface Validatable
setValue
in interface com.appiancorp.type.ExpressionableNamedTypedValue
setValue
in class TypedVariable
value_
- The value to set the typed variable to.public boolean isPasswordStored()
public boolean shouldClear()
public void clear()
@Deprecated public ActivityClassParameter copy()
public ActivityClassParameter getACP(java.lang.String name_)
public void setInteriorExpressions(java.lang.Object[] interiorExpressions_)
interiorExpressions_
- the array with the Interior Expressions.public java.lang.Object[] getInteriorExpressions()
@Deprecated public void clearPasswordOnTransport(boolean clear)
clear
- @Deprecated protected void setClearPassword(boolean clear)
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.