public class ExecuteObjects extends XMLRequest
Modifier and Type | Class and Description |
---|---|
class |
ExecuteObjects.ExecuteObjectsResponse
Class hold response data from the executed request
|
Constructor and Description |
---|
ExecuteObjects(java.util.List<UC4ObjectName> uC4ObjectNames)
Constructs a
ExecuteObjects using the specified object name
list. |
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<ExecuteObjects.ExecuteObjectsResponse> |
reponseIterator()
Returns an iterator over the responses
|
int |
responseCount()
Returns the number of responses
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, isAllowedInClientZero, send, setMessageBox, showQuarantineNotification
public ExecuteObjects(java.util.List<UC4ObjectName> uC4ObjectNames)
ExecuteObjects
using the specified object name
list. The method Connection#sendRequest
has to be used if
this object needs interactive input (Form). In this case
Connection#sendRequestAndWait
would block infinitely.uC4ObjectNames
- list of the UC4 object that need to be executed.protected 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<ExecuteObjects.ExecuteObjectsResponse> reponseIterator()
public int responseCount()