Esri Geoportal Server
1.0

com.esri.gpt.catalog.harvest.jobs
Class HjCompleteRequest

java.lang.Object
  extended by com.esri.gpt.framework.sql.BaseDao
      extended by com.esri.gpt.framework.request.DaoRequest<RequestDefinition<HjCriteria,HjResult>>
          extended by com.esri.gpt.catalog.harvest.jobs.HjRequest
              extended by com.esri.gpt.catalog.harvest.jobs.HjCompleteRequest
All Implemented Interfaces:
IRequest<RequestDefinition<HjCriteria,HjResult>>

public class HjCompleteRequest
extends HjRequest

Makes job completed.


Constructor Summary
HjCompleteRequest(RequestContext requestContext, String resourceUuid)
          Creates instance of the request.
 
Method Summary
 boolean execute()
          Executes request.
 
Methods inherited from class com.esri.gpt.catalog.harvest.jobs.HjRequest
getActionCriteria, getActionResult, getHarvestingHistoryTableName, getHarvestingJobsCompletedTableName, getHarvestingJobsPendingTableName, getHarvestingTableName, getQueryCriteria, getQueryResult
 
Methods inherited from class com.esri.gpt.framework.request.DaoRequest
getRequestDefinition, setRequestDefinition
 
Methods inherited from class com.esri.gpt.framework.sql.BaseDao
appendExpression, appendValueFilter, closeResultSet, closeStatement, getApplicationConfiguration, getRequestContext, logExpression, returnConnection, setRequestContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HjCompleteRequest

public HjCompleteRequest(RequestContext requestContext,
                         String resourceUuid)
Creates instance of the request.

Parameters:
requestContext - request context
resourceUuid - resource UUID
Method Detail

execute

public boolean execute()
                throws SQLException
Executes request.

Returns:
true if the record has been updated
Throws:
SQLException - if error accesing database occured

Esri Geoportal Server
1.0

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