Class ServerManagementOp

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

public abstract class ServerManagementOp extends 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:
  • Field Details

  • Constructor Details

    • ServerManagementOp

      public ServerManagementOp()
  • Method Details

    • getServerName

      public String getServerName()
      Gets the server system name.
      Returns:
      The server name, or null if no server is specified
    • setServerName

      public void setServerName(String name)
      Sets the server system name.
      Parameters:
      name - The server name
    • getName

      public abstract 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
    • addCharacterData

      public final void addCharacterData(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(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