com.highdeal.admin.hci
Class ServerManagementOp

java.lang.Object
  extended by com.highdeal.admin.hci.ServerManagementOp
All Implemented Interfaces:
MessageOperation, XMLMarshallable
Direct Known Subclasses:
ServerShutdownOp

public abstract class ServerManagementOp
extends java.lang.Object
implements MessageOperation

This abstract Java class serves as a base class for the server system management operations; Consider also the known subclasses that extend this Java class: ServerShutdownOp.

Example

The SAP CC Admin+ user interface implements this operation. You can view the XML stream exchanged between this user interface and the SAP CC system via the HCI technical interface.

Operation Request

ServerShutdownOp

Operation Result

ServerManagementResult

See Also:
ServerManagementResult

Field Summary
static java.lang.String OPERATION_ID
          Mapping for the operation ID: "operation"
static java.lang.String SERVER_NAME
          Mapping for the server name: "serverName"
 
Constructor Summary
ServerManagementOp()
           
 
Method Summary
protected abstract  void _marshal(XMLOutputter output)
          Writes the operation XML data to the specified output.
protected abstract  void _setAttributes(XMLAttributes atts)
          Sets the operation attributes from the XMLAttributes.
 void addCharacterData(java.lang.String cData)
          Adds string data to this operation.
 void addChild(java.lang.String tagName, XMLMarshallable child)
          Adds a child tag to this operation.
abstract  java.lang.String getName()
          Returns the name of the operation.
 java.lang.String getServerName()
          Gets the server system name.
 void marshal(XMLOutputter output)
          Writes the operation XML data to the specified output.
 void setAttributes(XMLAttributes atts)
          Sets the operation attributes from the XMLAttributes.
 void setServerName(java.lang.String name)
          Sets the server system name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATION_ID

public static final java.lang.String OPERATION_ID
Mapping for the operation ID: "operation"

See Also:
Constant Field Values

SERVER_NAME

public static final java.lang.String SERVER_NAME
Mapping for the server name: "serverName"

See Also:
Constant Field Values
Constructor Detail

ServerManagementOp

public ServerManagementOp()
Method Detail

getServerName

public java.lang.String getServerName()
Gets the server system name.

Returns:
The server name, or null if no server is specified

setServerName

public void setServerName(java.lang.String name)
Sets the server system name.

Parameters:
name - The server name

getName

public abstract java.lang.String getName()
Returns the name of the operation.

Specified by:
getName in interface MessageOperation
Returns:
The name of the operation

setAttributes

public final void setAttributes(XMLAttributes atts)
Sets the operation attributes from the XMLAttributes.

Specified by:
setAttributes in interface XMLMarshallable
Parameters:
atts - The XMLAttributes containing the data

_setAttributes

protected abstract void _setAttributes(XMLAttributes atts)
Sets the operation attributes from the XMLAttributes.

Parameters:
atts - The XMLAttributes containing the data

addCharacterData

public final void addCharacterData(java.lang.String cData)
Adds string data to this operation.

This data is ignored for this operation.

Specified by:
addCharacterData in interface XMLMarshallable
Parameters:
cData - The character data to add to the operation

addChild

public final void addChild(java.lang.String tagName,
                           XMLMarshallable child)
Adds a child tag to this operation.

This tag is ignored for this operation.

Specified by:
addChild in interface XMLMarshallable
Parameters:
tagName - The name of the tag
child - The XMLMarshallable child to add

marshal

public final void marshal(XMLOutputter output)
Writes the operation XML data to the specified output.

Specified by:
marshal in interface XMLMarshallable
Parameters:
output - The XMLOutputter to write into

_marshal

protected abstract void _marshal(XMLOutputter output)
Writes the operation XML data to the specified output.

Parameters:
output - The XMLOutputter to write into

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)