Esri Geoportal Server
1.0

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

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

public class HeSelectRequest
extends HeRequest

Select history events request.


Constructor Summary
HeSelectRequest(RequestContext requestContext, HrRecord owner, HeCriteria criteria, HeResult result)
          Create instance of the request.
HeSelectRequest(RequestContext requestContext, HrRecord owner, String eventUuid)
          Create instance of the request.
 
Method Summary
 void execute()
          Executes request.
 HrRecord getOwner()
          Gets owner.
 void setOwner(HrRecord owner)
          Sets owner.
 
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

HeSelectRequest

public HeSelectRequest(RequestContext requestContext,
                       HrRecord owner,
                       HeCriteria criteria,
                       HeResult result)
Create instance of the request.

Parameters:
requestContext - request context
owner - owner of the records
criteria - request criteria
result - request result

HeSelectRequest

public HeSelectRequest(RequestContext requestContext,
                       HrRecord owner,
                       String eventUuid)
Create instance of the request.

Parameters:
requestContext - request context
owner - owner of the records
eventUuid - event uuid
Method Detail

getOwner

public HrRecord getOwner()
Gets owner.

Returns:
harvest repository as owner

setOwner

public void setOwner(HrRecord owner)
Sets owner.

Parameters:
owner - harvest repository as owner

execute

public void execute()
             throws SQLException
Executes request.

Throws:
SQLException - if request execution fails

Esri Geoportal Server
1.0

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