Oracle Data-aware Controls Reference

oracle.dacf.dataset
Class StatusImmediateAccessImpl

java.lang.Object
  extended byoracle.dacf.dataset.DacObject
      extended byoracle.dacf.dataset.DataItemImpl
          extended byoracle.dacf.dataset.PropertyAccess
              extended byoracle.dacf.dataset.RowSetPropertyAccess
                  extended byoracle.dacf.dataset.StatusImmediateAccessImpl
All Implemented Interfaces:
java.lang.Cloneable, javax.infobus.DataItem, javax.infobus.DataItemChangeManager, DataItemValidate, java.util.EventListener, javax.infobus.ImmediateAccess, oracle.jbo.RowNavigationListener, oracle.jbo.RowSetListener

public class StatusImmediateAccessImpl
extends RowSetPropertyAccess
implements javax.infobus.ImmediateAccess, oracle.jbo.RowSetListener

Conveys the information to the StatusBarControl elements.


Field Summary
 
Fields inherited from class oracle.dacf.dataset.DacObject
EMPTY_PREFIX, INITIAL_CAPACITY, ITEMNAME_DELIMITER
 
Constructor Summary
protected StatusImmediateAccessImpl()
           
protected StatusImmediateAccessImpl(java.lang.String name, javax.infobus.InfoBusEventListener source, StatusInfo status, oracle.jbo.RowSet rowset, DacObject parent)
           
 
Method Summary
 java.lang.String getPresentationString(java.util.Locale locale)
          Returns the value of this item, as a string to be displayed for a given locale.
 java.lang.Object getValueAsObject()
          Returns the value of this item, as an object.
 java.lang.String getValueAsString()
          Returns the value of this item, as a string.
 void navigated(oracle.jbo.NavigationEvent e)
          Notification from the RowSet that the current row has changed.
 void rangeRefreshed(oracle.jbo.RangeRefreshEvent e)
          Invoked when the range changes.
 void rowDeleted(oracle.jbo.DeleteEvent e)
          Notification from the RowSet that rows have been deleted.
 void rowInserted(oracle.jbo.InsertEvent e)
          Notification from the RowSet that rows have been inserted.
 void rowUpdated(oracle.jbo.UpdateEvent e)
          Invoked when an attribute of the row has been changed.
protected  void setRowSet(oracle.jbo.RowSet rowset)
          Sets the RowSet associated with this data item.
protected  void setRowSetIterator(oracle.jbo.RowSetIterator rowsetIter)
          Sets the RowSetIterator associated with this data item.
 void setValue(java.lang.Object newValue)
          No-op.
 
Methods inherited from class oracle.dacf.dataset.RowSetPropertyAccess
clone, getRowSet, getRowSetIterator, rangeScrolled
 
Methods inherited from class oracle.dacf.dataset.PropertyAccess
getPropertyName, setPropertyName
 
Methods inherited from class oracle.dacf.dataset.DataItemImpl
addDataItemChangeListener, doPostRollback, doPreRollback, findDataItem, fireItemsAvailable, fireItemsAvailable, fireItemsRevoked, getDataItemChangeSupport, getProducerObject, getProperty, getSource, isPublished, postRollback, preRollback, publish, publish, release, removeDataItemChangeListener, revoke, setProducerObject, setSource, shutdown, toString, validateItem
 
Methods inherited from class oracle.dacf.dataset.DacObject
addChild, findDescendant, genCloneName, getChild, getChildIndex, getChildren, getName, getNumOfChildren, getParent, getPrefix, insertChildAt, removeChild, removeChildren, setChildren, setName, setParent, setPrefix
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.jbo.RowSetListener
rangeScrolled
 

Constructor Detail

StatusImmediateAccessImpl

protected StatusImmediateAccessImpl()

StatusImmediateAccessImpl

protected StatusImmediateAccessImpl(java.lang.String name,
                                    javax.infobus.InfoBusEventListener source,
                                    StatusInfo status,
                                    oracle.jbo.RowSet rowset,
                                    DacObject parent)
Method Detail

setRowSet

protected void setRowSet(oracle.jbo.RowSet rowset)
Sets the RowSet associated with this data item.

Overrides:
setRowSet in class RowSetPropertyAccess

setRowSetIterator

protected void setRowSetIterator(oracle.jbo.RowSetIterator rowsetIter)
Sets the RowSetIterator associated with this data item.

Overrides:
setRowSetIterator in class RowSetPropertyAccess

getValueAsString

public java.lang.String getValueAsString()
Returns the value of this item, as a string.

Specified by:
getValueAsString in interface javax.infobus.ImmediateAccess
Returns:
The value of this item.

getValueAsObject

public java.lang.Object getValueAsObject()
Returns the value of this item, as an object.

Specified by:
getValueAsObject in interface javax.infobus.ImmediateAccess
Returns:
The value of this item.

getPresentationString

public java.lang.String getPresentationString(java.util.Locale locale)
Returns the value of this item, as a string to be displayed for a given locale.

Specified by:
getPresentationString in interface javax.infobus.ImmediateAccess
Parameters:
locale - The locale to display the value in.
Returns:
The value of this item.

setValue

public void setValue(java.lang.Object newValue)
              throws javax.infobus.InvalidDataException
No-op.

Throws an InvalidDataException exception if called.

Specified by:
setValue in interface javax.infobus.ImmediateAccess
Throws:
javax.infobus.InvalidDataException - If the new value was invalid.

rangeRefreshed

public void rangeRefreshed(oracle.jbo.RangeRefreshEvent e)
Description copied from interface: oracle.jbo.RowSetListener
Invoked when the range changes.

Specified by:
rangeRefreshed in interface oracle.jbo.RowSetListener
Overrides:
rangeRefreshed in class RowSetPropertyAccess

rowUpdated

public void rowUpdated(oracle.jbo.UpdateEvent e)
Description copied from interface: oracle.jbo.RowSetListener
Invoked when an attribute of the row has been changed.

Specified by:
rowUpdated in interface oracle.jbo.RowSetListener
Overrides:
rowUpdated in class RowSetPropertyAccess

rowInserted

public void rowInserted(oracle.jbo.InsertEvent e)
Notification from the RowSet that rows have been inserted.

Notifies the listeners on the data item, if appropriate.

Specified by:
rowInserted in interface oracle.jbo.RowSetListener
Overrides:
rowInserted in class RowSetPropertyAccess
Parameters:
e - Details about the change.

rowDeleted

public void rowDeleted(oracle.jbo.DeleteEvent e)
Notification from the RowSet that rows have been deleted.

Notifies the listeners on the data item, if appropriate.

Specified by:
rowDeleted in interface oracle.jbo.RowSetListener
Overrides:
rowDeleted in class RowSetPropertyAccess
Parameters:
e - Details about the change.

navigated

public void navigated(oracle.jbo.NavigationEvent e)
Notification from the RowSet that the current row has changed.

Notifies the listeners on the data item.

Specified by:
navigated in interface oracle.jbo.RowSetListener
Overrides:
navigated in class RowSetPropertyAccess
Parameters:
e - Details about the change.

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.