public class GetCPProperties extends XMLRequest
| Constructor and Description |
|---|
GetCPProperties(java.lang.String idnr)
Creates an instance of GetWPProperties
|
GetCPProperties(UC4ObjectName cpName)
Creates an instance of GetWPProperties
|
| 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.
|
UC4ObjectName |
getCPName()
Returns the CP name.
|
org.w3c.dom.Element |
getCPPropertiesElement()
Returns the CP property element
|
org.w3c.dom.Element |
getCPTraceElement()
Returns a value of the Server trace section
|
CPTraceOptions |
getCPTraceOptions()
Returns a CPTraceOptions Object
|
java.lang.String |
getIdnr()
Returns the idnr of the CP object
|
int |
getMaxTraceSize()
returns the max trace size parameter
|
org.w3c.dom.Element |
getOptionsElement()
Returns the option element
|
protected java.lang.String |
getSrc()
Returns the request source.
|
int |
getTraceFlag(int index)
Returns the trace flag value.
|
java.lang.String |
getTraceFlagDescription(int index)
Returns a detailed description of a trace flag.
|
int |
getTraceFlagsSize()
returns the length of the trace flag array
|
java.lang.String |
getTraceFlagText(int index)
Returns the caption of a trace flag.
|
java.lang.String |
getTraceType()
returns the trace type
|
protected void |
handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
protected boolean |
isAllowedInClientZero()
This method is used internally.
|
boolean |
isServerAlive()
Returns true if the Server is running or false if not.
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotificationpublic GetCPProperties(UC4ObjectName cpName)
cpName - Name of the CP HOST objectpublic GetCPProperties(java.lang.String idnr)
idnr - Idnr of the CP HOST objectpublic boolean isServerAlive()
public UC4ObjectName getCPName()
public java.lang.String getIdnr()
protected java.lang.String getSrc()
XMLRequestgetSrc in class XMLRequestprotected 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.lang.String getTraceFlagText(int index)
index - Index between 0 and 15public int getTraceFlag(int index)
index - Index between 0 and 15public java.lang.String getTraceFlagDescription(int index)
index - Index between 0 and 15protected 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 otherwisepublic org.w3c.dom.Element getCPTraceElement()
public org.w3c.dom.Element getOptionsElement()
public org.w3c.dom.Element getCPPropertiesElement()
public CPTraceOptions getCPTraceOptions()
public int getTraceFlagsSize()
public int getMaxTraceSize()
public java.lang.String getTraceType()