SilverStream
Application Server 3.5

com.sssw.rt.form
Class AgcDataPrimary

java.lang.Object
 |
 +--java.awt.Component
       |
       +--java.awt.Container
             |
             +--javax.swing.JComponent
                   |
                   +--javax.swing.JPanel
                         |
                         +--com.sssw.rt.atlas.AtPanel
                               |
                               +--com.sssw.rt.atlas.AtCanvas
                                     |
                                     +--com.sssw.rt.form.PvBaseCanvas
                                           |
                                           +--com.sssw.rt.form.PvInvisibleControlBase
                                                 |
                                                 +--com.sssw.rt.form.AgcData
                                                       |
                                                       +--com.sssw.rt.form.AgcDataPrimary
All Implemented Interfaces:
Accessible, AgiControl, AgiHelpInfo, AgiRowCursor, AgiRowCursorSort, AgiRowCursorViewSupport, AgiRowQuery, AgiRowSetEventProducer, AgiRowSetManager, ImageObserver, MenuContainer, Serializable

public class AgcDataPrimary
extends AgcData
implements AgiRowQuery

The AgcDataPrimary class provides access to the form's primary dataset. By default, every SilverStream Java-based form is created with an instance of AgcDataPrimary 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

Inner classes inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
 
Inner classes inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Fields inherited from class com.sssw.rt.atlas.AtPanel
BGIMAGE_DRAW_CENTERED, BGIMAGE_DRAW_NORMAL, BGIMAGE_DRAW_STRETCH, BGIMAGE_DRAW_TILED
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
AgcDataPrimary()
           
 
Method Summary
 void beginFind()
          Deprecated. replaced by AgoBindingManager.beginFind() method (available in agDataMgr).
 void doFind()
          Deprecated. replaced by AgoBindingManager.doFind() method (available in agDataMgr).
 void updateTransactionally(AgcData[] dataObjects)
          Updates changes made to AgcData objects all within a single transaction.
 boolean validateForm()
          Deprecated. replaced by AgoBindingManager's validateAll() method (available in agDataMgr).
 
Methods inherited from class com.sssw.rt.form.AgcData
invokeQuery, setDataSource
 
Methods inherited from class com.sssw.rt.form.PvInvisibleControlBase
setBounds, setLocation, setSize
 
Methods inherited from class com.sssw.rt.form.PvBaseCanvas
getBackgroundColor, getFontIdentifier, setBackgroundColor, setFontIdentifier
 
Methods inherited from class com.sssw.rt.atlas.AtPanel
addImpl, addNotify, clientPaint, clientPaint, deliverMouseEvent, deliverMouseMoveEvent, doAtCommand, drawTiledImage, enableAtCommands, getBackgroundImage, getBackgroundImageMode, getHelper, getTransparent, hide, hideToolTip, imageUpdate, isFocusTraversable, isOptimizedDrawingEnabled, ownedImage, paintBorder, paintComponent, paintImmediately, paintImmediately, paintNow, preprocessKeyEvent, processEvent, reshape, setBackgroundImage, setBackgroundImageMode, setTransparent, show, showToolTip
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUIClassID, paramString, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInsets, getInsets, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, isDoubleBuffered, isFocusCycleRoot, isLightweightComponent, isManagingFocus, isOpaque, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, print, printAll, processComponentKeyEvent, processFocusEvent, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, revalidate, scrollRectToVisible, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, remove, remove, removeAll, removeContainerListener, setCursor, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setComponentOrientation, setDropTarget, setLocale, setLocation, setName, setSize, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods implemented from interface com.sssw.rt.form.AgiControl
getComponent, getHelpInfo, setHelpInfo
 
Methods implemented from interface com.sssw.rt.util.AgiRowCursor
addAgiRowCursorListener, allowsChildren, appendChild, copy, delete, getProperty, getProperty, getPropertyCount, getPropertyIndex, getPropertyName, getRowSetEventProducer, gotoChild, gotoFirst, gotoLast, gotoNext, gotoParent, gotoPrevious, gotoRoot, hasChildren, insertAfter, insertBefore, makePrimaryVersion, removeAgiRowCursorListener, setProperty, setProperty
 
Methods implemented from interface com.sssw.rt.util.AgiRowCursorSort
rowCursorSort
 
Methods implemented from interface com.sssw.rt.util.AgiRowCursorViewSupport
getChildEntryCount, getDisplayEntryNumber, setDisplayEntryNumber
 
Methods implemented from interface com.sssw.rt.util.AgiRowQuery
rowQuery
 
Methods implemented from interface com.sssw.rt.util.AgiRowSetEventProducer
addAgiRowSetListener, removeAgiRowSetListener
 
Methods implemented from interface com.sssw.rt.util.AgiRowSetManager
clearRows, haveRowsChanged, query, query, refreshRows, updateRows
 

Constructor Detail

AgcDataPrimary

public AgcDataPrimary()
Method Detail

updateTransactionally

public void updateTransactionally(AgcData[] dataObjects)
                           throws AgoSecurityException,
                                  AgoTransientSystemException,
                                  AgoUnrecoverableSystemException,
                                  AgoInvalidDataException,
                                  AgoMissingDataException,
                                  AgoDataConcurrencyException
Updates changes made to AgcData 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:
 try
 {
 	AgcData objs[] = {agcData1, agcData3, agcData5};
 	agData.updateTransactionally(objs);
 }
 catch (AgoException e)
 {
 	agDialog.displayError(e);
 }
 
See Also:
AgoSecurityException, AgoTransientSystemException, AgoUnrecoverableSystemException, AgoInvalidDataException, AgoMissingDataException, AgoDataConcurrencyException

beginFind

public void beginFind()
Deprecated. replaced by AgoBindingManager.beginFind() method (available in agDataMgr).

See Also:
AgoBindingManager

doFind

public void doFind()
            throws AgoSecurityException,
                   AgoTransientSystemException,
                   AgoUnrecoverableSystemException
Deprecated. replaced by AgoBindingManager.doFind() method (available in agDataMgr).

See Also:
AgoBindingManager

validateForm

public boolean validateForm()
Deprecated. replaced by AgoBindingManager's validateAll() method (available in agDataMgr).

See Also:
AgoBindingManager

SilverStream
Application Server 3.5