SilverStream
Application Server 3.5

com.sssw.shr.page
Class AgpDataPrimary

java.lang.Object
 |
 +--com.sssw.rt.util.AgoRowCursor
       |
       +--com.sssw.rt.util.AgoData
             |
             +--com.sssw.shr.page.AgpData
                   |
                   +--com.sssw.shr.page.AgpDataPrimary
All Implemented Interfaces:
AgiPageControl, AgiRowCursor, AgiRowCursorSort, AgiRowCursorViewSupport, AgiRowQuery, AgiRowSetEventProducer, AgiRowSetListener, AgiRowSetManager, Cloneable, Serializable

public class AgpDataPrimary
extends AgpData
implements AgiRowQuery

The AgpDataPrimary class provides access to the page's primary dataset. By default, every SilverStream page is created with an instance of AgpDataPrimary called agData. The agData instance binds the class to a primary dataset.

Events:
cursorChanged, cursorPreChange, dataReceivedAsync, dataReloaded, rowDataChanged, rowDeleted, rowInserted, rowPreDelete, rowPreInsert
See Also:
Serialized Form

Fields inherited from class com.sssw.rt.util.AgoRowCursor
m_cursor
 
Constructor Summary
AgpDataPrimary()
           
 
Method Summary
 void updateTransactionally(AgpData[] dataObjects)
          Update changes made to AgpData objects all within a single transaction.
 
Methods inherited from class com.sssw.shr.page.AgpData
invokeQuery
 
Methods inherited from class com.sssw.rt.util.AgoData
close, setDataSource
 
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.shr.page.AgiPageControl
generateHTML, getPrefix, notifyPageLoaded, notifyPageRequestBegin, notifyPageRequestEnd, notifyPostValue, notifyPostValues
 
Methods implemented from interface com.sssw.rt.util.AgiRowCursorSort
rowCursorSort
 
Methods implemented from interface com.sssw.rt.util.AgiRowQuery
rowQuery
 
Methods implemented from interface com.sssw.rt.event.AgiRowSetListener
dataReceivedAsync, dataReloaded, rowDataChanged, rowDeleted, rowInserted, rowPreDelete, rowPreInsert
 
Methods implemented from interface com.sssw.rt.util.AgiRowSetManager
clearRows, haveRowsChanged, query, query, refreshRows, updateRows
 

Constructor Detail

AgpDataPrimary

public AgpDataPrimary()
Method Detail

updateTransactionally

public void updateTransactionally(AgpData[] dataObjects)
                           throws AgoSecurityException,
                                  AgoTransientSystemException,
                                  AgoUnrecoverableSystemException,
                                  AgoInvalidDataException,
                                  AgoMissingDataException,
                                  AgoDataConcurrencyException
Update changes made to AgpData objects all within a single transaction. The updates are processed in the order in which they were made.
Parameters:
dataObjects - The array of data objects whose changes are to be submitted
Example:
 		AgpData objs[] = {AgpData1, AgpData3, AgpData5};
 		agData.updateTransactionally(objs);
 

SilverStream
Application Server 3.5