public class NavigatorCATree extends XMLRequest implements java.lang.Iterable<NavigatorCATree.CustomAttributeNode>
Modifier and Type | Class and Description |
---|---|
static class |
NavigatorCATree.CustomAttributeLeaf
Represents a leaf in the
NavigatorCATree . |
static class |
NavigatorCATree.CustomAttributeNode
Represents a node in the
NavigationCATree . |
Constructor and Description |
---|
NavigatorCATree(java.lang.String attributeName)
Creates a
NavigatorCATree 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) |
java.util.Iterator<NavigatorCATree.CustomAttributeNode> |
iterator()
Returns an Iterator which can be used to step through the
CustomAttributeNode items of the root. |
void |
setClient(int client)
Sets a specific client as filter for the
NavigatorCATree . |
int |
size()
Returns the number of top level items in the Navigation Custom Attribute Tree.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, isAllowedInClientZero, send, setMessageBox, showQuarantineNotification
public NavigatorCATree(java.lang.String attributeName)
NavigatorCATree
request.attributeName
- Name(key) of the custom attribute specified in the variable UC_CUSTOM_ATTRIBUTESprotected 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<NavigatorCATree.CustomAttributeNode> iterator()
CustomAttributeNode
items of the root.iterator
in interface java.lang.Iterable<NavigatorCATree.CustomAttributeNode>
CustomAttributeNode
public int size()
CAItem
public void setClient(int client)
NavigatorCATree
. This method is only used for client 0.
For all clients other 0 it has no effect.client
- filter for the NavigatorCATree