Esri Geoportal Server
1.0

com.esri.gpt.catalog.harvest.history
Class HeUpdateRequest

java.lang.Object
  extended by com.esri.gpt.framework.sql.BaseDao
      extended by com.esri.gpt.framework.request.DaoRequest<RequestDefinition<HeCriteria,HeResult>>
          extended by com.esri.gpt.catalog.harvest.history.HeRequest
              extended by com.esri.gpt.catalog.harvest.history.HeUpdateRequest
All Implemented Interfaces:
IRequest<RequestDefinition<HeCriteria,HeResult>>

public class HeUpdateRequest
extends HeRequest

Updates harvest history event.


Constructor Summary
HeUpdateRequest(RequestContext requestContext, HeRecord event)
          Create instance of the request.
 
Method Summary
 void execute()
          Executes event.
 HeRecord getEvent()
          Gets event to update.
 void setEvent(HeRecord event)
          Sets event to update.
 
Methods inherited from class com.esri.gpt.catalog.harvest.history.HeRequest
getActionCriteria, getActionResult, getHarvestingHistoryTableName, 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

HeUpdateRequest

public HeUpdateRequest(RequestContext requestContext,
                       HeRecord event)
Create instance of the request.

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

getEvent

public HeRecord getEvent()
Gets event to update.

Returns:
event

setEvent

public void setEvent(HeRecord event)
Sets event to update.

Parameters:
event - event

execute

public void execute()
             throws SQLException
Executes event.

Throws:
SQLException - if accessing database failed

Esri Geoportal Server
1.0

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