|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.nucleus.TimedOperationService atg.nucleus.servlet.ServletService atg.nucleus.servlet.HttpServletService atg.servlet.DynamoServlet atg.droplet.Range atg.repository.servlet.RQLQueryRange
public class RQLQueryRange
This servlet executes a RQL query and renders its output parameter for a selected subset of the elements returned by the query. The query is specified inline with parameters.
For each row returned by the query, we set the following parameters:
<param name="firstName" value="bean:MyUser.firstName"> <param name="repository" value="bean:/atg/userprofiling/ProfileAdapterRepository"> <param name="itemDescriptor" value="user"> <param name="queryRQL" value="firstName=:firstName"> <param name="transactionManager" value="bean:/atg/dynamo/transaction/TransactionManager">
The values for the ":name" constructs in your query are taken from the parameters in your request. Two input parameters lets you control which subset of elements in the returned query that are displayed. They are:
Range
,
SQLQueryRange
Field Summary | |
---|---|
static ParameterName |
CALCULATE_SIZE
|
static java.lang.String |
CLASS_VERSION
|
static ParameterName |
ERROR
Parameter to this bean. |
static java.lang.String |
FORCE_SIZE_QUERY
|
static java.lang.String |
REPOSITORY_EXCEPTION
returned if query failed with a RepositoryException |
Fields inherited from class atg.droplet.Range |
---|
ARRAY, COUNT, ELEMENT, ELEMENT_NAME, EMPTY, END, HAS_NEXT, HAS_PREV, HOW_MANY, INDEX, INDEX_NAME, KEY, NEXT_END, NEXT_HOW_MANY, NEXT_START, OUTPUT, OUTPUT_END, OUTPUT_START, PREV_END, PREV_HOW_MANY, PREV_START, SIZE, START |
Fields inherited from class atg.servlet.DynamoServlet |
---|
mAllowCleanupRequest, mParameters |
Fields inherited from class atg.nucleus.servlet.ServletService |
---|
SERVLET_INFO_KEY |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
RQLQueryRange()
|
Method Summary | |
---|---|
void |
service(DynamoHttpServletRequest pReq,
DynamoHttpServletResponse pRes)
Renders the list of items retrieved by the query |
Methods inherited from class atg.droplet.Range |
---|
getArray, serviceArray, serviceCollection, serviceDictionary, serviceEnumeration, serviceIterator, serviceList, serviceMap, setPrevNextParameters |
Methods inherited from class atg.servlet.DynamoServlet |
---|
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, service, service, setParameter |
Methods inherited from class atg.nucleus.servlet.ServletService |
---|
destroy, getServletConfig, getServletInfo, init, setServletInfo |
Methods inherited from class atg.nucleus.TimedOperationService |
---|
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static final ParameterName ERROR
public static final ParameterName CALCULATE_SIZE
public static final java.lang.String FORCE_SIZE_QUERY
public static final java.lang.String REPOSITORY_EXCEPTION
Constructor Detail |
---|
public RQLQueryRange()
Method Detail |
---|
public void service(DynamoHttpServletRequest pReq, DynamoHttpServletResponse pRes) throws javax.servlet.ServletException, java.io.IOException
service
in class Range
DynamoHttpServletRequest
- Request containing parameters from
which the query is builtDyanamoHttpServletResponse
- Response built during service.
javax.servlet.ServletException
- Thrown if servlet interface is used improperly.
java.io.IOException
- Thrown if problem servicing output parameters or
during the parent's .service() method.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |