|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mindtree.techworks.insight.pagination.PageSet
public class PageSet
The PageSet class holds the information of a collection of pages and
has the methods for navigating through the collection
| Constructor Summary | |
|---|---|
PageSet()
Constructor |
|
| Method Summary | |
|---|---|
void |
clear()
Deletes all the files/directories associated with this PageSet |
static void |
clearAll()
Clears all the Directories and Files created under the root cache directory |
void |
endMutating(int infoFlag)
Call back method using which the controller will be notifed by any LogEventModelMutators ends mutating the LogEventModel |
IPage |
getCurrentPage()
Returns the current page |
long |
getCurrentPageCnt()
Returns the current page number |
IPage |
getLastPage()
|
int |
getMutatorType()
Gets the type of th mutator that is using this PageSet |
protected java.lang.String |
getNamespace()
|
protected long |
getPageCnt()
|
com.mindtree.techworks.insight.pagination.PageSet.PageSetIterator |
getPageSetIterator()
Returns the current page number |
long |
getTotalPageCnt()
Returns the total number of pages |
void |
loadPageByNumber(long pageNumber)
|
IPage |
navigate(java.lang.String direction)
Loads the page based on the direction |
void |
setMutatorType(int mutatorType)
Sets the mutator type for this PageSet |
protected void |
setNamespace(java.lang.String namespace)
|
void |
startMutating(int mutatorType)
Call back method using which the controller will be notifed by any LogEventModelMutators starts mutating the LogEventModel |
protected void |
thresholdReached()
Call back method to know whether the threshold is reached |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageSet()
| Method Detail |
|---|
protected void thresholdReached()
protected long getPageCnt()
public IPage getCurrentPage()
public IPage navigate(java.lang.String direction)
direction -
protected java.lang.String getNamespace()
protected void setNamespace(java.lang.String namespace)
namespace - The namespace to set.public void loadPageByNumber(long pageNumber)
pageNumber - public void clear()
public static void clearAll()
public IPage getLastPage()
public long getCurrentPageCnt()
public long getTotalPageCnt()
public void startMutating(int mutatorType)
startMutating in interface IMutatorListenermutatorType - specifies if the mutator this listener is registered with is tailingIMutatorListener#startMutating()public void endMutating(int infoFlag)
endMutating in interface IMutatorListenerinfoFlag - flag identifier that denotes the status of the mutate operationIMutatorListener.endMutating(int)public int getMutatorType()
public void setMutatorType(int mutatorType)
mutatorType - The mutatorType to set.public com.mindtree.techworks.insight.pagination.PageSet.PageSetIterator getPageSetIterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||