public class SubmitPrompt extends XMLRequest
Constructor and Description |
---|
SubmitPrompt(TaskPromptSetNames names,
TaskPromptSetContent... content)
Creates a new
SubmitPrompt request. |
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) |
boolean |
isResubmitRequired()
This method returns
true if the server did not accept the submit because of invalid fields. |
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, isAllowedInClientZero, send, setMessageBox, showQuarantineNotification
public SubmitPrompt(TaskPromptSetNames names, TaskPromptSetContent... content)
SubmitPrompt
request.names
- Names of PromptSetscontent
- Content of PromptSetsprotected 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 java.lang.String getSrc()
XMLRequest
getSrc
in class XMLRequest
protected void handleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
handleContent
in class XMLRequest
public boolean isResubmitRequired()
true
if the server did not accept the submit because of invalid fields.
In this case the input needs to be corrected and submitted again.