|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.catalog.arcims.ImsRequest
com.esri.gpt.catalog.arcims.PublishServiceRequest
com.esri.gpt.catalog.arcims.GetDocumentRequest
public class GetDocumentRequest
Retrieves a document executing a request against an ArcIMS metadata publish service.
| Field Summary |
|---|
| Fields inherited from class com.esri.gpt.catalog.arcims.ImsRequest |
|---|
ACTION_STATUS_ERROR, ACTION_STATUS_NONE, ACTION_STATUS_OK, ACTION_STATUS_REPLACED, ACTION_STATUS_UNKNOWN |
| Constructor Summary | |
|---|---|
GetDocumentRequest()
Default constructor. |
|
GetDocumentRequest(RequestContext requestContext,
Publisher publisher)
Constructs with an associated request context and publisher. |
|
| Method Summary | |
|---|---|
void |
executeGet(String docUuid)
Executes a GET_METADATA_DOCUMENT request against an ArcIMS metadata publish service. |
Timestamp |
getUpdateDate()
Gets the update date. |
String |
getUuid()
Gets the document uuid. |
String |
getXml()
Gets the document xml. |
protected void |
onStartSaxElement(String lowerCaseTagName,
Attributes attributes)
Triggered when a SAX element is started during the parsing of an axl response. |
void |
reset()
Resets the request. |
protected void |
setUpdateTimestamp(Timestamp updateDate)
Sets the update date. |
protected void |
setXml(String xml)
Sets the document xml. |
| Methods inherited from class com.esri.gpt.catalog.arcims.PublishServiceRequest |
|---|
executeRequest, getPublisher, getRequestContext, setPublisher, setRequestContext |
| Methods inherited from class com.esri.gpt.catalog.arcims.ImsRequest |
|---|
executeRequest, getActionStatus, getAxlRequest, getAxlResponse, getCredentials, getService, makeClient, onEndSaxElement, setActionStatus, setAxlRequest, setAxlResponse, setCredentials, setService, wasActionOK |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GetDocumentRequest()
public GetDocumentRequest(RequestContext requestContext,
Publisher publisher)
requestContext - the request contextpublisher - the publisher| Method Detail |
|---|
public Timestamp getUpdateDate()
protected void setUpdateTimestamp(Timestamp updateDate)
updateDate - the update datepublic String getUuid()
public String getXml()
protected void setXml(String xml)
xml - the document xml
public void executeGet(String docUuid)
throws ImsServiceException,
TransformerException
docUuid - the metatata document uuid of the record to load
PublishServiceException - if an exception occurs
ImsServiceException
TransformerException
protected void onStartSaxElement(String lowerCaseTagName,
Attributes attributes)
onStartSaxElement in class ImsRequestlowerCaseTagName - the lower-case tag name of the elementattributes - the element attributespublic void reset()
|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||