SilverStream
Application Server 3.5

com.sssw.srv.busobj
Class AgaRowData

java.lang.Object
 |
 +--com.sssw.rt.util.AgoRowCursor
       |
       +--com.sssw.srv.busobj.AgaRowData
All Implemented Interfaces:
AgiRowCursor, AgiRowCursorViewSupport, AgiRowSetEventProducer, AgiRowSetManager, Cloneable

public class AgaRowData
extends com.sssw.rt.util.AgoRowCursor
implements AgiRowSetManager

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

AgaRowData

public AgaRowData()
Method Detail

isPropertyPresent

public boolean isPropertyPresent(String name)
Returns true if the specified property is in this row
Parameters:
name - The name of the column
Returns:
true if this property is in this row
Usage:

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.

See Also:
AgaRowData.isPropertyPresent(int col), AgoRowModifyEvent

isPropertyPresent

public boolean isPropertyPresent(int col)
Returns true if the specified property is in this row
Parameters:
column - The numerical value of the column
Returns:
true if this property is in this row
Usage:

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.

See Also:
AgaRowData.isPropertyPresent(String name), AgoRowModifyEvent

SilverStream
Application Server 3.5