|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hdpagination.web.servlet.QueryCallbackUtils
public final class QueryCallbackUtils
This class is to retrieve/update QueryCallback Page objects in session.
| Method Summary | |
|---|---|
static QueryCallback |
resetOrder(javax.faces.context.FacesContext facesContext,
java.lang.String pageKey,
java.lang.String orderBy)
Update Page instance in session with the new sort information. |
static QueryCallback |
resetOrder(javax.faces.context.FacesContext facesContext,
java.lang.String pageKey,
java.lang.String orderBy,
boolean ascending)
Update Page instance in session with the new sort information. |
static QueryCallback |
retrieveQueryCallback(javax.faces.context.FacesContext facesContext,
java.lang.String pageKey)
Retrieve instance of QueryCallback from session based on page key. |
static void |
saveQueryCallback(javax.faces.context.FacesContext facesContext,
QueryCallback queryCallback,
int currentPageNo,
int pageSize,
int totalCount,
java.lang.String pageKey)
Update Page instance in session with the new pagination information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static QueryCallback retrieveQueryCallback(javax.faces.context.FacesContext facesContext,
java.lang.String pageKey)
QueryCallback from session based on page key.
facesContext - pageKey -
public static void saveQueryCallback(javax.faces.context.FacesContext facesContext,
QueryCallback queryCallback,
int currentPageNo,
int pageSize,
int totalCount,
java.lang.String pageKey)
Page instance in session with the new pagination information.
facesContext - queryCallback - currentPageNo - pageSize - totalCount - pageKey -
public static QueryCallback resetOrder(javax.faces.context.FacesContext facesContext,
java.lang.String pageKey,
java.lang.String orderBy)
Page instance in session with the new sort information.
facesContext - pageKey - page keyorderBy -
public static QueryCallback resetOrder(javax.faces.context.FacesContext facesContext,
java.lang.String pageKey,
java.lang.String orderBy,
boolean ascending)
Page instance in session with the new sort information.
facesContext - pageKey - orderBy - ascending -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||