Esri Geoportal Server
1.0

com.esri.gpt.catalog.harvest.repository
Class HrUpdateLastSyncDate

java.lang.Object
  extended by com.esri.gpt.framework.sql.BaseDao
      extended by com.esri.gpt.framework.request.DaoRequest<RequestDefinition<HrCriteria,HrResult>>
          extended by com.esri.gpt.catalog.harvest.repository.HrRequest
              extended by com.esri.gpt.catalog.harvest.repository.HrUpdateLastSyncDate
All Implemented Interfaces:
IRequest<RequestDefinition<HrCriteria,HrResult>>

public class HrUpdateLastSyncDate
extends HrRequest

Updates last successful synchronization date/time.


Constructor Summary
HrUpdateLastSyncDate(RequestContext requestContext, HrRecord record)
          Create instance of the request.
 
Method Summary
 void execute()
          Executes request.
 
Methods inherited from class com.esri.gpt.catalog.harvest.repository.HrRequest
getActionCriteria, getActionResult, getHarvestingDataTableName, getHarvestingHistoryTableName, getHarvestingJobsCompletedTableName, getHarvestingJobTableName, 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

HrUpdateLastSyncDate

public HrUpdateLastSyncDate(RequestContext requestContext,
                            HrRecord record)
Create instance of the request.

Parameters:
requestContext - request context
record - record to update
Method Detail

execute

public void execute()
             throws SQLException
Executes request.

Throws:
SQLException - if accessing database fails

Esri Geoportal Server
1.0

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