Esri Geoportal Server
1.0

com.esri.gpt.catalog.harvest.jobs
Class HjRequest

java.lang.Object
  extended by com.esri.gpt.framework.sql.BaseDao
      extended by com.esri.gpt.framework.request.DaoRequest<RequestDefinition<HjCriteria,HjResult>>
          extended by com.esri.gpt.catalog.harvest.jobs.HjRequest
All Implemented Interfaces:
IRequest<RequestDefinition<HjCriteria,HjResult>>
Direct Known Subclasses:
HjCancelRequest, HjCompleteRequest, HjCreateRequest, HjGetNextRequest, HjLoadAllRequest, HjResetRunningRequest, HjWithdrawRequest

public class HjRequest
extends DaoRequest<RequestDefinition<HjCriteria,HjResult>>

Harvest job request.


Constructor Summary
HjRequest(RequestContext requestContext, HjCriteria criteria, HjResult result)
          Creates instance of the request.
 
Method Summary
 HjActionCriteria getActionCriteria()
          Gets the action criteria.
 HjActionResult getActionResult()
          Gets the action result.
protected  String getHarvestingHistoryTableName()
          Gets harvesting history table name.
protected  String getHarvestingJobsCompletedTableName()
          Gets harvesting job table name.
protected  String getHarvestingJobsPendingTableName()
          Gets harvesting job table name.
protected  String getHarvestingTableName()
          Gets the harvesting table name.
 HjQueryCriteria getQueryCriteria()
          Gets the query criteria.
 HjQueryResult 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

HjRequest

public HjRequest(RequestContext requestContext,
                 HjCriteria criteria,
                 HjResult result)
Creates instance of the request.

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

getQueryCriteria

public HjQueryCriteria getQueryCriteria()
Gets the query criteria.

Returns:
the query criteria

getQueryResult

public HjQueryResult getQueryResult()
Gets the query result.

Returns:
the query result

getActionCriteria

public HjActionCriteria getActionCriteria()
Gets the action criteria.

Returns:
the action criteria

getActionResult

public HjActionResult getActionResult()
Gets the action result.

Returns:
the action result

getHarvestingTableName

protected String getHarvestingTableName()
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

getHarvestingJobsPendingTableName

protected String getHarvestingJobsPendingTableName()
Gets harvesting job table name.

Returns:
the harvesting job table name

getHarvestingJobsCompletedTableName

protected String getHarvestingJobsCompletedTableName()
Gets harvesting job table name.

Returns:
the harvesting job table name

Esri Geoportal Server
1.0

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