Esri Geoportal Server
1.0

com.esri.gpt.catalog.arcims
Class HarvestMetadataRequest

java.lang.Object
  extended by com.esri.gpt.catalog.arcims.ImsRequest
      extended by com.esri.gpt.catalog.arcims.HarvestRequest
          extended by com.esri.gpt.catalog.arcims.HarvestMetadataRequest

public class HarvestMetadataRequest
extends HarvestRequest

Harvest metadata request.


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
HarvestMetadataRequest()
          Creates instance of the request.
HarvestMetadataRequest(UsernamePasswordCredentials credentials)
          Creates instance of the request.
 
Method Summary
 void executeHarvest(String sourceUri)
          Harvests single metadata.
 String getMetadata()
          Gets metadata.
 
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
 

Constructor Detail

HarvestMetadataRequest

public HarvestMetadataRequest()
Creates instance of the request.


HarvestMetadataRequest

public HarvestMetadataRequest(UsernamePasswordCredentials credentials)
Creates instance of the request.

Parameters:
credentials - credentials
Method Detail

getMetadata

public String getMetadata()
Gets metadata.

Returns:
metadata text or null if metadata not available

executeHarvest

public void executeHarvest(String sourceUri)
                    throws ImsServiceException
Harvests single metadata.

Parameters:
sourceUri - metadata URI
Throws:
ImsServiceException - if harvest failed

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.