|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dacf.dataset.DacObject
oracle.dacf.dataset.ProducerObject
oracle.dacf.dataset.InfoObject
oracle.dacf.dataset.ResultSetInfo
oracle.dacf.dataset.RowSetInfo
This class contains all of the dataset specific properties and validators. It also collects and establishes all master-detail relationships.
Field Summary |
Fields inherited from class oracle.dacf.dataset.ResultSetInfo |
_SPECIAL_ATTR_CNT, _viewObj, CURMSG_ATTR_NAME, CURROW_ATTR_NAME, DEFAULT_BUFFER_SIZE, DEFAULT_QUERYCRITERIA_ATTR_NAME, ERR_PROD_CODE, HIGH_ATTR_NAME, MODIFIED_ATTR_NAME, QUERYCRITERIA_ATTR_NAME, ROWCNT_ATTR_NAME |
Fields inherited from class oracle.dacf.dataset.InfoObject |
_updateMode, LEVEL_APPLICATION, LEVEL_ATTRIBUTE, LEVEL_COLUMN, LEVEL_QUERY_VIEW, LEVEL_ROOT, LEVEL_ROW, LEVEL_ROWSET, LEVEL_SESSION, PROPERTIES_COLUMN_NAME, UPDATEABLE_FALSE, UPDATEABLE_MAX_VAL, UPDATEABLE_TRUE, UPDATEABLE_UNDEFINED |
Fields inherited from class oracle.dacf.dataset.ProducerObject |
_openLock |
Fields inherited from class oracle.dacf.dataset.DacObject |
EMPTY_PREFIX, INITIAL_CAPACITY, ITEMNAME_DELIMITER |
Constructor Summary | |
|
RowSetInfo()
|
protected |
RowSetInfo(java.lang.String name,
oracle.jbo.ViewObject vuObj)
|
protected |
RowSetInfo(oracle.jbo.ViewObject vuObj)
|
Method Summary | |
void |
addAttribute(AttributeInfo attr)
Add a column to the RowSetInfo so that it can be used. |
void |
addMasterLink(MasterLink link)
Adds a master RowSetInfo for this RowSetInfo. |
java.lang.Object |
clone()
Creates a deep copy of the ResultSetInfo, including the children. |
protected void |
createAssociation()
Establish the master-detail associations. |
protected void |
destroyAssociation()
Remove the master-detail associations. |
MasterLink |
getMasterLinkInfo()
Return the first master associated with this rowset. |
MasterLink[] |
getMasterLinkList()
Return a list of all masters for the Rowset. |
java.lang.String |
getName()
Returns the name of the DacObject. |
protected void |
internalValidation(int eventLevel)
Internal: Applications should not use this method. |
void |
openRowSet(boolean openChildren)
Sets up the RowSetInfo for use by: connect to the server-side ApplicationModule if defined connect to the server-side RowSet executes open() on all child ColumnInfo It throws an IllegalStateException exception if required properties aren't set. |
void |
publishRowSet()
Publishes the RowSet and its child items on the InfoBus. |
void |
publishRowSet(boolean activate)
Deprecated. Use publishRowSet() |
void |
removeMasterLink(MasterLink link)
Removes a RowSetInfo as a master of RowSetInfo. |
void |
revokeRowSet()
Revokes the RowSet and its child items on the InfoBus. |
void |
setMasterLinkInfo(MasterLink info)
Set the Master RowSetInfo for this RowSetInfo. |
void |
setMasterLinkList(MasterLink[] list)
Sets all of the masters for the Rowset |
void |
setName(java.lang.String st)
Sets the InfoBus bind name of the object. |
void |
validate()
Internal: Applications should not use this method. |
Methods inherited from class oracle.dacf.dataset.InfoObject |
addChangeListener, addValidationListener, areParentsValid, clearDirty, fireValidationEvent, forceValid, getChangeListeners, getLocale, getUpdateMode, getValidationListeners, isActive, isDirty, isValid, processValidationEvent, removeChangeListener, removeValidationListener, setActive, setDirty, setLocale, setUpdateable, setValid, toString, validate, validate |
Methods inherited from class oracle.dacf.dataset.ProducerObject |
addChild, addClonedDataItem, close, findDataItem, findProducerObject, findProducerObject, getClonedDataItems, getDataItemImpl, getDataProducer, getDataSourceName, getFullName, isAClonedDataItem, isOpen, publishDataItem, publishDataItem, removeChild, removeClonedDataItem, revokeDataItem, setClonedDataItems, setDataItem, setDataSourceName, setOpen |
Methods inherited from class oracle.dacf.dataset.DacObject |
addChild, findDescendant, genCloneName, getChild, getChildren, getNumOfChildren, getParent, getPrefix, insertChildAt, removeChild, removeChildren, setChildren, setParent, setPrefix |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RowSetInfo()
protected RowSetInfo(oracle.jbo.ViewObject vuObj)
vuObj
- The server-side BC4J ViewObject used by the RowSetInfoprotected RowSetInfo(java.lang.String name, oracle.jbo.ViewObject vuObj)
name
- The InfoBus bind name for the RowSetInfovuObj
- The server-side BC4J ViewObject used by the RowSetInfoMethod Detail |
public java.lang.Object clone()
ResultSetInfo
clone
in class ResultSetInfo
public void setName(java.lang.String st)
ProducerObject
setName
in class ProducerObject
st
- the InfoBus bind name.public java.lang.String getName()
DacObject
getName
in class DacObject
public void setMasterLinkInfo(MasterLink info)
addMasterLink(MasterLink info)
public MasterLink getMasterLinkInfo()
getMasterLinkList()
public void addMasterLink(MasterLink link)
MasterLink can only be added to a RowsetInfo prior to it being opened. If one attempts to add a MasterLink to a RowsetInfo after it is opened then a DataSourceOperationException is thrown.
link
- The MasterLink describing a master for the RowsetInfopublic void removeMasterLink(MasterLink link)
MasterLink can only be removed from a RowsetInfo prior to it being opened. If one attempts to remove a MasterLink from a RowsetInfo after it is opened then a DataSourceOperationException is thrown.
link
- The MasterLink describing a master for the RowsetInfopublic MasterLink[] getMasterLinkList()
public void setMasterLinkList(MasterLink[] list)
Allows one to setup all of the master RowsetInfos for a RowsetInfo by specifying an array of the appropriate subclass of MasterLink objects.
list
- the list of MasterLink objects specifying the masterspublic void addAttribute(AttributeInfo attr)
public void openRowSet(boolean openChildren)
java.lang.IllegalStateException
- Thrown if open called when required
properties are missing.public void publishRowSet()
public void publishRowSet(boolean activate)
public void revokeRowSet()
publishRowSet()
public void validate() throws ValidationException
InfoObject
validate
in class InfoObject
ValidationException
protected void internalValidation(int eventLevel) throws ValidationException
internalValidation
in class InfoObject
ValidationException
protected void createAssociation()
createAssociation
in class ResultSetInfo
protected void destroyAssociation()
destroyAssociation
in class ResultSetInfo
|
Oracle Data-aware Controls Reference | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.