public class PromptInputHelp extends XMLRequest
Constructor and Description |
---|
PromptInputHelp(java.lang.String variableName,
UC4ObjectName promptSet,
int runID,
java.lang.String filterText,
int filterColumn,
TaskPromptSetNames names,
TaskPromptSetContent... content)
Creates an input help based on values entered in prompts.
|
PromptInputHelp(java.lang.String variableName,
UC4ObjectName promptSet,
java.lang.String filter,
int filterColumn)
Deprecated.
Use PromptInputHelp(String variableName, UC4ObjectName promptSet, String filter, int filterColumn, UC4Object object) instead
|
PromptInputHelp(java.lang.String variableName,
UC4ObjectName promptSet,
java.lang.String filter,
int filterColumn,
ITaskItem task)
Input help of Prompt values for objects.
|
PromptInputHelp(java.lang.String variableName,
UC4ObjectName promptSet,
java.lang.String filter,
int filterColumn,
UC4Object object)
Input help of Prompt values for objects.
|
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.
|
java.lang.String[] |
getColumnNames()
Returns a String array which contains the names of the columns.
|
java.lang.String[] |
getRow(int index)
Returns the data of the specified row.
|
protected java.lang.String |
getSrc()
Returns the request source.
|
protected void |
handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
protected boolean |
isAllowedInClientZero()
This method is used internally.
|
boolean |
isMultiselect()
Does this prompt input helper support multi selection.
|
int |
size()
Returns the number of data rows in the table.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotification
public PromptInputHelp(java.lang.String variableName, UC4ObjectName promptSet, int runID, java.lang.String filterText, int filterColumn, TaskPromptSetNames names, TaskPromptSetContent... content)
variableName
- Name of the variable for which an input help should be
generatedpromptSet
- UC4ObjectNamerunID
- RunIDfilterText
- Filter content, can be null
filterColumn
- Filter column, the first column starts with 0names
- PromptSet namescontent
- PromptSet content@Deprecated public PromptInputHelp(java.lang.String variableName, UC4ObjectName promptSet, java.lang.String filter, int filterColumn)
variableName
- Script variable name of the PromptElementpromptSet
- Name of the PromptSet object which contains the PromptElementfilter
- Filter, may contain wildcards, may be nullfilterColumn
- Filter column starting with 0public PromptInputHelp(java.lang.String variableName, UC4ObjectName promptSet, java.lang.String filter, int filterColumn, UC4Object object)
variableName
- Script variable name of the PromptElementpromptSet
- Name of the PromptSet object which contains the PromptElementfilter
- Filter, may contain wildcards, may be nullfilterColumn
- Filter column starting with 0,object
- Objectpublic PromptInputHelp(java.lang.String variableName, UC4ObjectName promptSet, java.lang.String filter, int filterColumn, ITaskItem task)
variableName
- Script variable name of the PromptElementpromptSet
- Name of the PromptSet object which contains the PromptElementfilter
- Filter, may contain wildcards, may be nullfilterColumn
- Filter column starting with 0,task
- Task in the Workflowprotected 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 boolean isMultiselect()
public int size()
public java.lang.String[] getRow(int index)
index
- Index, 0
to size() -1
public java.lang.String[] getColumnNames()
protected boolean isAllowedInClientZero()
XMLRequest
XMLRequest
is allowed in client 0.
The default implementation returns false
, subclasses may override.isAllowedInClientZero
in class XMLRequest
true
if this request is allowed in client 0, false
otherwise