|
EPP 0.2.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.neulevel.epp.core.EppEntity | +--com.neulevel.epp.core.command.EppCommand | +--com.neulevel.epp.core.command.EppCommandRenew | +--com.neulevel.epp.core.command.EppCommandRenewSvcsub
This EppCommandRenewSvcsub
class implements EPP Command Renew
entity for EPP Svcsub objects.
Fields inherited from class com.neulevel.epp.core.command.EppCommandRenew |
curExpDate,
period |
Fields inherited from class com.neulevel.epp.core.command.EppCommand |
clTRID,
creds,
unspec |
Constructor Summary | |
EppCommandRenewSvcsub(java.lang.String id,
java.util.Calendar curExpDate)
Creates an EppCommandRenewSvcsub object with a
default expiration period, specified by the registry |
|
EppCommandRenewSvcsub(java.lang.String id,
java.util.Calendar curExpDate,
EppPeriod period,
java.lang.String xid)
Creates an EppCommandRenewSvcsub object with a
specified expiration period, and a client transaction id associated
with the operation |
|
EppCommandRenewSvcsub(java.lang.String id,
java.util.Calendar curExpDate,
java.lang.String xid)
Creates an EppCommandRenewSvcsub object with a
default expiration period, specified by the registry, and a
client transaction id associated with the operation |
|
EppCommandRenewSvcsub(java.lang.String id,
java.lang.String xid)
Creates an EppCommandRenewSvcsub object with a
client transaction id associated with the operation. |
Method Summary | |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandRenewSvcsub
object. |
EppAuthInfo |
getAuthInfo()
Gets the authorization info for the renew operation |
java.lang.String |
getId()
Gets the id of the service subscription object to be renewed |
java.lang.String |
getUserId()
Gets the user id that can be used for authorization purpose |
void |
setAuthInfo(EppAuthInfo authInfo)
Sets the authorization info for the renew operation |
void |
setId(java.lang.String id)
Sets the id of the service subscription object to be renewed |
void |
setUserId(java.lang.String userid)
Sets the user id that can be used for authorization purpose |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppCommandRenewSvcsub object into
an XML element |
Methods inherited from class com.neulevel.epp.core.command.EppCommandRenew |
getCurrentExpireDate,
getPeriod,
setCurrentExpireDate,
setPeriod,
toString |
Methods inherited from class com.neulevel.epp.core.command.EppCommand |
check,
create,
delete,
getClientTransactionId,
getCreds,
getUnspec,
info,
renew,
setClientTransactionId,
setCreds,
setUnspec,
toXMLCommon,
toXMLCommon,
toXMLCommon,
toXMLCommon,
transfer,
update |
Methods inherited from class com.neulevel.epp.core.EppEntity |
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public EppCommandRenewSvcsub(java.lang.String id, java.util.Calendar curExpDate)
EppCommandRenewSvcsub
object with a
default expiration period, specified by the registrypublic EppCommandRenewSvcsub(java.lang.String id, java.lang.String xid)
EppCommandRenewSvcsub
object with a
client transaction id associated with the operation. The current
date of expiration would be the current date.public EppCommandRenewSvcsub(java.lang.String id, java.util.Calendar curExpDate, java.lang.String xid)
EppCommandRenewSvcsub
object with a
default expiration period, specified by the registry, and a
client transaction id associated with the operationpublic EppCommandRenewSvcsub(java.lang.String id, java.util.Calendar curExpDate, EppPeriod period, java.lang.String xid)
EppCommandRenewSvcsub
object with a
specified expiration period, and a client transaction id associated
with the operationMethod Detail |
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getUserId()
public void setUserId(java.lang.String userid)
public EppAuthInfo getAuthInfo()
public void setAuthInfo(EppAuthInfo authInfo)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppCommandRenewSvcsub
object into
an XML elementdoc
- the XML Document
objecttag
- the tag/element name for the
EppCommandRenewSvcsub
objectElement
objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppCommandRenewSvcsub
object. The caller of this method must make sure that the root node
is of an EPP Command Renew entity for EPP svcsub objectroot
- root node for an EppCommandRenewSvcsub
object in XML formatEppCommandRenewSvcsub
object, or null
if the node is invalid
|
EPP 0.2.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |