class EppCommandRenewDomain

This EppCommandRenewDomain class implements EPP Command Renew entity for EPP Domain objects.

Inheritance:


Public Methods

[more] EppCommandRenewDomain()
Creates an EppCommandRenewDomain object
[more] EppCommandRenewDomain( DOMString name, time_t curExpDate )
Creates an EppCommandRenewDomain object with a default expiration period, specified by the registry
[more] EppCommandRenewDomain( DOMString name, DOMString xid )
Creates an EppCommandRenewDomain object with a client transaction id associated with the operation.
[more] EppCommandRenewDomain( DOMString name, time_t curExpDate, DOMString xid )
Creates an EppCommandRenewDomain object with a default expiration period, specified by the registry, and a client transaction id associated with the operation
[more] EppCommandRenewDomain( DOMString name, time_t curExpDate, EppPeriod& period, DOMString xid )
Creates an EppCommandRenewDomain object with a specified expiration period, and a client transaction id associated with the operation
[more] ~EppCommandRenewDomain()
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 renewed
[more]void setName( DOMString name )
Sets the name of the domain to be renewed
[more]DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppCommandRenewDomain object into an XML element
[more]static EppCommandRenewDomain* fromXML( const DOM_Node& root )
Converts an XML element into an EppCommandRenewDomain object.


Inherited from EppCommandRenew:

Public Methods

otime_t getCurrentExpireDate()
ovoid setCurrentExpireDate( time_t curExpDate )
oEppPeriod* getPeriod()
ovoid setPeriod( EppPeriod& period )

Protected Fields

otime_t curExpDate
oEppPeriod* period


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 EppCommandRenewDomain class implements EPP Command Renew entity for EPP Domain objects.

o EppCommandRenewDomain()
Creates an EppCommandRenewDomain object

o EppCommandRenewDomain( DOMString name, time_t curExpDate )
Creates an EppCommandRenewDomain object with a default expiration period, specified by the registry

o EppCommandRenewDomain( DOMString name, DOMString xid )
Creates an EppCommandRenewDomain object with a client transaction id associated with the operation. The current date of expiration would be the current date.

o EppCommandRenewDomain( DOMString name, time_t curExpDate, DOMString xid )
Creates an EppCommandRenewDomain object with a default expiration period, specified by the registry, and a client transaction id associated with the operation

o EppCommandRenewDomain( DOMString name, time_t curExpDate, EppPeriod& period, DOMString xid )
Creates an EppCommandRenewDomain object with a specified expiration period, and a client transaction id associated with the operation

o ~EppCommandRenewDomain()
Destructor

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

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

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

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

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

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

Parameters:
root - root node for an EppCommandRenewDomain object in XML format
Returns:
an EppCommandRenewDomain 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 $ $Date: 2005/12/06 20:11:35 $

Alphabetic index HTML hierarchy of classes or Java


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