EppCommandRenewDomain
This EppCommandRenewDomain
class implements EPP Command Renew entity for EPP Domain objects.
Inheritance:
Public Methods
-
EppCommandRenewDomain()
- Creates an
EppCommandRenewDomain
object
-
EppCommandRenewDomain( DOMString name, time_t curExpDate )
- Creates an
EppCommandRenewDomain
object with a default expiration period, specified by the registry
-
EppCommandRenewDomain( DOMString name, DOMString xid )
- Creates an
EppCommandRenewDomain
object with a client transaction id associated with the operation.
-
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
-
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
-
~EppCommandRenewDomain()
- Destructor
-
virtual int getEntityType()
- Returns the run-time type of an EppEntity object
-
DOMString getName()
- Gets the name of the domain to be renewed
-
void setName( DOMString name )
- Sets the name of the domain to be renewed
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppCommandRenewDomain
object into an XML element
-
static EppCommandRenewDomain* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppCommandRenewDomain
object.
Public Methods
-
time_t getCurrentExpireDate()
-
void setCurrentExpireDate( time_t curExpDate )
-
EppPeriod* getPeriod()
-
void setPeriod( EppPeriod& period )
Protected Fields
-
time_t curExpDate
-
EppPeriod* period
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 EppCommandRenewDomain
class implements EPP Command Renew
entity for EPP Domain objects.
- EppCommandRenewDomain()
-
Creates an
EppCommandRenewDomain
object
- EppCommandRenewDomain( DOMString name, time_t curExpDate )
-
Creates an
EppCommandRenewDomain
object with a
default expiration period, specified by the registry
- 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.
- 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
- 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
- ~EppCommandRenewDomain()
-
Destructor
- virtual int getEntityType()
-
Returns the run-time type of an EppEntity object
- DOMString getName()
-
Gets the name of the domain to be renewed
- void setName( DOMString name )
-
Sets the name of the domain to be renewed
- DOM_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
- static 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.