class EppCommandUpdateContact

This EppCommandUpdateContact class implements EPP Command Update entity for EPP Contact objects.

Inheritance:


Public Methods

[more] EppCommandUpdateContact()
Creates an EppCommandUpdateContact
[more] EppCommandUpdateContact( DOMString id )
Creates an EppCommandUpdateContact given the id of the contact
[more] EppCommandUpdateContact( DOMString id, DOMString xid )
Creates an EppCommandUpdateContact given the id of the contact
[more] ~EppCommandUpdateContact()
Destructor
[more]virtual int getEntityType()
Returns the run-time type of an EppEntity object
[more]DOMString getId()
Gets the id of the contact to be updated
[more]void setId( DOMString id )
Sets the id of the contact to be updated
[more]EppContactData* getNewAscii()
Gets the new contact data in ascii encoding, or null if not changed
[more]void setNewAscii( EppContactData& ascii )
Sets the new contact data in ascii encoding, or null if not changed
[more]EppContactData* getNewI15d()
Gets the new contact data in native encoding, or null if not changed
[more]void setNewI15d( EppContactData& i15d )
Sets the new contact data in ascii encoding, or null if not changed
[more]EppE164* getNewVoice()
Gets the new voice phone number
[more]void setNewVoice( DOMString voice )
Sets the new voice phone number
[more]void setNewVoice( DOMString voice, DOMString ext )
Sets the new voice phone number
[more]void setNewVoice( EppE164& voice )
Sets the new voice phone number
[more]EppE164* getNewFax()
Gets the new fax number
[more]void setNewFax( DOMString fax )
Sets the new fax number
[more]void setNewFax( DOMString fax, DOMString ext )
Sets the new fax number
[more]void setNewFax( EppE164& fax )
Sets the new fax number
[more]DOMString getNewEmail()
Gets the new email address of the contact, or null if not changed
[more]void setNewEmail( DOMString email )
Sets the new email address of the contact, or null if not changed
[more]void setNewAuthInfo( EppAuthInfo& authInfo )
Sets the new authorization information for the contact if it needs to be changed
[more]DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppCommandUpdateContact object into an XML element
[more]static EppCommandUpdateContact* 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 EppCommandUpdateContact class implements EPP Command Update entity for EPP Contact objects.

o EppCommandUpdateContact()
Creates an EppCommandUpdateContact

o EppCommandUpdateContact( DOMString id )
Creates an EppCommandUpdateContact given the id of the contact

o EppCommandUpdateContact( DOMString id, DOMString xid )
Creates an EppCommandUpdateContact given the id of the contact

o ~EppCommandUpdateContact()
Destructor

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

oDOMString getId()
Gets the id of the contact to be updated

ovoid setId( DOMString id )
Sets the id of the contact to be updated

oEppContactData* getNewAscii()
Gets the new contact data in ascii encoding, or null if not changed

ovoid setNewAscii( EppContactData& ascii )
Sets the new contact data in ascii encoding, or null if not changed

oEppContactData* getNewI15d()
Gets the new contact data in native encoding, or null if not changed

ovoid setNewI15d( EppContactData& i15d )
Sets the new contact data in ascii encoding, or null if not changed

oEppE164* getNewVoice()
Gets the new voice phone number

ovoid setNewVoice( DOMString voice )
Sets the new voice phone number

ovoid setNewVoice( DOMString voice, DOMString ext )
Sets the new voice phone number

ovoid setNewVoice( EppE164& voice )
Sets the new voice phone number

oEppE164* getNewFax()
Gets the new fax number

ovoid setNewFax( DOMString fax )
Sets the new fax number

ovoid setNewFax( DOMString fax, DOMString ext )
Sets the new fax number

ovoid setNewFax( EppE164& fax )
Sets the new fax number

oDOMString getNewEmail()
Gets the new email address of the contact, or null if not changed

ovoid setNewEmail( DOMString email )
Sets the new email address of the contact, or null if not changed

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

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

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

ostatic EppCommandUpdateContact* 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 Contact object.

Parameters:
root - root node for an EppCommandUpdateDomain 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$ $Date$

Alphabetic index HTML hierarchy of classes or Java


Copyright © 2001 NeuStar, Inc. All Rights Reserved.