EppCommandUpdateHost
This EppCommandUpdateHost
class implements EPP Command Update entity for EPP Host objects.
Inheritance:
Public Methods
-
EppCommandUpdateHost()
- Creates an
EppCommandUpdateHost
-
EppCommandUpdateHost( DOMString name )
- Creates an
EppCommandUpdateHost
given the name of the host
-
EppCommandUpdateHost( DOMString name, DOMString xid )
- Creates an
EppCommandUpdateHost
given the name of the host with a client transaction id associated with operation
-
~EppCommandUpdateHost()
- Destructor
-
virtual int getEntityType()
- Returns the run-time type of an EppEntity object
-
DOMString getName()
- Gets the name of the host to be updated
-
void setName( DOMString name )
- Sets the name of the host to be updated
-
ValueVectorOf<EppIpAddress> * getAddressAdded()
- Gets the list of new IP addresses to be added to the host
-
void addAddress( EppIpAddress& address )
- Adds a new IP address to be associated with the host
-
ValueVectorOf<EppIpAddress> * getAddressRemoved()
- Gets the list of old IP addresses to be removed from the host
-
DOMString getNewName()
- Gets the new name for the host, or null if the name of the the host is not to be changed
-
void setNewName( DOMString name )
- Sets the new name for the host if the name of the the host needs to be changed
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppCommandUpdateHost
object into an XML element
-
static EppCommandUpdateHost* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppCommandUpdateHost
object.
Public Methods
-
ValueVectorOf<EppStatus> * getAddedStatus()
-
ValueVectorOf<EppStatus> * getRemovedStatus()
Protected Methods
-
void statusToXML( DOM_Document& doc, DOM_Element& body, ValueVectorOf<EppStatus>* list )
-
void statusFromXML( const DOM_Node& root, ValueVectorOf<EppStatus>* statusList )
Public Methods
-
EppCreds* getCreds()
-
void setCreds( EppCreds& creds )
-
EppUnspec* getUnspec()
-
void setUnspec( EppUnspec& unspec )
-
DOMString getClientTransactionId()
-
void setClientTransactionId( DOMString xid )
-
static EppCommandCreate create( EppObject* object, DOMString xid )
-
static EppCommandCheck* check( int objectType, DOMString xid )
-
static EppCommandDelete* remove( int objectType, DOMString objectId, DOMString xid )
-
static EppCommandInfo* info( int objectType, DOMString objectId, DOMString xid )
-
static EppCommandUpdate* update( int objectType, DOMString objectId, DOMString xid )
-
static EppCommandTransfer* transfer( int objectType, DOMString objectId, DOMString xid )
-
static EppCommandRenew* renew( int objectType, DOMString objectId, DOMString xid )
Protected Fields
-
EppCreds* creds
-
EppUnspec* unspec
-
DOMString clTRID
Protected Methods
-
DOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element )
-
DOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element, ValueVectorOf<DOM_Attr>* attrList )
-
DOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, EppEntity* object )
-
DOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element, EppEntity* object, const DOMString tag, ValueVectorOf<DOM_Attr>* attrList )
Public Methods
-
bool instanceOf( const int type )
-
virtual DOMString toString()
Protected Methods
-
DOMString toString( const DOMString &tag )
Documentation
This EppCommandUpdateHost
class implements EPP Command Update
entity for EPP Host objects.
- EppCommandUpdateHost()
-
Creates an
EppCommandUpdateHost
- EppCommandUpdateHost( DOMString name )
-
Creates an
EppCommandUpdateHost
given the name of the
host
- EppCommandUpdateHost( DOMString name, DOMString xid )
-
Creates an
EppCommandUpdateHost
given the name of the
host with a client transaction id associated with operation
- ~EppCommandUpdateHost()
-
Destructor
- virtual int getEntityType()
-
Returns the run-time type of an EppEntity object
- DOMString getName()
-
Gets the name of the host to be updated
- void setName( DOMString name )
-
Sets the name of the host to be updated
- ValueVectorOf<EppIpAddress> * getAddressAdded()
-
Gets the list of new IP addresses to be added to the host
- void addAddress( EppIpAddress& address )
-
Adds a new IP address to be associated with the host
- ValueVectorOf<EppIpAddress> * getAddressRemoved()
-
Gets the list of old IP addresses to be removed from the host
- DOMString getNewName()
-
Gets the new name for the host, or null if the name of the
the host is not to be changed
- void setNewName( DOMString name )
-
Sets the new name for the host if the name of the
the host needs to be changed
- DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
-
Converts the
EppCommandUpdateHost
object into
an XML element
- Parameters:
- doc - the XML
DOM_Element
object
tag - the tag/element name for the
EppCommandUpdateHost
object
- Returns:
- an
DOM_Element
object
- static EppCommandUpdateHost* fromXML( const DOM_Node& root )
-
Converts an XML element into an
EppCommandUpdateHost
object. The caller of this method must make sure that the root node
is of an EPP Command Update entity for an EPP Host object.
- Parameters:
- root - root node for an
EppCommandUpdate
object
in XML format
- Returns:
- an
EppCommandUpdate
object, or null if the node
is invalid
- This class has no child classes.
- Author:
- Ning Zhang ning.zhang@neustar.com
- Version:
- $Revision$ $Date$
Alphabetic index HTML hierarchy of classes or Java
Copyright © 2001 NeuStar, Inc. All Rights Reserved.