public class GetDynamicComboList extends XMLRequest implements java.lang.Iterable<java.lang.String>
true
In this case the content of the prompt element depends on the values of other prompt elements. Therefore all prompt elements need to be passed in the constructor of this class. The values are sent to the Automation Engine in order to create a list of values.
Constructor and Description |
---|
GetDynamicComboList(java.lang.String variableName,
UC4ObjectName promptSet,
int runID,
TaskPromptSetContent... content)
Creates a new
GetDynamicComboList request in order to get the list of values of a dynamic ComboElement in a prompt. |
GetDynamicComboList(java.lang.String variableName,
UC4ObjectName promptSet,
ITaskItem task,
TaskPromptSetContent... content)
Creates a new
GetDynamicComboList request in order to get the list of values of a dynamic ComboElement in a prompt. |
GetDynamicComboList(java.lang.String variableName,
UC4ObjectName promptSet,
UC4Object object,
TaskPromptSetContent... content)
Creates a new
GetDynamicComboList request in order to get the list of values of a dynamic ComboElement in a prompt. |
Modifier and Type | Method and Description |
---|---|
protected void |
createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
Creates the XML Document for the request.
|
protected java.lang.String |
getSrc()
Returns the request source.
|
protected void |
handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
java.util.Iterator<java.lang.String> |
iterator()
Returns an Iterator to get the valus of a dynamic Combo Box.
|
int |
size()
Returns the number of elements in the Combo Box.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, isAllowedInClientZero, send, setMessageBox, showQuarantineNotification
public GetDynamicComboList(java.lang.String variableName, UC4ObjectName promptSet, int runID, TaskPromptSetContent... content)
GetDynamicComboList
request in order to get the list of values of a dynamic ComboElement in a prompt.variableName
- Name of the Variable (ComboElement)promptSet
- Name of the PromptSet which contains the variablerunID
- RunID of the taskcontent
- Content of all PromptSetspublic GetDynamicComboList(java.lang.String variableName, UC4ObjectName promptSet, UC4Object object, TaskPromptSetContent... content)
GetDynamicComboList
request in order to get the list of values of a dynamic ComboElement in a prompt.variableName
- Name of the Variable (ComboElement)promptSet
- Name of the PromptSet which contains the variableobject
- Objectcontent
- Content of all PromptSetspublic GetDynamicComboList(java.lang.String variableName, UC4ObjectName promptSet, ITaskItem task, TaskPromptSetContent... content)
GetDynamicComboList
request in order to get the list of values of a dynamic ComboElement in a prompt.variableName
- Name of the Variable (ComboElement)promptSet
- Name of the PromptSet which contains the variabletask
- Task in a Workflowcontent
- Content of all PromptSetsprotected java.lang.String getSrc()
XMLRequest
getSrc
in class XMLRequest
protected void createRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)
XMLRequest
createRequest
in class XMLRequest
doc
- Document, used to create new Elementsrequest
- Request Element - classes append information to this request elementsessionInfo
- Information about the sessionprotected void handleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
handleContent
in class XMLRequest
public java.util.Iterator<java.lang.String> iterator()
iterator
in interface java.lang.Iterable<java.lang.String>
public int size()