|
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.EppObject com.neulevel.epp.core.EppContact
This EppContact
class implements EPP Contact objects.
Field Summary | |
static java.lang.String |
STATUS_CLIENT_DELETE_PROHIBITED
Contact status - clientDeleteProhibited |
static java.lang.String |
STATUS_CLIENT_TRANSFER_PROHIBITED
Contact status - clientTransferProhibited |
static java.lang.String |
STATUS_CLIENT_UPDATE_PROHIBITED
Contact status - clientUpdateProhibited |
static java.lang.String |
STATUS_LINKED
Contact status - linked |
static java.lang.String |
STATUS_OK
Contact status - ok |
static java.lang.String |
STATUS_PENDING_DELETE
Contact status - pendingDelete |
static java.lang.String |
STATUS_PENDING_TRANSFER
Contact status - pendingTransfer |
static java.lang.String |
STATUS_SERVER_DELETE_PROHIBITED
Contact status - serverDeleteProhibited |
static java.lang.String |
STATUS_SERVER_TRANSFER_PROHIBITED
Contact status - serverTransferProhibited |
static java.lang.String |
STATUS_SERVER_UPDATE_PROHIBITED
Contact status - serverUpdateProhibited |
Fields inherited from class com.neulevel.epp.core.EppObject |
authInfo, clID, CONTACT, crDate, crID, DOMAIN, exDate, HOST, roid, status, SVCSUB, trDate, upDate, upID |
Constructor Summary | |
EppContact()
Creates an EppContact object |
|
EppContact(java.lang.String id)
Creates an EppContact object with a client-supplied
contact id |
Method Summary | |
static EppCommandCheckContact |
check(java.lang.String xid)
Creates an EppCommandCheckContact object for
checking the existance of EPP Contact objects in the registry. |
static EppCommandDeleteContact |
delete(java.lang.String id,
java.lang.String xid)
Creates an EppCommandDeleteContact object for
deleting an EPP Contact object from the registry. |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppContact object. |
EppContactData |
getContactDataAscii()
Gets the contact data in ascii encoding |
EppContactData |
getContactDataI15d()
Gets the contact data in native encoding |
java.lang.String |
getEmail()
Gets the email address of the contact |
EppE164 |
getFax()
Gets the fax number of the contact |
java.lang.String |
getId()
Gets the contact id |
EppE164 |
getVoice()
Gets the voice phone number of the contact |
static EppCommandInfoContact |
info(java.lang.String id,
java.lang.String xid)
Creates an EppCommandInfoContact object for
querying the details of an EPP Contact object |
void |
setContactDataAscii(EppContactData ascii)
Sets the contact data in ascii encoding |
void |
setContactDataI15d(EppContactData i15d)
Sets the contact data in native encoding |
void |
setEmail(java.lang.String email)
Sets the email address of the contact |
void |
setFax(EppE164 fax)
Sets the fax number extension |
void |
setFax(java.lang.String fax)
Sets the fax number of the contact |
void |
setFax(java.lang.String fax,
java.lang.String ext)
Sets the fax number and extenstion |
void |
setId(java.lang.String id)
Sets the contact id |
void |
setVoice(EppE164 voice)
Sets the voice phone number of the contact |
void |
setVoice(java.lang.String voice)
Sets the voice phone number of the contact |
void |
setVoice(java.lang.String voice,
java.lang.String ext)
Sets the voice phone number and extenstion |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppContact object into an XML element |
static EppCommandTransferContact |
transfer(java.lang.String id,
java.lang.String xid)
Creates an EppCommandTransferContact object for
transfering an EPP Contact object in the registry. |
static EppCommandUpdateContact |
update(java.lang.String id,
java.lang.String xid)
Creates an EppCommandUpdateContact object for
updating an EPP Contact object in the registry. |
Methods inherited from class com.neulevel.epp.core.EppObject |
addStatus, create, fromXMLCommon, getAuthInfo, getClientId, getClientIdCreated, getClientIdUpdated, getDateCreated, getDateExpired, getDateTransferred, getDateUpdated, getRoid, getStatus, setAuthInfo, setClientId, setClientIdCreated, setClientIdUpdated, setDateCreated, setDateExpired, setDateTransferred, setDateUpdated, setRoid, toXMLCommon |
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 |
Field Detail |
public static final java.lang.String STATUS_CLIENT_DELETE_PROHIBITED
public static final java.lang.String STATUS_CLIENT_TRANSFER_PROHIBITED
public static final java.lang.String STATUS_CLIENT_UPDATE_PROHIBITED
public static final java.lang.String STATUS_LINKED
public static final java.lang.String STATUS_OK
public static final java.lang.String STATUS_PENDING_DELETE
public static final java.lang.String STATUS_PENDING_TRANSFER
public static final java.lang.String STATUS_SERVER_DELETE_PROHIBITED
public static final java.lang.String STATUS_SERVER_TRANSFER_PROHIBITED
public static final java.lang.String STATUS_SERVER_UPDATE_PROHIBITED
Constructor Detail |
public EppContact()
EppContact
object
public EppContact(java.lang.String id)
EppContact
object with a client-supplied
contact id
Method Detail |
public java.lang.String getId()
public void setId(java.lang.String id)
public EppContactData getContactDataAscii()
public void setContactDataAscii(EppContactData ascii)
public EppContactData getContactDataI15d()
public void setContactDataI15d(EppContactData i15d)
public EppE164 getVoice()
public void setVoice(java.lang.String voice)
public void setVoice(java.lang.String voice, java.lang.String ext)
public void setVoice(EppE164 voice)
public EppE164 getFax()
public void setFax(java.lang.String fax)
public void setFax(java.lang.String fax, java.lang.String ext)
public void setFax(EppE164 fax)
public java.lang.String getEmail()
public void setEmail(java.lang.String email)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppContact
object into an XML element
toXML
in class EppEntity
doc
- the XML Document
objecttag
- the tag/element name for the EppContact
object
Element
objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppContact
object.
The caller of this method must make sure that the root node is of
the EPP Contact type.
root
- root node for an EppContact
object
in XML format
EppContact
object, or null if the node
is invalidpublic java.lang.String toString()
toString
in class EppEntity
public static EppCommandDeleteContact delete(java.lang.String id, java.lang.String xid)
EppCommandDeleteContact
object for
deleting an EPP Contact object from the registry.
id
- the id of the contact object to be deletedxid
- the client transaction id associated with the operationpublic static EppCommandInfoContact info(java.lang.String id, java.lang.String xid)
EppCommandInfoContact
object for
querying the details of an EPP Contact object
id
- the id of the contact object to be queriedxid
- the client transaction id associated with the operationpublic static EppCommandCheckContact check(java.lang.String xid)
EppCommandCheckContact
object for
checking the existance of EPP Contact objects in the registry.
ids of EPP Contact objects can be added via the
add
or addRoid
methods.
xid
- the client transaction id associated with the operationpublic static EppCommandTransferContact transfer(java.lang.String id, java.lang.String xid)
EppCommandTransferContact
object for
transfering an EPP Contact object in the registry. The operation
type and authorization information associated with the operation
should be specified via setOperation
and
setAuthInfo
method.
id
- the id of the contact object to be transferredxid
- the client transaction id associated with the operationpublic static EppCommandUpdateContact update(java.lang.String id, java.lang.String xid)
EppCommandUpdateContact
object for
updating an EPP Contact object in the registry. The actual update
information should be specified via the various methods defined
for the EppCommandUpdateContact
object.
id
- the id of the contact object to be updatedxid
- the client transaction id associated with the operation
|
EPP 0.2.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |