class EppCommandUpdateDomain

This EppCommandUpdateDomain class implements EPP Command Update entity for EPP Domain objects.

Inheritance:


Public Methods

[more] EppCommandUpdateDomain()
Creates an EppCommandUpdateDomain
[more] EppCommandUpdateDomain( DOMString name )
Creates an EppCommandUpdateDomain given the name of the domain
[more] EppCommandUpdateDomain( DOMString name, DOMString xid )
Creates an EppCommandUpdateDomain given the name of the domain
[more] ~EppCommandUpdateDomain()
Destructor
[more]virtual int getEntityType()
Returns the run-time type of an EppEntity object
[more]DOMString getName()
Gets the name of the domain to be updated
[more]void setName( DOMString& name )
Sets the name of the domain to be updated
[more]ValueVectorOf<DOMString> * getNameServerAdded()
Gets the list of new name servers to be added to the domain
[more]void addNameServer( DOMString nameServer )
Adds a new name server to be associated with the domain
[more]ValueVectorOf<DOMString> * getNameServerRemoved()
Gets the list of old name servers to be removed from the domain
[more]ValueVectorOf<EppContactType> * getContactAdded()
Gets the list of new contacts to be added to the domain
[more]void addContact( EppContactType& contact )
Adds a new contact to be associated with the domain
[more]ValueVectorOf<EppContactType> * getContactRemoved()
Gets the list of old contacts to be removed from the domain
[more]DOMString getNewRegistrant()
Gets the new registrant's contact id for the domain, or null if the registrant of the domain is not to be changed
[more]void setNewRegistrant( DOMString registrant )
Sets the new registrant's contact id for the domain if a new registrant claims the ownership of the domain
[more]EppAuthInfo* getNewAuthInfo()
Gets the new authorization information for the domain, or null if the authorization information of the domain is not to be changed
[more]void setNewAuthInfo( EppAuthInfo& authInfo )
Sets the new authorization information for the domain if it needs to be changed
[more]DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppCommandUpdateDomain object into an XML element
[more]static EppCommandUpdateDomain* fromXML( const DOM_Node& root )
Converts an XML element into an EppCommandUpdateDomain object.


Inherited from EppCommandUpdate:

Public Methods

oValueVectorOf<EppStatus> * getAddedStatus()
oValueVectorOf<EppStatus> * getRemovedStatus()

Protected Methods

ovoid statusToXML( DOM_Document& doc, DOM_Element& body, ValueVectorOf<EppStatus>* list )
ovoid statusFromXML( const DOM_Node& root, ValueVectorOf<EppStatus>* statusList )


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 DOMString toString()

Protected Methods

oDOMString toString( const DOMString &tag )


Documentation

This EppCommandUpdateDomain class implements EPP Command Update entity for EPP Domain objects.

o EppCommandUpdateDomain()
Creates an EppCommandUpdateDomain

o EppCommandUpdateDomain( DOMString name )
Creates an EppCommandUpdateDomain given the name of the domain

o EppCommandUpdateDomain( DOMString name, DOMString xid )
Creates an EppCommandUpdateDomain given the name of the domain

o ~EppCommandUpdateDomain()
Destructor

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

oDOMString getName()
Gets the name of the domain to be updated

ovoid setName( DOMString& name )
Sets the name of the domain to be updated

oValueVectorOf<DOMString> * getNameServerAdded()
Gets the list of new name servers to be added to the domain

ovoid addNameServer( DOMString nameServer )
Adds a new name server to be associated with the domain

oValueVectorOf<DOMString> * getNameServerRemoved()
Gets the list of old name servers to be removed from the domain

oValueVectorOf<EppContactType> * getContactAdded()
Gets the list of new contacts to be added to the domain

ovoid addContact( EppContactType& contact )
Adds a new contact to be associated with the domain

oValueVectorOf<EppContactType> * getContactRemoved()
Gets the list of old contacts to be removed from the domain

oDOMString getNewRegistrant()
Gets the new registrant's contact id for the domain, or null if the registrant of the domain is not to be changed

ovoid setNewRegistrant( DOMString registrant )
Sets the new registrant's contact id for the domain if a new registrant claims the ownership of the domain

oEppAuthInfo* getNewAuthInfo()
Gets the new authorization information for the domain, or null if the authorization information of the domain is not to be changed

ovoid setNewAuthInfo( EppAuthInfo& authInfo )
Sets the new authorization information for the domain if it needs to be changed

oDOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppCommandUpdateDomain object into an XML element

Parameters:
doc - the XML DOM_Element object
tag - the tag/element name for the EppCommandUpdateDomain object
Returns:
an DOM_Element object

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

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


This class has no child classes.
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.