|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sssw.rt.util.AgoRowCursor | +--com.sssw.srv.busobj.AgaRowData
Mechanism used to access individual rows being
modified in Business Objects that listen for Table Events.
When the row Deleted, row Modified, and row Inserted events are fired,
the user has access to the row being changed via an AgaRowData instance returned by
evt.getAgaData()
or when a row is modified by
evt.getOldAgaData()
and
evt.getNewAgaData()
.
This class inplements the AgiRowCursor interface but does not allow
movement as it only contains one row at a time. E.g., The
gotoNext()
and gotoPrevious()
, if called, will throw
AgoUnrecoverableSystemException.
Fields inherited from class com.sssw.rt.util.AgoRowCursor |
m_cursor |
Constructor Summary | |
AgaRowData()
|
Method Summary | |
boolean |
isPropertyPresent(int col)
Returns true if the specified property is in this row |
boolean |
isPropertyPresent(String name)
Returns true if the specified property is in this row |
Methods inherited from class com.sssw.rt.util.AgoRowCursor |
addAgiRowCursorListener,
addAgiRowSetListener,
allowsChildren,
appendChild,
copy,
cursorChanged,
cursorPreChange,
delete,
equals,
getChildEntryCount,
getCursor,
getDisplayEntryNumber,
getProperty,
getProperty,
getPropertyCount,
getPropertyIndex,
getPropertyName,
getRowSetEventProducer,
gotoChild,
gotoFirst,
gotoLast,
gotoNext,
gotoParent,
gotoPrevious,
gotoRoot,
hasChildren,
insertAfter,
insertBefore,
makePrimaryVersion,
removeAgiRowCursorListener,
removeAgiRowSetListener,
setCursor,
setDisplayEntryNumber,
setProperty,
setProperty,
setRowCursorSupport,
setRowSetSupport,
validateCursor |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Methods implemented from interface com.sssw.rt.util.AgiRowSetManager |
clearRows,
haveRowsChanged,
query,
query,
refreshRows,
updateRows |
Constructor Detail |
public AgaRowData()
Method Detail |
public boolean isPropertyPresent(String name)
name
- The name of the column
Used on an AgaRowData returned after from
evt.getNewAgaData()
after a
row modified event. Since the AgaRowData returned by this
method contains only the columns that
the user modified, this method can be used to
determine the difference between a column that wasn't
changed and a column that was changed to null.
AgaRowData.isPropertyPresent(int col)
,
AgoRowModifyEvent
public boolean isPropertyPresent(int col)
column
- The numerical value of the column
This method is used on an AgaRowData returned after from evt.getNewAgaData()
after a
row modified event. Since the AgaRowData returned by this method contains only the columns that
the user modified, this method can be used to determine the difference between a column that wasn't
changed and a column that was changed to null.
AgaRowData.isPropertyPresent(String name)
,
AgoRowModifyEvent
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |