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