public class AgentAndGroupList extends XMLRequest implements java.lang.Iterable<AgentAndGroupList.AgentOrGroupListItem>
| Modifier and Type | Class and Description |
|---|---|
static class |
AgentAndGroupList.AgentAndGroupListFilter
Cut the result of the list by using this filter.
|
static class |
AgentAndGroupList.AgentOrGroupListItem
Represents an agent or an agentgroup in the list.
|
| Constructor and Description |
|---|
AgentAndGroupList(AgentAndGroupList.AgentAndGroupListFilter filter)
Constructs a list with a filter.
|
| 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<AgentAndGroupList.AgentOrGroupListItem> |
iterator() |
int |
size()
Returns the number of resulting items in the list.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotificationpublic AgentAndGroupList(AgentAndGroupList.AgentAndGroupListFilter filter)
filter - must not be null.public java.util.Iterator<AgentAndGroupList.AgentOrGroupListItem> iterator()
iterator in interface java.lang.Iterable<AgentAndGroupList.AgentOrGroupListItem>public int size()
protected java.lang.String getSrc()
XMLRequestgetSrc in class XMLRequestprotected boolean isAllowedInClientZero()
XMLRequestXMLRequest is allowed in client 0.
The default implementation returns false, subclasses may override.isAllowedInClientZero in class XMLRequesttrue if this request is allowed in client 0, false otherwiseprotected void createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
XMLRequestcreateRequest in class XMLRequestdoc - 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