|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hdpagination.web.WebUtils
public final class WebUtils
Miscellaneous utilities for web applications
| Method Summary | |
|---|---|
static void |
clearSearchResult(PaginationAction action,
GlobalConfig globalConfig,
javax.servlet.http.HttpServletRequest request)
Clear the the search result (java.util.List) from session or application scope, if property dataScope of PaginationAction
is set with 'session' or 'application'. |
static void |
clearSearchResult(java.lang.String actionId,
javax.servlet.http.HttpServletRequest request)
Clear the the search result (java.util.List) from session or application scope, if property dataScope of PaginationAction
is set with 'session' or 'application'. |
static java.lang.String |
generatePageKey(java.lang.String actionId)
generate the key of Page instance to save in HttpSession based on 'Id' property of PaginationAction |
static Page |
retirevePage(java.lang.String actionId,
javax.servlet.http.HttpSession session)
Retrieve Page instance from HTTP session based on 'Id' property of PaginationAction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void clearSearchResult(PaginationAction action,
GlobalConfig globalConfig,
javax.servlet.http.HttpServletRequest request)
dataScope of PaginationAction
is set with 'session' or 'application'.
action - the target PaginationActionglobalConfig - request - PaginationAction.getDataScope()
public static void clearSearchResult(java.lang.String actionId,
javax.servlet.http.HttpServletRequest request)
dataScope of PaginationAction
is set with 'session' or 'application'.
actionId - the Id of PaginationActionrequest - PaginationAction.getDataScope()public static java.lang.String generatePageKey(java.lang.String actionId)
actionId -
public static Page retirevePage(java.lang.String actionId,
javax.servlet.http.HttpSession session)
actionId - session -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||