Esri Geoportal Server
1.0

com.esri.gpt.framework.request
Class DaoRequest<RDT extends RequestDefinition<? extends Criteria,? extends Result>>

java.lang.Object
  extended by com.esri.gpt.framework.sql.BaseDao
      extended by com.esri.gpt.framework.request.DaoRequest<RDT>
All Implemented Interfaces:
IRequest<RDT>
Direct Known Subclasses:
HeRequest, HjRequest, HrRequest, MmdRequest

public class DaoRequest<RDT extends RequestDefinition<? extends Criteria,? extends Result>>
extends BaseDao
implements IRequest<RDT>

Super-class for a database access request.


generic: RDT represents the request definition type


Constructor Summary
DaoRequest()
          Default constructor.
DaoRequest(RequestContext requestContext, RDT requestDefinition)
          Constructs with an associated request context and definition.
 
Method Summary
 RDT getRequestDefinition()
          Gets the definition for the request.
 void setRequestDefinition(RDT requestDefinition)
          Sets the definition for the request.
 
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

DaoRequest

public DaoRequest()
Default constructor.


DaoRequest

public DaoRequest(RequestContext requestContext,
                  RDT requestDefinition)
Constructs with an associated request context and definition.

Parameters:
requestContext - the request context
requestDefinition - the request definition
Method Detail

getRequestDefinition

public RDT getRequestDefinition()
Gets the definition for the request.

Specified by:
getRequestDefinition in interface IRequest<RDT extends RequestDefinition<? extends Criteria,? extends Result>>
Returns:
the request definition (possibly null)

setRequestDefinition

public void setRequestDefinition(RDT requestDefinition)
Sets the definition for the request.

Specified by:
setRequestDefinition in interface IRequest<RDT extends RequestDefinition<? extends Criteria,? extends Result>>
Parameters:
requestDefinition - the request definition

Esri Geoportal Server
1.0

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