public class GetStaticVaraRows extends XMLRequest
| Constructor and Description |
|---|
GetStaticVaraRows(UC4ObjectName objectName,
java.lang.String... keys)
Creates a new instance of the
GetStaticVaraRows 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.
|
java.lang.String |
get(java.lang.String key)
Returns the value for the given validity keyword.
|
java.lang.String[] |
getRow(java.lang.String key)
Returns all values of the row with the specified key as String array.
|
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<java.lang.String> |
keyIterator()
Returns an
java.util.Iterator of validity keywords. |
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotificationpublic GetStaticVaraRows(UC4ObjectName objectName, java.lang.String... keys)
GetStaticVaraRows request.objectName - The variable namekeys - A list of keys to request the variable rowsprotected 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 XMLRequestpublic java.util.Iterator<java.lang.String> keyIterator()
java.util.Iterator of validity keywords.
Each validity keyword is stored as java.lang.String.
The order of the returned validity keywords is undefined.Iteratorpublic java.lang.String[] getRow(java.lang.String key)
key - Key, must be uniquepublic java.lang.String get(java.lang.String key)
key - validity keyword