Interface powersoft.jcm.db.DataSource
All Packages Class Hierarchy This Package Previous Next Index
Interface powersoft.jcm.db.DataSource
- public interface DataSource
- extends Object
An interface exposed by an object which has data that is
to be bound to other DataTarget objects.
- See Also:
- DataSourceBase, DataTarget
-
ADD_MODE
-
-
EDIT_MODE
-
-
READ_MODE
-
-
add(boolean, boolean)
-
-
addAdjustCursorListener(AdjustCursorListener)
-
-
addTarget(DataTarget)
-
-
cancelUpdate(boolean)
-
-
close()
-
-
delete(boolean)
-
-
edit()
-
-
findTarget(DataTarget)
-
-
getBOF()
-
-
getColumn(int)
-
-
getColumnCount()
-
-
getColumnIndex(String)
-
-
getCurrentOffset()
-
-
getEditMode()
- returns one of READ_MODE, EDIT_MODE, ADD_MODE
-
getEOF()
-
-
getForwardOnly()
-
-
getOpened()
-
-
getReadOnly()
-
-
getRowChanged()
-
-
getValue(int)
-
-
getValue(int, byte)
-
-
handleAdjustCursor(AdjustCursorEvent)
-
-
isFirstRow()
-
-
isLastRow()
-
-
move(int, boolean)
-
-
moveFirst(boolean)
-
-
moveLast(boolean)
-
-
moveNext(boolean)
-
-
movePrevious(boolean)
-
-
moveRelative(int, boolean)
-
-
open()
-
-
refresh()
-
-
removeAdjustCursorListener(AdjustCursorListener)
-
-
removeTarget(DataTarget)
-
-
setRowChanged(boolean)
-
-
setValue(int, DataValue)
-
-
update(boolean)
-
READ_MODE
public final static byte READ_MODE
EDIT_MODE
public final static byte EDIT_MODE
ADD_MODE
public final static byte ADD_MODE
getBOF
public abstract boolean getBOF()
getEOF
public abstract boolean getEOF()
getColumn
public abstract DataColumn getColumn(int index)
getColumnCount
public abstract int getColumnCount()
getColumnIndex
public abstract int getColumnIndex(String str)
getCurrentOffset
public abstract int getCurrentOffset()
getEditMode
public abstract byte getEditMode()
- returns one of READ_MODE, EDIT_MODE, ADD_MODE
getForwardOnly
public abstract boolean getForwardOnly()
getOpened
public abstract boolean getOpened()
getReadOnly
public abstract boolean getReadOnly()
getRowChanged
public abstract boolean getRowChanged()
setRowChanged
public abstract void setRowChanged(boolean changed)
getValue
public abstract DataValue getValue(int index)
getValue
public abstract DataValue getValue(int index,
byte type)
setValue
public abstract boolean setValue(int index,
DataValue value)
addAdjustCursorListener
public abstract void addAdjustCursorListener(AdjustCursorListener l)
removeAdjustCursorListener
public abstract void removeAdjustCursorListener(AdjustCursorListener l)
handleAdjustCursor
public abstract void handleAdjustCursor(AdjustCursorEvent data)
isFirstRow
public abstract boolean isFirstRow()
isLastRow
public abstract boolean isLastRow()
add
public abstract boolean add(boolean copyValue,
boolean append)
cancelUpdate
public abstract boolean cancelUpdate(boolean notify)
close
public abstract boolean close()
delete
public abstract boolean delete(boolean notify)
edit
public abstract boolean edit()
open
public abstract boolean open()
moveFirst
public abstract boolean moveFirst(boolean notify)
moveLast
public abstract boolean moveLast(boolean notify)
moveNext
public abstract boolean moveNext(boolean notify)
movePrevious
public abstract boolean movePrevious(boolean notify)
moveRelative
public abstract boolean moveRelative(int offset,
boolean notify)
move
public abstract boolean move(int offset,
boolean notify)
refresh
public abstract boolean refresh()
update
public abstract boolean update(boolean notify)
addTarget
public abstract void addTarget(DataTarget target)
findTarget
public abstract boolean findTarget(DataTarget target)
removeTarget
public abstract void removeTarget(DataTarget target)
All Packages Class Hierarchy This Package Previous Next Index