public class GetOutputDirectory extends XMLRequest implements java.lang.Iterable<GetOutputDirectory.OutputDirectoryItem>
Modifier and Type | Class and Description |
---|---|
static class |
GetOutputDirectory.OutputDirectoryItem
This class represents a single row in the Output directory.
|
Constructor and Description |
---|
GetOutputDirectory(int runID)
Creates a new
GetOutputDirectory 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) |
protected boolean |
isAllowedInClientZero()
This method is used internally.
|
java.util.Iterator<GetOutputDirectory.OutputDirectoryItem> |
iterator() |
int |
size()
Returns the number of reports or
-1 if this request has not been sent. |
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotification
public GetOutputDirectory(int runID)
GetOutputDirectory
request.runID
- Run ID of the taskprotected 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 int size()
-1
if this request has not been sent.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
otherwisepublic java.util.Iterator<GetOutputDirectory.OutputDirectoryItem> iterator()
iterator
in interface java.lang.Iterable<GetOutputDirectory.OutputDirectoryItem>