|
EPP 0.2.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neulevel.epp.core.EppEntity
com.neulevel.epp.core.command.EppCommand
com.neulevel.epp.core.command.EppCommandUpdate
com.neulevel.epp.core.command.EppCommandUpdateSvcsub
This EppCommandUpdateSvcsub
class implements EPP Command Update
entity for EPP Svcsub objects.
Field Summary |
Fields inherited from class com.neulevel.epp.core.command.EppCommandUpdate |
statusAdded, statusRemoved |
Fields inherited from class com.neulevel.epp.core.command.EppCommand |
clTRID, creds, unspec |
Constructor Summary | |
EppCommandUpdateSvcsub(java.lang.String id)
Creates an EppCommandUpdateSvcsub given the id of the
service subscription object |
|
EppCommandUpdateSvcsub(java.lang.String id,
java.lang.String xid)
Creates an EppCommandUpdateSvcsub given the id of
service subscription object and the client transaction id |
Method Summary | |
void |
addContact(EppContactType contact)
Adds a new contact to be associated with the service subscription object |
void |
addParam(EppSvcsubParam param)
Adds a new service parameter to be associated with the service subscription object |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandUpdateSvcsub
object. |
EppAuthInfo |
getAuthInfo()
Gets the authorization info for the update operation |
java.util.Vector |
getContactAdded()
Gets the list of new contacts to be added to the service subscription object |
java.util.Vector |
getContactRemoved()
Gets the list of old contacts to be removed from the service subscription object |
java.lang.String |
getId()
Gets the id of the service subscription object to be updated |
EppAuthInfo |
getNewAuthInfo()
Gets the new authorization information for the domain, or null if the authorization information of the domain is not to be changed |
java.lang.String |
getNewRegistrant()
Gets the new registrant's contact id for the domain, or null if the registrant of the domain is not to be changed |
java.util.Vector |
getParamAdded()
Gets the list of new service parameters to be added to the service subscription object |
java.util.Vector |
getParamRemoved()
Gets the list of old service parameters to be removed to the service subscription object |
java.lang.String |
getUserId()
Gets the user id that can be used for authorization purpose |
void |
removeContact(EppContactType contact)
|
void |
removeParam(EppSvcsubParam param)
Removes an old service parameter associated with the service subscription object |
void |
setAuthInfo(EppAuthInfo authInfo)
Sets the authorization info for the update operation |
void |
setId(java.lang.String id)
Sets the id of the service subscription object to be updated |
void |
setNewAuthInfo(EppAuthInfo authInfo)
Sets the new authorization information for the domain if it needs to be changed |
void |
setNewRegistrant(java.lang.String registrant)
Sets the new registrant's contact id for the service subscription object if a new registrant claims the ownership of the service subscription object |
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 EppCommandUpdateSvcsub object into
an XML element |
Methods inherited from class com.neulevel.epp.core.command.EppCommandUpdate |
addStatus, addStatus, getAddedStatus, getRemovedStatus, removeStatus, removeStatus, statusFromXML, statusToXML, 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 EppCommandUpdateSvcsub(java.lang.String id)
EppCommandUpdateSvcsub
given the id of the
service subscription object
public EppCommandUpdateSvcsub(java.lang.String id, java.lang.String xid)
EppCommandUpdateSvcsub
given the id of
service subscription object and the client transaction id
Method Detail |
public java.lang.String getId()
public void setId(java.lang.String id)
public java.util.Vector getParamAdded()
public void addParam(EppSvcsubParam param)
public java.util.Vector getParamRemoved()
public void removeParam(EppSvcsubParam param)
public java.util.Vector getContactAdded()
public void addContact(EppContactType contact)
public java.util.Vector getContactRemoved()
public void removeContact(EppContactType contact)
public java.lang.String getNewRegistrant()
public void setNewRegistrant(java.lang.String registrant)
public EppAuthInfo getNewAuthInfo()
public void setNewAuthInfo(EppAuthInfo authInfo)
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)
EppCommandUpdateSvcsub
object into
an XML element
toXML
in class EppEntity
doc
- the XML Document
objecttag
- the tag/element name for the
EppCommandUpdateSvcsub
object
Element
objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppCommandUpdateSvcsub
object. The caller of this method must make sure that the root node
is of an EPP Command Update entity for an EPP Svcsub object.
root
- root node for an EppCommandUpdate
object
in XML format
EppCommandUpdateSvcsub
object, or null
if the node is invalid
|
EPP 0.2.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |