|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for PageDataEJB
Method Summary | |
int |
count()
Return total number of records in set. |
java.util.ArrayList |
next(int count)
Get the next "count" number of records. |
java.util.ArrayList |
next(int index,
int count)
Same as next(count) however position is changed to index first. |
java.util.ArrayList |
prev(int count)
Get the previous "count" number of records. |
java.util.ArrayList |
prev(int index,
int count)
Same as prev(count) however position is changed to index first. |
void |
remove()
remove the PageAdaptor |
void |
setPageAdapter(PageAdapter pageAdapter)
Set the PageAdaptor for data source |
void |
setReadForwardOnly(boolean forwardOnly)
Set the forward only mode that will clear all the DataPage objects of of a given loaded page i when we start reading/loading the next page i+1. |
void |
sort(java.util.Comparator c)
Sort the set based on the comparator. |
void |
sortSummary(java.util.Comparator c)
Sort the set based on the comparator. |
Method Detail |
public int count() throws PageException
PageException
- An error has occured.public java.util.ArrayList next(int count) throws PageException
count
- Number of records to get
PageException
- An error has occured.public java.util.ArrayList next(int index, int count) throws PageException
index
- Starting point of retrieval.count
- Number of records to get
PageException
- An error has occured.public java.util.ArrayList prev(int count) throws PageException
count
- Number of records to get
PageException
- An error has occured.public java.util.ArrayList prev(int index, int count) throws PageException
index
- Starting point of retrieval.count
- Number of records to get
PageException
- An error has occured.public void remove()
public void setPageAdapter(PageAdapter pageAdapter) throws PageException
pageAdapter
- PageAdaptor for data source
PageException
- An error has occured.public void setReadForwardOnly(boolean forwardOnly) throws PageException
forwardOnly
- the forward only flag
PageException
- An error has occured.public void sort(java.util.Comparator c) throws PageException
c
- Comparator by which to sort.
PageException
- An error has occured.public void sortSummary(java.util.Comparator c) throws PageException
c
- Comparator by which to sort.
PageException
- An error has occured.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.