com.esri.gpt.catalog.arcims
Class VerifyDocumentRequest
java.lang.Object
com.esri.gpt.catalog.arcims.ImsRequest
com.esri.gpt.catalog.arcims.HarvestRequest
com.esri.gpt.catalog.arcims.VerifyDocumentRequest
public class VerifyDocumentRequest
- extends HarvestRequest
Verify document request.
Method Summary |
boolean |
verify(String sourceUri)
Verifies document presence. |
Methods inherited from class com.esri.gpt.catalog.arcims.ImsRequest |
executeRequest, 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 |
VerifyDocumentRequest
public VerifyDocumentRequest()
- Creates instance of the request.
VerifyDocumentRequest
public VerifyDocumentRequest(UsernamePasswordCredentials credentials)
- Creates instance of the request.
- Parameters:
credentials
- credentials
verify
public boolean verify(String sourceUri)
throws ImsServiceException
- Verifies document presence.
- Parameters:
sourceUri
- source URI of the document
- Returns:
true
if document still exists on the harvest repository
- Throws:
ImsServiceException
- if verification failed
Copyright 2010 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.