|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dacf.control.swing.GridSortDelegate
Sort by changing the order by clause
Constructor Summary | |
GridSortDelegate()
|
Method Summary | |
protected boolean |
_applyChanges(javax.infobus.ScrollableRowsetAccess scr,
int doWhat)
Propogate changes to the DbAccess. |
protected void |
_applyChangesToDbAccess(javax.infobus.ScrollableRowsetAccess scr,
int doWhat)
|
boolean |
isPostAlways()
indicates if the transaction changes are posted always when sorting. |
void |
postSort(javax.infobus.ScrollableRowsetAccess scr)
Implementation may use this method to cleanup |
boolean |
preSort(javax.infobus.ScrollableRowsetAccess scr)
GridControl invokes this method, so that the implementation can prepare to sort. |
void |
setPostAlways(boolean bflag)
If this flag is true, the transaction changes are posted and the rowset sorted by changing orderby clause. |
boolean |
sort(javax.infobus.ScrollableRowsetAccess scr,
java.lang.String columnName,
java.lang.String orderBy)
GridControl invokes this method to perform the actual sorting. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GridSortDelegate()
Method Detail |
public boolean preSort(javax.infobus.ScrollableRowsetAccess scr)
preSort
in interface SortDelegate
public boolean sort(javax.infobus.ScrollableRowsetAccess scr, java.lang.String columnName, java.lang.String orderBy)
sort
in interface SortDelegate
columnName
- which column to sortpublic void postSort(javax.infobus.ScrollableRowsetAccess scr)
postSort
in interface SortDelegate
public void setPostAlways(boolean bflag)
public boolean isPostAlways()
protected boolean _applyChanges(javax.infobus.ScrollableRowsetAccess scr, int doWhat)
protected void _applyChangesToDbAccess(javax.infobus.ScrollableRowsetAccess scr, int doWhat) throws java.sql.SQLException, javax.infobus.RowsetValidationException
java.sql.SQLException
javax.infobus.RowsetValidationException
|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.