|
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.EppXriService
public class EppXriService
This EppXriService class implements EPP XRI I-Service objects.
| Field Summary | |
|---|---|
static java.lang.String |
STATUS_CLIENT_DELETE_PROHIBITED
I-Service status - clientDeleteProhibited |
static java.lang.String |
STATUS_CLIENT_HOLD
I-Service status - clientHold |
static java.lang.String |
STATUS_CLIENT_RENEW_PROHIBITED
I-Service status - clientRenewProhibited |
static java.lang.String |
STATUS_CLIENT_UPDATE_PROHIBITED
I-Service status - clientUpdateProhibited |
static java.lang.String |
STATUS_OK
I-Service status - ok |
static java.lang.String |
STATUS_PENDING_CREATE
I-Service status - pendingCreate |
static java.lang.String |
STATUS_PENDING_DELETE
I-Service status - pendingDelete |
static java.lang.String |
STATUS_PENDING_TRANSFER
I-Service status - pendingTransfer |
static java.lang.String |
STATUS_PENDING_UPDATE
I-Service status - pendingUpdate |
static java.lang.String |
STATUS_SERVER_DELETE_PROHIBITED
I-Service status - serverDeleteProhibited |
static java.lang.String |
STATUS_SERVER_HOLD
I-Service status - serverHold |
static java.lang.String |
STATUS_SERVER_RENEW_PROHIBITED
I-Service status - serverRenewProhibited |
static java.lang.String |
STATUS_SERVER_UPDATE_PROHIBITED
I-Service 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 | |
|---|---|
EppXriService()
Creates an EppXriService object |
|
EppXriService(java.lang.String id)
Creates an EppXriService object with an XRI i-service identifier |
|
| Method Summary | |
|---|---|
void |
addURI(java.lang.String uri)
Adds a URL to the list of URIs associated with the XRI i-service object |
static EppCommandCheckXriService |
check(java.lang.String xid)
Creates an EppCommandCheckXriService object for
checking the existance of EPP XRI I-Service objects in the registry. |
static EppCommandDeleteXriService |
delete(java.lang.String id,
java.lang.String xid)
Creates an EppCommandDeleteXriService object for
deleting an EPP XRI I-Service object from the registry. |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppXriService object. |
java.lang.String |
getAuthorityId()
Gets the identifier of the superordinate XRI authority object |
java.lang.String |
getId()
Gets the i-service identifier |
EppPeriod |
getPeriod()
Gets registration period for the i-service object |
java.lang.String |
getType()
Gets the i-service type |
java.util.Vector |
getURI()
Gets the list of URIs associated with the XRI i-service object |
static EppCommandInfoXriService |
info(java.lang.String id,
java.lang.String xid)
Creates an EppCommandInfoXriService object for
querying the details of an EPP XRI I-Service object |
static EppCommandRenewXriService |
renew(java.lang.String id,
java.util.Calendar curExpDate,
EppPeriod period,
java.lang.String xid)
Creates an EppCommandRenewXriService object for
renewing the registration of an EPP XRI I-Service 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 |
setId(java.lang.String id)
Sets the i-service identifier |
void |
setPeriod(EppPeriod period)
Sets registration period for the i-service object |
void |
setType(java.lang.String type)
Sets the i-service type |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppXriService object into an XML element |
static EppCommandUpdateXriService |
update(java.lang.String id,
java.lang.String xid)
Creates an EppCommandUpdateXriService object for
updating an EPP I-Service 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_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_UPDATE_PROHIBITED
| Constructor Detail |
|---|
public EppXriService()
EppXriService object
public EppXriService(java.lang.String id)
EppXriService object with an XRI i-service identifier
| Method Detail |
|---|
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getType()
public void setType(java.lang.String type)
public void setAuthority(java.lang.String authId,
EppAuthInfo authInfo)
public java.lang.String getAuthorityId()
public void setAuthorityId(java.lang.String authId)
public java.util.Vector getURI()
public void addURI(java.lang.String uri)
public EppPeriod getPeriod()
public void setPeriod(EppPeriod period)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppXriService object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppXriService object
Element objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppXriService object.
The caller of this method must make sure that the root node is of
the EPP I-Service type.
root - root node for an EppXriService object in
XML format
EppXriService object, or null if the node
is invalidpublic java.lang.String toString()
toString in class EppEntity
public static EppCommandDeleteXriService delete(java.lang.String id,
java.lang.String xid)
EppCommandDeleteXriService object for
deleting an EPP XRI I-Service object from the registry.
id - the identifier of the XRI i-service object to be deletedxid - the client transaction id associated with the operation
public static EppCommandInfoXriService info(java.lang.String id,
java.lang.String xid)
EppCommandInfoXriService object for
querying the details of an EPP XRI I-Service object
id - the identifier of the XRI i-service object to be createdxid - the client transaction id associated with the operationpublic static EppCommandCheckXriService check(java.lang.String xid)
EppCommandCheckXriService object for
checking the existance of EPP XRI I-Service objects in the registry.
Identifiers of EPP XRI I-Service objects can be added via the
add or addIService methods.
xid - the client transaction id associated with the operation
public static EppCommandRenewXriService renew(java.lang.String id,
java.util.Calendar curExpDate,
EppPeriod period,
java.lang.String xid)
EppCommandRenewXriService object for
renewing the registration of an EPP XRI I-Service object in the registry.
id - the identifier of the XRI i-service 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 EppCommandUpdateXriService update(java.lang.String id,
java.lang.String xid)
EppCommandUpdateXriService object for
updating an EPP I-Service object in the registry. The actual update
information should be specified via the various methods defined
for the EppCommandUpdateXriService object.
id - the identifier of the XRI i-service 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 | ||||||||