Esri Geoportal Server
1.0

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

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
All Implemented Interfaces:
IRequest<RequestDefinition<HrCriteria,HrResult>>
Direct Known Subclasses:
HrAssertUrlRequest, HrCompleteUpdateRequest, HrDeleteRequest, HrHarvestRequest, HrSelectRequest, HrTestRequest, HrUpdateLastSyncDate, HrUpdateRequest

public class HrRequest
extends DaoRequest<RequestDefinition<HrCriteria,HrResult>>

Harvest repository query request.


Constructor Summary
HrRequest(RequestContext requestContext, HrCriteria criteria, HrResult result)
          Creates instance of the request.
 
Method Summary
 HrActionCriteria getActionCriteria()
          Gets the action criteria.
 HrActionResult getActionResult()
          Gets the action result.
protected  String getHarvestingDataTableName()
          Gets the harvesting table name.
protected  String getHarvestingHistoryTableName()
          Gets harvesting history table name.
protected  String getHarvestingJobsCompletedTableName()
          Gets completed harvesting jobs table name.
protected  String getHarvestingJobTableName()
          Gets harvesting job table name.
protected  String getHarvestingTableName()
          Gets the harvesting table name.
 HrQueryCriteria getQueryCriteria()
          Gets the query criteria.
 HrQueryResult getQueryResult()
          Gets the query result.
 
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

HrRequest

public HrRequest(RequestContext requestContext,
                 HrCriteria criteria,
                 HrResult result)
Creates instance of the request.

Parameters:
requestContext - request context
criteria - search criteria
result - query result
Method Detail

getQueryCriteria

public HrQueryCriteria getQueryCriteria()
Gets the query criteria.

Returns:
the query criteria

getQueryResult

public HrQueryResult getQueryResult()
Gets the query result.

Returns:
the query result

getActionCriteria

public HrActionCriteria getActionCriteria()
Gets the action criteria.

Returns:
the action criteria

getActionResult

public HrActionResult getActionResult()
Gets the action result.

Returns:
the action result

getHarvestingTableName

protected String getHarvestingTableName()
Gets the harvesting table name.

Returns:
the harvesting table name

getHarvestingDataTableName

protected String getHarvestingDataTableName()
Gets the harvesting table name.

Returns:
the harvesting table name

getHarvestingHistoryTableName

protected String getHarvestingHistoryTableName()
Gets harvesting history table name.

Returns:
the harvesting history table name

getHarvestingJobTableName

protected String getHarvestingJobTableName()
Gets harvesting job table name.

Returns:
the harvesting job table name

getHarvestingJobsCompletedTableName

protected String getHarvestingJobsCompletedTableName()
Gets completed harvesting jobs table name.

Returns:
completed harvesting jobs table name

Esri Geoportal Server
1.0

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