|
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.response.EppResponseData
com.neulevel.epp.core.response.EppResponseDataCheck
public abstract class EppResponseDataCheck
This EppResponseDataCheck class implements EPP Response
Data entity for EPP Command Check.
| Field Summary | |
|---|---|
static java.lang.String |
FOUND
Status for checking the existance of an object in the registry |
protected java.util.HashMap |
hashMap
A HashMap storing key and value pairs |
static java.lang.String |
NOT_FOUND
Status for checking the existance of an object in the registry |
protected java.util.HashMap |
reasonHashMap
A HashMap storing key and reason pairs |
static java.lang.String |
UNKNOWN
Status for checking the existance of an object in the registry |
| Constructor Summary | |
|---|---|
EppResponseDataCheck()
|
|
| Method Summary | |
|---|---|
void |
add(java.lang.String id,
boolean flag)
Adds an entry into the HashMap for indicating if the
object can be privisioned in the registry or not |
void |
add(java.lang.String id,
boolean flag,
java.lang.String reason)
Adds an entry into the HashMap for indicating if the
object can be privisioned in the registry or not |
void |
add(java.lang.String id,
java.lang.String flag)
Adds an entry into the HashMap for indicating if the
object exists in the registry or not - for backward compatibility |
java.lang.String |
check(java.lang.String id)
Checks if an object id is in the HashMap - for backward compatibility |
protected void |
fromXMLCommon(org.w3c.dom.Node root,
java.lang.String tag)
Converts shared EppResponseDataCheck components from
XML format. |
java.util.HashMap |
getHashMap()
Gets the HashMap associated with the result data of
the check command - for backward compatibility, alias for getResultHashMap() |
java.lang.String |
getReason(java.lang.String id)
Gets the reason for an object id |
java.util.HashMap |
getReasonHashMap()
Gets the HashMap associated with the reason data of
the check command |
java.util.HashMap |
getResultHashMap()
Gets the HashMap associated with the result data of
the check command |
boolean |
isAvailable(java.lang.String id)
Checks if an object id is available for provisioning |
protected void |
toXMLCommon(org.w3c.dom.Document doc,
org.w3c.dom.Element body,
java.lang.String tag)
Converts shared EppResponseDataCheck component into
XML elements |
| Methods inherited from class com.neulevel.epp.core.response.EppResponseData |
|---|
fromXML, toString |
| Methods inherited from class com.neulevel.epp.core.EppEntity |
|---|
toString, toXML |
| 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 UNKNOWN
public static final java.lang.String FOUND
public static final java.lang.String NOT_FOUND
protected java.util.HashMap hashMap
HashMap storing key and value pairs
protected java.util.HashMap reasonHashMap
HashMap storing key and reason pairs
| Constructor Detail |
|---|
public EppResponseDataCheck()
| Method Detail |
|---|
public java.util.HashMap getHashMap()
HashMap associated with the result data of
the check command - for backward compatibility, alias for getResultHashMap()
public java.util.HashMap getResultHashMap()
HashMap associated with the result data of
the check command
public java.util.HashMap getReasonHashMap()
HashMap associated with the reason data of
the check command
public void add(java.lang.String id,
java.lang.String flag)
HashMap for indicating if the
object exists in the registry or not - for backward compatibility
id - The Id associated with an EPP object, ROID for a contact
object, domain name for a domain object, host name for
a host objectflag - one of the FOUND, NOT_FOUND,
UNKNWON, indicating if the object exists in
the registry or not, or the existance is unknown
public void add(java.lang.String id,
boolean flag)
HashMap for indicating if the
object can be privisioned in the registry or not
id - The Id associated with an EPP object, ROID for a contact
object, domain name for a domain object, host name for
a host objectflag - a boolean flag that indicates the availability of an
object, i.e.can it be provisioned or not.
public void add(java.lang.String id,
boolean flag,
java.lang.String reason)
HashMap for indicating if the
object can be privisioned in the registry or not
id - The Id associated with an EPP object, ROID for a contact
object, domain name for a domain object, host name for
a host objectflag - a boolean flag that indicates the availability of an
object, i.e.can it be provisioned or not.reason - a reason text that provides more details of the statuspublic java.lang.String check(java.lang.String id)
HashMap - for backward compatibility
FOUND, NOT_FOUND,
UNKNWONpublic boolean isAvailable(java.lang.String id)
public java.lang.String getReason(java.lang.String id)
protected void toXMLCommon(org.w3c.dom.Document doc,
org.w3c.dom.Element body,
java.lang.String tag)
EppResponseDataCheck component into
XML elements
doc - the XML Document objectbody - the XML Element to be attachedtag - the XML tag for the object identifiers
protected void fromXMLCommon(org.w3c.dom.Node root,
java.lang.String tag)
EppResponseDataCheck components from
XML format.
root - root node for the list of shared componentstag - the XML tag for the object identifiers
|
EPP 0.4.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||