atg.projects.store.search
Class StoreRequestProcessor
java.lang.Object
atg.projects.store.search.StoreRequestProcessor
- All Implemented Interfaces:
- atg.search.formhandlers.SearchRequestProcessor
public class StoreRequestProcessor
- extends java.lang.Object
- implements atg.search.formhandlers.SearchRequestProcessor
Store implementations of SearchRequestProcessor
This processor determines if search request of type
"View All". If yes, then overrides pageSize with new ViewAllPageSize
value.
Method Summary |
java.lang.Integer |
getViewAllPageSize()
|
atg.search.routing.command.search.SearchRequest |
processSearchRequest(atg.search.routing.command.search.SearchRequest pSearchRequest,
atg.servlet.DynamoHttpServletRequest pDynamoHttpServletRequest,
java.lang.Object pCallback)
If this request is "View All" request then
new page size sets. |
void |
setViewAllPageSize(java.lang.Integer pViewAllPageSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_VERSION
public static final java.lang.String CLASS_VERSION
- See Also:
- Constant Field Values
S_VIEW_ALL
public static final java.lang.String S_VIEW_ALL
- See Also:
- Constant Field Values
S_TRUE
public static final java.lang.String S_TRUE
- See Also:
- Constant Field Values
StoreRequestProcessor
public StoreRequestProcessor()
getViewAllPageSize
public java.lang.Integer getViewAllPageSize()
- Returns:
- page size for "view all" search request
setViewAllPageSize
public void setViewAllPageSize(java.lang.Integer pViewAllPageSize)
- Parameters:
pViewAllPageSize
- maximum results per page when "view all" request issued
processSearchRequest
public atg.search.routing.command.search.SearchRequest processSearchRequest(atg.search.routing.command.search.SearchRequest pSearchRequest,
atg.servlet.DynamoHttpServletRequest pDynamoHttpServletRequest,
java.lang.Object pCallback)
throws atg.search.client.SearchClientException
- If this request is "View All" request then
new page size sets.
- Specified by:
processSearchRequest
in interface atg.search.formhandlers.SearchRequestProcessor
- Parameters:
pSearchRequest
- query requestpDynamoHttpServletRequest
- Dynamo HTTP requestpCallback
- callback function
- Returns:
- modified query request
- Throws:
atg.search.client.SearchClientException
- If an exception occurs while processing the Search Request.