EppCommandRenewSvcsub
This EppCommandRenewSvcsub
class implements EPP Command Renew entity for EPP Svcsub objects.
Inheritance:
Public Methods
-
EppCommandRenewSvcsub()
- Creates an
EppCommandRenewSvcsub
object
-
EppCommandRenewSvcsub( DOMString id, time_t curExpDate )
- Creates an
EppCommandRenewSvcsub
object with a default expiration period, specified by the registry
-
EppCommandRenewSvcsub( DOMString id, DOMString xid )
- Creates an
EppCommandRenewSvcsub
object with a client transaction id associated with the operation.
-
EppCommandRenewSvcsub( DOMString id, time_t curExpDate, DOMString xid )
- Creates an
EppCommandRenewSvcsub
object with a default expiration period, specified by the registry, and a client transaction id associated with the operation
-
EppCommandRenewSvcsub( DOMString id, time_t curExpDate, EppPeriod& period, DOMString xid )
- Creates an
EppCommandRenewSvcsub
object with a specified expiration period, and a client transaction id associated with the operation
-
~EppCommandRenewSvcsub()
- Destructor
-
virtual int getEntityType()
- Returns the run-time type of an EppEntity object
-
DOMString getId()
- Gets the id of the subscription object to be renewed
-
void setId( DOMString id )
- Sets the id of the subscription object to be renewed
-
DOMString getUserId()
- Gets the user id that can be used for authorization purpose
-
void setUserId( DOMString userid )
- Sets the user id that can be used for authorization purpose
-
EppAuthInfo* getAuthInfo()
- Gets the authorization info for the renew operation
-
void setAuthInfo( EppAuthInfo& authInfo )
- Sets the authorization info for the renew operation
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppCommandRenewSvcsub
object into an XML element
-
static EppCommandRenewSvcsub* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppCommandRenewSvcsub
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 EppCommandRenewSvcsub
class implements EPP Command Renew
entity for EPP Svcsub objects.
- EppCommandRenewSvcsub()
-
Creates an
EppCommandRenewSvcsub
object
- EppCommandRenewSvcsub( DOMString id, time_t curExpDate )
-
Creates an
EppCommandRenewSvcsub
object with a
default expiration period, specified by the registry
- EppCommandRenewSvcsub( DOMString id, DOMString xid )
-
Creates an
EppCommandRenewSvcsub
object with a
client transaction id associated with the operation. The current
date of expiration would be the current date.
- EppCommandRenewSvcsub( DOMString id, time_t curExpDate, DOMString xid )
-
Creates an
EppCommandRenewSvcsub
object with a
default expiration period, specified by the registry, and a
client transaction id associated with the operation
- EppCommandRenewSvcsub( DOMString id, time_t curExpDate, EppPeriod& period, DOMString xid )
-
Creates an
EppCommandRenewSvcsub
object with a
specified expiration period, and a client transaction id associated
with the operation
- ~EppCommandRenewSvcsub()
-
Destructor
- virtual int getEntityType()
-
Returns the run-time type of an EppEntity object
- DOMString getId()
-
Gets the id of the subscription object to be renewed
- void setId( DOMString id )
-
Sets the id of the subscription object to be renewed
- DOMString getUserId()
-
Gets the user id that can be used for authorization purpose
- void setUserId( DOMString userid )
-
Sets the user id that can be used for authorization purpose
- EppAuthInfo* getAuthInfo()
-
Gets the authorization info for the renew operation
- void setAuthInfo( EppAuthInfo& authInfo )
-
Sets the authorization info for the renew operation
- DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
-
Converts the
EppCommandRenewSvcsub
object into
an XML element
- Parameters:
- doc - the XML
DOM_Element
object
tag - the tag/element name for the
EppCommandRenewSvcsub
object
- Returns:
- an
DOM_Element
object
- static EppCommandRenewSvcsub* fromXML( const DOM_Node& root )
-
Converts an XML element into an
EppCommandRenewSvcsub
object. The caller of this method must make sure that the root node
is of an EPP Command Renew entity for EPP subscription object
- Parameters:
- root - root node for an
EppCommandRenewSvcsub
object in XML format
- Returns:
- an
EppCommandRenewSvcsub
object, or null
if the node is invalid
- This class has no child classes.
- Author:
- Ning Zhang ning.zhang@neustar.com
- Version:
- $Revision$
Alphabetic index HTML hierarchy of classes or Java
Copyright © 2001-2002 NeuStar, Inc. All Rights Reserved.