|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.mdm.index.page.TransactionPageAdapter
Adapter for transaction summaries
| Constructor Summary | |
TransactionPageAdapter(TransactionObject[] transArray,
TransactionSearchObject searchObj)
Creates a new instance of TransactionPageAdapter |
|
| Method Summary | |
void |
activate()
When the stateful session bean activates, it will first call this method. |
void |
close()
When the stateful session bean is removed, it will first call this method. |
int |
count()
Get a count of all the objects in the data source |
boolean |
hasNext()
Indicate if there is another object |
void |
idleTimeOut()
After the timeout period has expired, this method is called to allow the data source to perform resource conservation activities. |
java.lang.Object |
next()
See PageAdapter |
void |
passivate()
When the stateful session bean passivates, it will first call this method on the data source. |
java.lang.Object |
prev()
See PageAdapter |
void |
setCurrentPosition(int index)
See PageAdapter |
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)
See PageAdapter |
void |
sortSummary(java.util.Comparator c)
See PageAdapter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TransactionPageAdapter(TransactionObject[] transArray,
TransactionSearchObject searchObj)
throws PageException
transArray - Array of transaction objectssearchObj - Search Object
PageException - An error occured.| Method Detail |
public void activate()
activate in interface PageAdapterpublic void close()
close in interface PageAdapter
public int count()
throws PageException
count in interface PageAdapterPageException - See PageAdapter
public boolean hasNext()
throws PageException
hasNext in interface PageAdapterPageException - See PageAdapterpublic void idleTimeOut()
idleTimeOut in interface PageAdapter
public java.lang.Object next()
throws PageException
next in interface PageAdapterPageException - See PageAdapterpublic void passivate()
passivate in interface PageAdapter
public java.lang.Object prev()
throws PageException
prev in interface PageAdapterPageException - See PageAdapter
public void setCurrentPosition(int index)
throws PageException
setCurrentPosition in interface PageAdapterindex - See PageAdapter
PageException - See PageAdapter
public void setReadForwardOnly(boolean forwardOnly)
throws PageException
setReadForwardOnly in interface PageAdapterforwardOnly - the
PageException - An error occured.
public void sort(java.util.Comparator c)
throws PageException
sort in interface PageAdapterc - See PageAdapter
PageException - Sort array based on comparator
public void sortSummary(java.util.Comparator c)
throws PageException
sortSummary in interface PageAdapterc - See PageAdapter
PageException - Sort array based on comparator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Sun Microsystems, Inc.