Esri Geoportal Server
1.0

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

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.HeUpdateReportRequest
All Implemented Interfaces:
IRequest<RequestDefinition<HeCriteria,HeResult>>

public class HeUpdateReportRequest
extends HeRequest

Updates report request.


Constructor Summary
HeUpdateReportRequest(RequestContext context, HeRecord record)
          Creates instance of the request.
 
Method Summary
 void execute(InputStream report, long length)
          Executes request.
 
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

HeUpdateReportRequest

public HeUpdateReportRequest(RequestContext context,
                             HeRecord record)
Creates instance of the request.

Parameters:
context - request context
record - event record
Method Detail

execute

public void execute(InputStream report,
                    long length)
             throws SQLException
Executes request.

Parameters:
report - input stream with the report
Throws:
SQLException - if writing report fails

Esri Geoportal Server
1.0

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