Esri Geoportal Server
1.0

com.esri.gpt.catalog.publication
Class CollectSourceUrisRequest

java.lang.Object
  extended by com.esri.gpt.catalog.publication.CollectSourceUrisRequest

public class CollectSourceUrisRequest
extends Object

Collects source URI's.


Constructor Summary
CollectSourceUrisRequest(RequestContext requestContext, HrRecord repository)
          Creates instance of the request.
 
Method Summary
 void execute()
          Executes request.
protected  void onSourceUri(String sourceUri, String uuid)
          Called every time a source URI is found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectSourceUrisRequest

public CollectSourceUrisRequest(RequestContext requestContext,
                                HrRecord repository)
Creates instance of the request.

Parameters:
requestContext - request context
repository - harvest repository
Method Detail

execute

public void execute()
             throws SQLException
Executes request.

Throws:
SQLException - if accessing database fails

onSourceUri

protected void onSourceUri(String sourceUri,
                           String uuid)
Called every time a source URI is found. Override to provide data handling.

Parameters:
sourceUri - source URI
uuid - record UUID

Esri Geoportal Server
1.0

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