class EppCommandUpdate

This EppCommandUpdate class implements EPP Command Update entity.

Inheritance:


Public Methods

[more] EppCommandUpdate()
Creates an EppCommandUpdate object
[more]virtual ~EppCommandUpdate()
Destructor
[more]virtual int getEntityType()
Returns the run-time type of an EppEntity object
[more]ValueVectorOf<EppStatus> * getAddedStatus()
Gets the list of new status to be added for the EPP object
[more]ValueVectorOf<EppStatus> * getRemovedStatus()
Gets the list of old status to be removed for the EPP object
[more]static EppCommandUpdate* fromXML( const DOM_Node& root )
Converts an XML element into an EppCommandUpdate object.

Protected Methods

[more]void statusToXML( DOM_Document& doc, DOM_Element& body, ValueVectorOf<EppStatus>* list )
Converts a list of EPP Status objects into XML
[more]void statusFromXML( const DOM_Node& root, ValueVectorOf<EppStatus>* statusList )
Converts a list of EPP Status objects from XML


Inherited from EppCommand:

Public Methods

oEppCreds* getCreds()
ovoid setCreds( EppCreds& creds )
oEppUnspec* getUnspec()
ovoid setUnspec( EppUnspec& unspec )
oDOMString getClientTransactionId()
ovoid setClientTransactionId( DOMString xid )
ostatic EppCommandCreate create( EppObject* object, DOMString xid )
ostatic EppCommandCheck* check( int objectType, DOMString xid )
ostatic EppCommandDelete* remove( int objectType, DOMString objectId, DOMString xid )
ostatic EppCommandInfo* info( int objectType, DOMString objectId, DOMString xid )
ostatic EppCommandUpdate* update( int objectType, DOMString objectId, DOMString xid )
ostatic EppCommandTransfer* transfer( int objectType, DOMString objectId, DOMString xid )
ostatic EppCommandRenew* renew( int objectType, DOMString objectId, DOMString xid )

Protected Fields

oEppCreds* creds
oEppUnspec* unspec
oDOMString clTRID

Protected Methods

oDOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element )
oDOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element, ValueVectorOf<DOM_Attr>* attrList )
oDOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, EppEntity* object )
oDOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element, EppEntity* object, const DOMString tag, ValueVectorOf<DOM_Attr>* attrList )


Inherited from EppEntity:

Public Methods

obool instanceOf( const int type )
ovirtual DOM_Element toXML( DOM_Document &doc, const DOMString &tag )
ovirtual DOMString toString()

Protected Methods

oDOMString toString( const DOMString &tag )


Documentation

This EppCommandUpdate class implements EPP Command Update entity.

ovoid statusToXML( DOM_Document& doc, DOM_Element& body, ValueVectorOf<EppStatus>* list )
Converts a list of EPP Status objects into XML

Parameters:
doc - the XML DOM_Element object
body - the XML DOM_Element object to which the list of EPP Status objects is appended
list - the list of EPP Status objects to be converted

ovoid statusFromXML( const DOM_Node& root, ValueVectorOf<EppStatus>* statusList )
Converts a list of EPP Status objects from XML

Parameters:
root - the XML Node object containing the list of EPP Status objects
statusList - the list of EPP Status objects to be stored

o EppCommandUpdate()
Creates an EppCommandUpdate object

ovirtual ~EppCommandUpdate()
Destructor

ovirtual int getEntityType()
Returns the run-time type of an EppEntity object

oValueVectorOf<EppStatus> * getAddedStatus()
Gets the list of new status to be added for the EPP object

oValueVectorOf<EppStatus> * getRemovedStatus()
Gets the list of old status to be removed for the EPP object

ostatic EppCommandUpdate* fromXML( const DOM_Node& root )
Converts an XML element into an EppCommandUpdate object. The caller of this method must make sure that the root node is of an EPP Command Update entity.

Parameters:
root - root node for an EppCommandUpdate object in XML format
Returns:
an EppCommandUpdate object, or null if the node is invalid


Direct child classes:
EppCommandUpdateHost
EppCommandUpdateDomain
EppCommandUpdateContact
Author:
Ning Zhang ning.zhang@neustar.com
Version:
$Revision: 1.1 $ $Date: 2001/11/05 20:20:36 $

Alphabetic index HTML hierarchy of classes or Java


Copyright © 2001 NeuStar, Inc. All Rights Reserved.