|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.ales.management.MetaObjectQueryResult
This class represents the result of executing a query on meta objects. It provides methods to iterate over the result and find an meta object.
Method Summary | |
void |
close()
Close the query result. |
void |
enablePaging(boolean enablePaging)
Enable or disable paging. |
java.lang.Object |
getNextItem()
Return the next available object in the result. |
int |
getNumberofPages()
Return the number of pages for the result on the count/page-size. |
java.lang.Object |
getPreviousItem()
Return the previous available object in the result. |
java.lang.String |
getQueryString()
Return the query string associated with the query result. |
boolean |
hasNext()
Dectect whether there is next object availible in the result. |
boolean |
hasPrevious()
Dectect whether there is previous object availible in the result. |
boolean |
isPagingEnabled()
Detect whether paging is enabled. |
void |
loadAllResults()
Load all the result for the query. |
MetaObject |
next()
Get the next object in the result. |
MetaObject |
previous()
Get the previous object in the result. |
void |
refresh()
Refresh the query result. |
void |
setHoldSize(int holdSize)
Set the hold size of this query result. |
void |
setPageSize(int size)
Set the page size for this query result. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public void close() throws ManagementException
public void enablePaging(boolean enablePaging) throws ManagementException
enablePaging
- true to enable paging, false to disable itpublic java.lang.Object getNextItem() throws ManagementException
public int getNumberofPages() throws ManagementException
public java.lang.Object getPreviousItem() throws ManagementException
public java.lang.String getQueryString() throws ManagementException
public boolean hasNext() throws ManagementException
public boolean hasPrevious() throws ManagementException
public boolean isPagingEnabled() throws ManagementException
public void loadAllResults() throws ManagementException
public void refresh() throws ManagementException
public void setHoldSize(int holdSize)
holdSize
- the number of element.public void setPageSize(int size)
size
- size of the page.public MetaObject next() throws ManagementException
null
if there is no next one.public MetaObject previous() throws ManagementException
null
if there is no previous one.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |