|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.interfaces.EPPHost
com.verisign.epp.namestore.interfaces.NSHost
public class NSHost
NameStore Host interface that extends that standard
EPPHost
by adding new methods like @link{#setSubProductID(String)}.
EPPHost
could be used directly, but NSHost
can be enhanced independent of the EPP specification.
Field Summary |
---|
Fields inherited from class com.verisign.epp.interfaces.EPPHost |
---|
DEFAULT_LANG, STAT_CLIENT_DELETE_PROHIBITED, STAT_CLIENT_UPDATE_PROHIBITED, STAT_LINKED, STAT_OK, STAT_PENDING_CREATE, STAT_PENDING_DELETE, STAT_PENDING_TRANSFER, STAT_PENDING_UPDATE, STAT_SERVER_DELETE_PROHIBITED, STAT_SERVER_UPDATE_PROHIBITED |
Constructor Summary | |
---|---|
NSHost(EPPSession aSession)
Creates an NSHost with an
established EPPSession . |
Method Summary | |
---|---|
protected void |
resetHost()
Resets the host attributes for the next command. |
void |
setResellerId(java.lang.String aResellerId)
Sets the reseller identifier used with sendCreate() . |
void |
setSubProductID(java.lang.String aSubProductID)
Sets the host sub-product id which specifies which is the target registry for the host operation. |
void |
updateResellerId(EPPResellerExtUpdate.Action aAction,
java.lang.String aResellerId)
Updates the reseller identifier used with sendUpdate() . |
Methods inherited from class com.verisign.epp.interfaces.EPPHost |
---|
addExtension, addHostName, addIPV4Address, addIPV6Address, addStatus, addStatus, getExtensions, getNewName, getResponse, removeIPV4Address, removeIPV6Address, removeStatus, removeStatus, sendCheck, sendCreate, sendDelete, sendInfo, sendUpdate, setExtension, setExtensions, setNewName, setTransId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NSHost(EPPSession aSession)
NSHost
with an
established EPPSession
.
aSession
- Established sessionMethod Detail |
---|
public void setSubProductID(java.lang.String aSubProductID)
EPPNamestoreExtNamestoreExt
extension being
added to the command.
aSubProductID
- Sub-product id of host operation. Should use one
of the @link{NSSubProduct} constants. Passing null
will not add any extension.public void setResellerId(java.lang.String aResellerId)
sendCreate()
.
aResellerId
- Reseller identifierpublic void updateResellerId(EPPResellerExtUpdate.Action aAction, java.lang.String aResellerId)
sendUpdate()
.
There are three possible actions add, remove, and change defined in the
EPPResellerExtUpdate.Action
aAction
parameter that can be taken with the
reseller identifier defined by the aResellerId
parameter.
aAction
- Update action to take using the Action
enumerated
values.aResellerId
- Reseller identifierprotected void resetHost()
resetHost
in class EPPHost
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |