|
EPP 0.2.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | 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.EppCommandUpdate com.neulevel.epp.core.command.EppCommandUpdateDomain
This EppCommandUpdateDomain
class implements EPP Command Update
entity for EPP Domain 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 | |
EppCommandUpdateDomain(java.lang.String name)
Creates an EppCommandUpdateDomain given the name of the
domain |
|
EppCommandUpdateDomain(java.lang.String name,
java.lang.String xid)
Creates an EppCommandUpdateDomain given the name of the
domain and a client transaction id |
Method Summary | |
void |
addContact(EppContactType contact)
Adds a new contact to be associated with the domain |
void |
addNameServer(java.lang.String nameServer)
Adds a new name server to be associated with the domain |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandUpdateDomain
object. |
java.util.Vector |
getContactAdded()
Gets the list of new contacts to be added to the domain |
java.util.Vector |
getContactRemoved()
Gets the list of old contacts to be removed from the domain |
java.lang.String |
getName()
Gets the name of the domain to be updated |
java.util.Vector |
getNameServerAdded()
Gets the list of new name servers to be added to the domain |
java.util.Vector |
getNameServerRemoved()
Gets the list of old name servers to be removed from the domain |
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 |
void |
removeContact(EppContactType contact)
|
void |
removeNameServer(java.lang.String nameServer)
Removes an old name server associated with the domain |
void |
setName(java.lang.String name)
Sets the name of the domain 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 domain if a new registrant claims the ownership of the domain |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppCommandUpdateDomain 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 EppCommandUpdateDomain(java.lang.String name)
EppCommandUpdateDomain
given the name of the
domain
public EppCommandUpdateDomain(java.lang.String name, java.lang.String xid)
EppCommandUpdateDomain
given the name of the
domain and a client transaction id
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.Vector getNameServerAdded()
public void addNameServer(java.lang.String nameServer)
public java.util.Vector getNameServerRemoved()
public void removeNameServer(java.lang.String nameServer)
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 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppCommandUpdateDomain
object into
an XML element
toXML
in class EppEntity
doc
- the XML Document
objecttag
- the tag/element name for the
EppCommandUpdateDomain
object
Element
objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppCommandUpdateDomain
object. The caller of this method must make sure that the root node
is of an EPP Command Update entity for an EPP Domain object.
root
- root node for an EppCommandUpdate
object
in XML format
EppCommandUpdateDomain
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 |