public class UserConfirmationGateway extends ProcessElement
If the user clicks OK,
the nextElement is chosen, otherwise the choice is
failureElement.
config, configOnly, factoryCreated, factoryProperties, id, scClassName| Constructor and Description |
|---|
UserConfirmationGateway() |
UserConfirmationGateway(com.google.gwt.core.client.JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.core.client.JavaScriptObject |
create() |
java.lang.String |
getFailureElement()
ID of the next sequence or element to proceed to if the criteria do not match.
|
java.lang.String |
getMessage()
Message to display to the user for confirmation.
|
java.lang.String |
getNextElement()
|
static UserConfirmationGateway |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
UserSummary |
getTextFormula()
Formula to be used to calculate the message contents.
|
UserConfirmationGateway |
setFailureElement(java.lang.String failureElement)
ID of the next sequence or element to proceed to if the criteria do not match.
|
UserConfirmationGateway |
setMessage(java.lang.String message)
Message to display to the user for confirmation.
|
UserConfirmationGateway |
setNextElement(java.lang.String nextElement)
|
UserConfirmationGateway |
setTextFormula(UserSummary textFormula)
Formula to be used to calculate the message contents.
|
convertToJavaScriptArray, getClassDescription, getDescription, getEditorType, getElementDescription, getID, getJsObj, getOrCreateJsObj, getPassThruOutput, getProcessElements, getTitle, isCreated, onInit, setAttribute, setClassDescription, setDescription, setEditorType, setID, setJavaScriptObject, setPassThruOutput, setTitleaddDynamicProperty, addDynamicProperty, addDynamicProperty, applyFactoryProperties, asSGWTComponent, clearDynamicProperty, createJsObj, destroy, doAddHandler, doInit, error, error, errorIfNotCreated, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsJavaScriptObject, getAttributeAsMap, getAttributeAsString, getAttributeAsStringArray, getClassName, getConfig, getHandlerCount, getRef, getRuleScope, getScClassName, getTestInstance, hasAutoAssignedID, hasDynamicProperty, internalSetID, internalSetID, isConfigOnly, isFactoryCreated, onBind, registerID, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setConfig, setConfigOnly, setFactoryCreated, setProperty, setProperty, setProperty, setProperty, setRuleScope, setScClassNamepublic UserConfirmationGateway()
public UserConfirmationGateway(com.google.gwt.core.client.JavaScriptObject jsObj)
public static UserConfirmationGateway getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public com.google.gwt.core.client.JavaScriptObject create()
create in class ProcessElementpublic UserConfirmationGateway setFailureElement(java.lang.String failureElement) throws java.lang.IllegalStateException
failureElement - New failureElement value. Default value is nullUserConfirmationGateway instance, for chaining setter callsjava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic java.lang.String getFailureElement()
public UserConfirmationGateway setMessage(java.lang.String message) throws java.lang.IllegalStateException
textFormula.message - New message value. Default value is nullUserConfirmationGateway instance, for chaining setter callsjava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic java.lang.String getMessage()
textFormula.public UserConfirmationGateway setNextElement(java.lang.String nextElement) throws java.lang.IllegalStateException
sequence or element to execute if the criteria match the process state.
nextElement does not need to be specified if this gateway is part of a sequence and has a next element in the sequence.
Note that
if there is both a sequence and a normal element with the same name in the current
Process, the sequence will be used.
setNextElement in class ProcessElementnextElement - New nextElement value. Default value is nullUserConfirmationGateway instance, for chaining setter callsjava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic java.lang.String getNextElement()
sequence or element to execute if the criteria match the process state.
nextElement does not need to be specified if this gateway is part of a sequence and has a next element in the sequence.
Note that
if there is both a sequence and a normal element with the same name in the current
Process, the sequence will be used.
getNextElement in class ProcessElementpublic UserConfirmationGateway setTextFormula(UserSummary textFormula) throws java.lang.IllegalStateException
message property to assign a static message
instead. Available fields for use in the formula are the current rule context.
textFormula - New textFormula value. Default value is nullUserConfirmationGateway instance, for chaining setter callsjava.lang.IllegalStateException - this property cannot be changed after the underlying component has been createdpublic UserSummary getTextFormula()
message property to assign a static message
instead. Available fields for use in the formula are the current rule context.