|
EPP 0.4.9 | ||||||||
| 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.EppObject
com.neulevel.epp.xri.EppXriName
public class EppXriName
This EppXriName class implements EPP XRI I-Name objects.
| Field Summary | |
|---|---|
static java.lang.String |
STATUS_CLIENT_DELETE_PROHIBITED
I-Name status - clientDeleteProhibited |
static java.lang.String |
STATUS_CLIENT_HOLD
I-Name status - clientHold |
static java.lang.String |
STATUS_CLIENT_RENEW_PROHIBITED
I-Name status - clientRenewProhibited |
static java.lang.String |
STATUS_CLIENT_TRANSFER_PROHIBITED
I-Name status - clientTransferProhibited |
static java.lang.String |
STATUS_CLIENT_UPDATE_PROHIBITED
I-Name status - clientUpdateProhibited |
static java.lang.String |
STATUS_OK
I-Name status - ok |
static java.lang.String |
STATUS_PENDING_CREATE
I-Name status - pendingCreate |
static java.lang.String |
STATUS_PENDING_DELETE
I-Name status - pendingDelete |
static java.lang.String |
STATUS_PENDING_TRANSFER
I-Name status - pendingTransfer |
static java.lang.String |
STATUS_PENDING_UPDATE
I-Name status - pendingUpdate |
static java.lang.String |
STATUS_SERVER_DELETE_PROHIBITED
I-Name status - serverDeleteProhibited |
static java.lang.String |
STATUS_SERVER_HOLD
I-Name status - serverHold |
static java.lang.String |
STATUS_SERVER_RENEW_PROHIBITED
I-Name status - serverRenewProhibited |
static java.lang.String |
STATUS_SERVER_TRANSFER_PROHIBITED
I-Name status - serverTransferProhibited |
static java.lang.String |
STATUS_SERVER_UPDATE_PROHIBITED
I-Name 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, XRI_AUTHORITY, XRI_INAME, XRI_INUMBER, XRI_ISERVICE |
| Constructor Summary | |
|---|---|
EppXriName()
Creates an EppXriName object |
|
EppXriName(java.lang.String iname)
Creates an EppXriName object with an XRI i-name |
|
| Method Summary | |
|---|---|
static EppCommandCheckXriName |
check(java.lang.String xid)
Creates an EppCommandCheckXriName object for
checking the existance of EPP XRI I-Name objects in the registry. |
static EppCommandDeleteXriName |
delete(java.lang.String iname,
java.lang.String xid)
Creates an EppCommandDeleteXriName object for
deleting an EPP XRI I-Name object from the registry. |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppXriName object. |
java.lang.String |
getAuthorityId()
Gets the identifier of the superordinate XRI authority object |
java.lang.String |
getIName()
Gets the i-name |
EppPeriod |
getPeriod()
Gets registration period for the i-name |
static EppCommandInfoXriName |
info(java.lang.String iname,
java.lang.String xid)
Creates an EppCommandInfoXriName object for
querying the details of an EPP XRI I-Name object |
static EppCommandRenewXriName |
renew(java.lang.String iname,
java.util.Calendar curExpDate,
EppPeriod period,
java.lang.String xid)
Creates an EppCommandRenewXriName object for
renewing the registration of an EPP XRI I-Name object in the registry. |
void |
setAuthority(java.lang.String authId,
EppAuthInfo authInfo)
Sets the identifier of the superorindate XRI authority object, and authInfo associated with the authority, if any |
void |
setAuthorityId(java.lang.String authId)
Sets the identifier of the superordinate XRI authority object |
void |
setIName(java.lang.String iname)
Sets the i-name |
void |
setPeriod(EppPeriod period)
Sets registration period for the i-name |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppXriName object into an XML element |
static EppCommandTransferXriName |
transfer(java.lang.String iname,
java.lang.String xid)
Creates an EppCommandTransferXriName object for
transfering an EPP XRI I-Name object in the registry. |
static EppCommandUpdateXriName |
update(java.lang.String iname,
java.lang.String xid)
Creates an EppCommandUpdateXriName object for
updating an EPP I-Name 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_HOLD
public static final java.lang.String STATUS_CLIENT_RENEW_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_OK
public static final java.lang.String STATUS_PENDING_CREATE
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_PENDING_UPDATE
public static final java.lang.String STATUS_SERVER_DELETE_PROHIBITED
public static final java.lang.String STATUS_SERVER_HOLD
public static final java.lang.String STATUS_SERVER_RENEW_PROHIBITED
public static final java.lang.String STATUS_SERVER_TRANSFER_PROHIBITED
public static final java.lang.String STATUS_SERVER_UPDATE_PROHIBITED
| Constructor Detail |
|---|
public EppXriName()
EppXriName object
public EppXriName(java.lang.String iname)
EppXriName object with an XRI i-name
| Method Detail |
|---|
public java.lang.String getIName()
public void setIName(java.lang.String iname)
public void setAuthority(java.lang.String authId,
EppAuthInfo authInfo)
public java.lang.String getAuthorityId()
public void setAuthorityId(java.lang.String authId)
public EppPeriod getPeriod()
public void setPeriod(EppPeriod period)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppXriName object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppXriName object
Element objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppXriName object.
The caller of this method must make sure that the root node is of
the EPP I-Name type.
root - root node for an EppXriName object in
XML format
EppXriName object, or null if the node
is invalidpublic java.lang.String toString()
toString in class EppEntity
public static EppCommandDeleteXriName delete(java.lang.String iname,
java.lang.String xid)
EppCommandDeleteXriName object for
deleting an EPP XRI I-Name object from the registry.
iname - the i-name of the XRI i-name object to be deletedxid - the client transaction id associated with the operation
public static EppCommandInfoXriName info(java.lang.String iname,
java.lang.String xid)
EppCommandInfoXriName object for
querying the details of an EPP XRI I-Name object
iname - the i-name of the XRI i-name object to be queriedxid - the client transaction id associated with the operationpublic static EppCommandCheckXriName check(java.lang.String xid)
EppCommandCheckXriName object for
checking the existance of EPP XRI I-Name objects in the registry.
Identifiers of EPP XRI I-Name objects can be added via the
add or addIName methods.
xid - the client transaction id associated with the operation
public static EppCommandRenewXriName renew(java.lang.String iname,
java.util.Calendar curExpDate,
EppPeriod period,
java.lang.String xid)
EppCommandRenewXriName object for
renewing the registration of an EPP XRI I-Name object in the registry.
iname - the iname of the XRI i-name object to be renewedcurExpDate - the current expiration date of the svcsub objectperiod - the new registration period of the svcsub object,
or null if using the value specified by the
registryxid - the client transaction id associated with the
operation
public static EppCommandTransferXriName transfer(java.lang.String iname,
java.lang.String xid)
EppCommandTransferXriName object for
transfering an EPP XRI I-Name object in the registry. The operation
type, transfer token, target authority and authorization information associated
with the operation should be specified via setOperation,
setTransferToken, setTarget, and setAuthInfo method.
iname - the identifier of the XRI authority object to be transferredxid - the client transaction id associated with the operation
public static EppCommandUpdateXriName update(java.lang.String iname,
java.lang.String xid)
EppCommandUpdateXriName object for
updating an EPP I-Name object in the registry. The actual update
information should be specified via the various methods defined
for the EppCommandUpdateXriName object.
iname - the i-name of the XRI i-name object to be updatedxid - the client transaction id associated with the operation
|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||