public class ChildStatistics extends XMLRequest implements java.lang.Iterable<StatisticSearchItem>
Constructor and Description |
---|
ChildStatistics(int runID)
Reads the child statistics of a specified RunID.
|
ChildStatistics(int runID,
int max)
Reads the child statistics of a specified RunID.
|
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<StatisticSearchItem> |
iterator() |
java.util.Iterator<StatisticSearchItem> |
resultIterator()
Deprecated.
Use
iterator() method instead. |
int |
size()
Returns the number of items in the result.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotification
public ChildStatistics(int runID)
runID
- RunIDpublic ChildStatistics(int runID, int max)
runID
- RunIDmax
- maximal count of statistic recordsprotected 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
protected java.lang.String getSrc()
XMLRequest
getSrc
in class XMLRequest
@Deprecated public java.util.Iterator<StatisticSearchItem> resultIterator()
iterator()
method instead.StatisticSearchItem
.StatisticSearchItem
or null
if this request
does not contain a search resultpublic int size()
StatisticSearchItem
itemspublic java.util.Iterator<StatisticSearchItem> iterator()
iterator
in interface java.lang.Iterable<StatisticSearchItem>
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