com.esri.gpt.catalog.arcims
Class DeleteMetadataRequest
java.lang.Object
com.esri.gpt.catalog.arcims.ImsRequest
com.esri.gpt.catalog.arcims.PublishServiceRequest
com.esri.gpt.catalog.arcims.DeleteMetadataRequest
public class DeleteMetadataRequest
- extends PublishServiceRequest
Deletes a record by executing a request against an ArcIMS metadata publish service.
Method Summary |
boolean |
executeDelete(String docUuid)
Executes a DELETE_METADATA request against an ArcIMS metadata publish service. |
Methods inherited from class com.esri.gpt.catalog.arcims.ImsRequest |
executeRequest, getActionStatus, getAxlRequest, getAxlResponse, getCredentials, getService, makeClient, onEndSaxElement, onStartSaxElement, setActionStatus, setAxlRequest, setAxlResponse, setCredentials, setService, wasActionOK |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteMetadataRequest
public DeleteMetadataRequest()
- Default constructor.
DeleteMetadataRequest
public DeleteMetadataRequest(RequestContext requestContext,
Publisher publisher)
- Constructs with an associated request context and publisher.
- Parameters:
requestContext
- the request contextpublisher
- the publisher
executeDelete
public boolean executeDelete(String docUuid)
throws ImsServiceException
- Executes a DELETE_METADATA request against an ArcIMS metadata publish service.
- Parameters:
docUuid
- the metatata document uuid of the record to delete
- Returns:
- true if the action status was ok
- Throws:
PublishServiceException
- if an exception occurs
ImsServiceException
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.