class EppCommandUpdateSvcsub

This EppCommandUpdateSvcsub class implements EPP Command Update entity for EPP Svcsub objects.

Inheritance:


Public Methods

[more] EppCommandUpdateSvcsub()
Creates an EppCommandUpdateSvcsub
[more] EppCommandUpdateSvcsub( DOMString id )
Creates an EppCommandUpdateSvcsub given the id of the svcsub object
[more] EppCommandUpdateSvcsub( DOMString id, DOMString xid )
Creates an EppCommandUpdateSvcsub given the id of the svcsub object
[more] ~EppCommandUpdateSvcsub()
Destructor
[more]virtual int getEntityType()
Returns the run-time type of an EppEntity object
[more]DOMString getId()
Gets the id of the svcsub object to be updated
[more]void setId( DOMString& id )
Sets the id of the svcsub object to be updated
[more]ValueVectorOf<EppSvcsubParam> * getParamAdded()
Gets the list of new parameters to be added to the svcsub object
[more]void addParam( EppSvcsubParam& param )
Adds a new parameter to be associated with the svcsub object
[more]ValueVectorOf<EppSvcsubParam> * getParamRemoved()
Gets the list of old parameters to be removed from the svcsub object
[more]ValueVectorOf<EppContactType> * getContactAdded()
Gets the list of new contacts to be added to the svcsub object
[more]void addContact( EppContactType& contact )
Adds a new contact to be associated with the svcsub object
[more]ValueVectorOf<EppContactType> * getContactRemoved()
Gets the list of old contacts to be removed from the svcsub object
[more]DOMString getNewRegistrant()
Gets the new registrant's contact id for the svcsub object, or null if the registrant of the svcsub object is not to be changed
[more]void setNewRegistrant( DOMString registrant )
Sets the new registrant's contact id for the svcsub object, if a new registrant claims the ownership of the svcsub object
[more]EppAuthInfo* getNewAuthInfo()
Gets the new authorization information for the svcsub object, or null if the authorization information of the svcsub object is not to be changed
[more]void setNewAuthInfo( EppAuthInfo& authInfo )
Sets the new authorization information for the svcsub object if it needs to be changed
[more]DOMString getUserId()
Gets the user id that can be used for authorization purpose
[more]void setUserId( DOMString userid )
Sets the user id that can be used for authorization purpose
[more]EppAuthInfo* getAuthInfo()
Gets the authorization information for the update operation
[more]void setAuthInfo( EppAuthInfo& authInfo )
Sets the authorization information for the update operation
[more]DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppCommandUpdateSvcsub object into an XML element
[more]static EppCommandUpdateSvcsub* fromXML( const DOM_Node& root )
Converts an XML element into an EppCommandUpdateSvcsub 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 EppCommandUpdateSvcsub class implements EPP Command Update entity for EPP Svcsub objects.

o EppCommandUpdateSvcsub()
Creates an EppCommandUpdateSvcsub

o EppCommandUpdateSvcsub( DOMString id )
Creates an EppCommandUpdateSvcsub given the id of the svcsub object

o EppCommandUpdateSvcsub( DOMString id, DOMString xid )
Creates an EppCommandUpdateSvcsub given the id of the svcsub object

o ~EppCommandUpdateSvcsub()
Destructor

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

oDOMString getId()
Gets the id of the svcsub object to be updated

ovoid setId( DOMString& id )
Sets the id of the svcsub object to be updated

oValueVectorOf<EppSvcsubParam> * getParamAdded()
Gets the list of new parameters to be added to the svcsub object

ovoid addParam( EppSvcsubParam& param )
Adds a new parameter to be associated with the svcsub object

oValueVectorOf<EppSvcsubParam> * getParamRemoved()
Gets the list of old parameters to be removed from the svcsub object

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

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

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

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

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

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

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

oDOMString getUserId()
Gets the user id that can be used for authorization purpose

ovoid setUserId( DOMString userid )
Sets the user id that can be used for authorization purpose

oEppAuthInfo* getAuthInfo()
Gets the authorization information for the update operation

ovoid setAuthInfo( EppAuthInfo& authInfo )
Sets the authorization information for the update operation

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

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

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

Parameters:
root - root node for an EppCommandUpdate object in XML format
Returns:
an EppCommandUpdateSvcsub 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.1.1 $

Alphabetic index HTML hierarchy of classes or Java


Copyright © 2001-2002 NeuLevel, Inc. All Rights Reserved.