|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.search.SearchResultControl com.plumtree.portaluiinfrastructure.search.PaginationControl
public class PaginationControl
Field Summary | |
---|---|
static java.lang.String |
FIRST_RESULT_DATA
|
static java.lang.String |
ORDER_BY_DATA
|
static java.lang.String |
PAGE_SIZE_DATA
|
static java.lang.String |
STR_MVC_CLASS_NAME
|
Fields inherited from class com.plumtree.portaluiinfrastructure.search.SearchResultControl |
---|
_model, _parent, BASIC_FIELDS, KEY_DATA, PARTIAL_SEARCH, RECONSTRUCTION_ARGS_PREFIX, RECONSTRUCTION_PREFIX_LENGTH, USER_QUERY |
Constructor Summary | |
---|---|
PaginationControl()
|
Method Summary | |
---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
protected Redirect |
ExecuteSearchControl(XPHashtable args,
java.lang.String key)
Execute method that subclasses should implement; unlike Execute() it's allowed to throw a SearchExecutionException. |
java.lang.String |
GetName()
Return the name of the MVC object. |
static ILinkElement |
makeURL(IBaseSearchResultModelRO model,
AActivitySpace parent,
java.lang.String urlText,
java.lang.String orderBy,
int newFirst)
Factory method to make a pagination link for some search results. |
static ILinkElement |
makeURL(IBaseSearchResultModelRO model,
AActivitySpace parent,
java.lang.String urlText,
java.lang.String orderBy,
int newFirst,
boolean bEmbed)
Factory method to make a pagination link for some search results. |
static HTMLElement |
makeURL(IBaseSearchResultModelRO model,
AActivitySpace parent,
java.lang.String urlText,
java.lang.String orderBy,
int newFirst,
int pageSize)
Factory method to make a pagination link for some search results. |
static java.lang.String |
makeURLAsString(IBaseSearchResultModelRO model,
AActivitySpace parent,
java.lang.String urlText,
java.lang.String orderBy,
int newFirst,
int pageSize)
Factory method to make a pagination link for some search results. |
Methods inherited from class com.plumtree.portaluiinfrastructure.search.SearchResultControl |
---|
addCommonData, CheckActionSecurityAndExecute, expectModelInitialized, Init, parseQueryArgs, SpaceNeedsPassthruURL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String FIRST_RESULT_DATA
public static final java.lang.String PAGE_SIZE_DATA
public static final java.lang.String ORDER_BY_DATA
Constructor Detail |
---|
public PaginationControl()
Method Detail |
---|
public java.lang.String GetName()
IMVCObject
GetName
in interface IMVCObject
GetName
in class SearchResultControl
com.plumtree.portaluiinfrastructure.activityspace.IControl#GetName()
public static java.lang.String makeURLAsString(IBaseSearchResultModelRO model, AActivitySpace parent, java.lang.String urlText, java.lang.String orderBy, int newFirst, int pageSize)
model
- Current batch of search resultsparent
- ActivitySpace we're living inurlText
- Desired text within URLorderBy
- Sort order within which newFirst is to be interpretednewFirst
- Desired first result on new pagepageSize
- Desired number of results on pagepublic static HTMLElement makeURL(IBaseSearchResultModelRO model, AActivitySpace parent, java.lang.String urlText, java.lang.String orderBy, int newFirst, int pageSize)
model
- Current batch of search resultsparent
- ActivitySpace we're living inurlText
- Desired text within URLorderBy
- Sort order within which newFirst is to be interpretednewFirst
- Desired first result on new pagepageSize
- Desired number of results on pagepublic static ILinkElement makeURL(IBaseSearchResultModelRO model, AActivitySpace parent, java.lang.String urlText, java.lang.String orderBy, int newFirst)
model
- Current batch of search resultsparent
- ActivitySpace we're living inurlText
- Desired text within URLorderBy
- Sort order within which newFirst is to be interpretednewFirst
- Desired first result on new pagepublic static ILinkElement makeURL(IBaseSearchResultModelRO model, AActivitySpace parent, java.lang.String urlText, java.lang.String orderBy, int newFirst, boolean bEmbed)
model
- Current batch of search resultsparent
- ActivitySpace we're living inurlText
- Desired text within URLorderBy
- Sort order within which newFirst is to be interpretednewFirst
- Desired first result on new pagebEmbed
- Whether or not this URL should be embedded in a formpublic java.lang.Object Create()
SearchResultControl
Create
in interface IManagedObject
Create
in class SearchResultControl
IManagedObject.Create()
protected Redirect ExecuteSearchControl(XPHashtable args, java.lang.String key)
SearchResultControl
ExecuteSearchControl
in class SearchResultControl
com.plumtree.portalpages.search.SearchResultControl#ExecuteSearchControl()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |