class EppCommandRenewSvcsub

This EppCommandRenewSvcsub class implements EPP Command Renew entity for EPP Svcsub objects.

Inheritance:


Public Methods

[more] EppCommandRenewSvcsub()
Creates an EppCommandRenewSvcsub object
[more] EppCommandRenewSvcsub( DOMString id, time_t curExpDate )
Creates an EppCommandRenewSvcsub object with a default expiration period, specified by the registry
[more] EppCommandRenewSvcsub( DOMString id, DOMString xid )
Creates an EppCommandRenewSvcsub object with a client transaction id associated with the operation.
[more] 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
[more] 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
[more] ~EppCommandRenewSvcsub()
Destructor
[more]virtual int getEntityType()
Returns the run-time type of an EppEntity object
[more]DOMString getId()
Gets the id of the subscription object to be renewed
[more]void setId( DOMString id )
Sets the id of the subscription object to be renewed
[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 info for the renew operation
[more]void setAuthInfo( EppAuthInfo& authInfo )
Sets the authorization info for the renew operation
[more]DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppCommandRenewSvcsub object into an XML element
[more]static EppCommandRenewSvcsub* fromXML( const DOM_Node& root )
Converts an XML element into an EppCommandRenewSvcsub 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 EppCommandRenewSvcsub class implements EPP Command Renew entity for EPP Svcsub objects.

o EppCommandRenewSvcsub()
Creates an EppCommandRenewSvcsub object

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

o 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.

o 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

o 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

o ~EppCommandRenewSvcsub()
Destructor

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

oDOMString getId()
Gets the id of the subscription object to be renewed

ovoid setId( DOMString id )
Sets the id of the subscription object to be renewed

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 info for the renew operation

ovoid setAuthInfo( EppAuthInfo& authInfo )
Sets the authorization info for the renew operation

oDOM_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

ostatic 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.