|
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.EppCommandUpdateContact
This EppCommandUpdateContact
class implements EPP Command Update
entity for EPP Contact 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 | |
EppCommandUpdateContact(java.lang.String id)
Creates an EppCommandUpdateContact given the id
of the contact |
|
EppCommandUpdateContact(java.lang.String id,
java.lang.String xid)
Creates an EppCommandUpdateContact given the id
of the contact and a client transaction id |
Method Summary | |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandUpdateDomain
object. |
java.lang.String |
getId()
Gets the id of the contact to be updated |
EppContactData |
getNewAscii()
Gets the new contact data in ascii encoding, or null if not changed |
EppAuthInfo |
getNewAuthInfo()
|
java.lang.String |
getNewEmail()
Gets the new email address of the contact, or null if not changed |
EppE164 |
getNewFax()
Gets the new fax number |
EppContactData |
getNewI15d()
Gets the new contact data in native encoding, or null if not changed |
EppE164 |
getNewVoice()
Gets the new voice phone number |
void |
setId(java.lang.String id)
Sets the id of the contact to be updated |
void |
setNewAscii(EppContactData ascii)
Sets the new contact data in ascii encoding, or null if not changed |
void |
setNewAuthInfo(EppAuthInfo authInfo)
Sets the new authorization information for the contact if it needs to be changed |
void |
setNewEmail(java.lang.String email)
Sets the new email address of the contact, or null if not changed |
void |
setNewFax(EppE164 fax)
Sets the new fax number |
void |
setNewFax(java.lang.String fax)
Sets the new fax number |
void |
setNewFax(java.lang.String fax,
java.lang.String ext)
Sets the new fax number |
void |
setNewI15d(EppContactData i15d)
Sets the new contact data in ascii encoding, or null if not changed |
void |
setNewVoice(EppE164 voice)
Sets the new voice phone number |
void |
setNewVoice(java.lang.String voice)
Sets the new voice phone number |
void |
setNewVoice(java.lang.String voice,
java.lang.String ext)
Sets the new voice phone number |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppCommandUpdateContact 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 EppCommandUpdateContact(java.lang.String id)
EppCommandUpdateContact
given the id
of the contact
public EppCommandUpdateContact(java.lang.String id, java.lang.String xid)
EppCommandUpdateContact
given the id
of the contact and a client transaction id
Method Detail |
public java.lang.String getId()
public void setId(java.lang.String id)
public EppContactData getNewAscii()
public void setNewAscii(EppContactData ascii)
public EppContactData getNewI15d()
public void setNewI15d(EppContactData i15d)
public EppE164 getNewVoice()
public void setNewVoice(java.lang.String voice)
public void setNewVoice(java.lang.String voice, java.lang.String ext)
public void setNewVoice(EppE164 voice)
public EppE164 getNewFax()
public void setNewFax(java.lang.String fax)
public void setNewFax(java.lang.String fax, java.lang.String ext)
public void setNewFax(EppE164 fax)
public java.lang.String getNewEmail()
public void setNewEmail(java.lang.String email)
public EppAuthInfo getNewAuthInfo()
public void setNewAuthInfo(EppAuthInfo authInfo)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppCommandUpdateContact
object into
an XML element
toXML
in class EppEntity
doc
- the XML Document
objecttag
- the tag/element name for the
EppCommandUpdateContact
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 Contact object.
root
- root node for an EppCommandUpdateDomain
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 |