Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

oracle.adf.model.bean
Class DCDataVO

java.lang.Object
  extended by oracle.jbo.common.NamedObjectImpl
      extended by oracle.jbo.server.NamedObjectImpl
          extended by oracle.jbo.server.ComponentObjectImpl
              extended by oracle.jbo.server.ViewObjectImpl
                  extended by oracle.adf.model.bean.DCDataVO
All Implemented Interfaces:
java.util.EventListener, ViewCriteriaClauseBuilder, ViewCriteriaManagerOwner, ViewObjectDynAttr, WSRowSetIteratorMarshaller, WSRowSetMarshaller, ComponentObject, GenericHints, NavigatableRowIterator, OperationContainer, Properties, RowIterator, RowMatchBindValueSupplier, RowNavigationListener, RowSet, RowSetIterator, RowSetListener, AttributeDependencyManager, EntityListener, TransactionListener, TransactionPostListener, StructureDef, VariableManagerOwner, VariableManagerOwnerBase, ViewCriteriaManager, ViewObject, XMLInterface

public class DCDataVO
extends ViewObjectImpl


Field Summary
static java.lang.String PROP_VC
           
static java.lang.String PROP_VCIVAL_SUBST_ATTRDEF
           
static java.lang.String PROP_VO_KIND
           
static java.lang.String STR_DEF_NAME
           
static java.lang.String VCI_DEF_NAME
           
static java.lang.String VCIVAL_ATTR_HAS_TRIGGER
           
static java.lang.String VCIVAL_ATTR_ISBIND_NAME
           
static java.lang.String VCIVAL_ATTR_VALUE_NAME
           
static java.lang.String VCIVAL_DEF_NAME
           
static java.lang.String VCO_DEF_NAME
           
static java.lang.String VCPROPS_DEF_NAME
           
static int VD_KIND_BEAN
           
static int VD_KIND_CRITERIA
           
static int VD_KIND_CRITERIA_ITEM
           
static int VD_KIND_DOMAIN
           
static java.lang.String VIEWDEF_SUFFIX
           
 
Fields inherited from class oracle.jbo.server.ViewObjectImpl
DATA_ROWKEYTAG, DYN_ATTRS, DYN_ATTRS_ENTRY, DYN_ATTRS_EXPR, DYN_ATTRS_NAME, DYN_ATTRS_TYPE, EFFDT_MODE, ENT_HDL_TRACKER, ENT_REF_INDEX, FETCH_ALL, FETCH_AS_NEEDED, FETCH_DEFAULT, FULLSQL_MODE_AUGMENTATION, FULLSQL_MODE_NO_AUGMENTATION, INTERNAL_EXPR_VALUE_OVERRIDES, mAssocClause, mAssocFromClause, mAssocRefs, mAttrDefs, mAttrDefsTab, mAutoPostChanges, mChangedAttrIndices, mChgAttrIndUseCount, mDefaultMaxActiveNodes, mDefaultMaxRowsPerNode, mDefaultRowSetMap, mDynAttrOffset, MIN_ACTIVE_NODES, MIN_ROWS_PER_NODE, mKeyAttrRefs, mOptimizerHint, mOrderBy, mUsePersColl, mUserDefinedQuery, mViewDef, mViewRowSet, mWhere, NEW_ROW_HANDLE, NEW_ROW_INDEX, NEW_ROW_TRACKER, PROPERTY_DEFERRED_ESTIMATED_ROWCOUNT, QC_TAG, TRANSIENT_DATA_ROWTAG
 
Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX
 
Fields inherited from interface oracle.jbo.ViewObject
IMAGE_LOC, QUERY_MODE_SCAN_DATABASE_TABLES, QUERY_MODE_SCAN_ENTITY_ROWS, QUERY_MODE_SCAN_UNPOSTED_ENTITY_ROWS, QUERY_MODE_SCAN_VIEW_ROWS, QUERY_MODE_SKIP_WHERE, QUERY_TIMEOUT_WAIT_FOREVER, XML_ELEM_PASSIVATE_TRANSIENT
 
Fields inherited from interface oracle.jbo.RowSet
COPY_OPT_ALL_ROWS, COPY_OPT_LIMIT_RANGE, FORWARD_ONLY, RANGE_PAGING, RANGE_PAGING_AUTO_POST, RANGE_PAGING_INCR, SCROLLABLE
 
Fields inherited from interface oracle.jbo.RowIterator
ITER_MODE_LAST_PAGE_FULL, ITER_MODE_LAST_PAGE_PARTIAL, SLOT_BEFORE_FIRST, SLOT_BEYOND_LAST, SLOT_DELETED, SLOT_VALID
 
Fields inherited from interface oracle.jbo.XMLInterface
XML_IGNORE_DEPTH_COUNT, XML_OPT_ALL_ROWS, XML_OPT_ASSOC_CONSISTENT, XML_OPT_CHANGES_ONLY, XML_OPT_LIMIT_RANGE, XML_PASSIVATION_USE
 
Fields inherited from interface oracle.jbo.GenericHints
PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIP
 
Fields inherited from interface oracle.jbo.ViewCriteriaManager
DFLT_VIEW_CRITERIA_NAME, IMPLICIT_VIEW_CRITERIA_NAME, QUICKSEARCH_VIEW_CRITERIA_NAME
 
Constructor Summary
DCDataVO()
           
 
Method Summary
 void applyViewCriteria(ViewCriteria vc)
          Applies the view criteria to this view object.
 void clearCache()
          Clears the View Object cache.
 void closeRowSet()
          Closes the row set.
protected  void create()
          Override from VO to manage keys.
protected  ViewObjectImpl createFinderVO(java.lang.String suffix)
           
 ViewRowImpl createInstance(ViewRowSetImpl viewRowSet, AttributeList attrValList)
          Creates a view row instance.
protected  ViewRowImpl createNewRowForCollection(java.lang.Object qcObj)
           
protected  ViewRowImpl createRowFromResultSet(java.lang.Object qc, java.sql.ResultSet resultSet)
          Override from VO to create row objects for the current entry in the source collection.
protected  ViewRowSetImpl createViewAccessorRS(ViewAccessorDef accessorDef, Row masterRow, java.lang.Object[] values, boolean addRSToMasterRow)
           
protected  ViewObjectImpl createViewLinkAccessorVO(AssociationDefImpl assocDef, java.lang.String voName, ViewDefImpl vDef, ViewLinkDefImpl vlDef)
           
protected  java.lang.Object doCreateData(DCDataRow row)
           
protected  boolean doRemoveData(DCDataRow row)
           
protected  void executeQueryForCollection(java.lang.Object qcObj, java.lang.Object[] params, int noUserParams)
          Override from VO to execute the other side
 Row[] findByKey(Key key, int maxNumOfRows)
          Finds and returns View rows that match the specified key.
protected  ApplicationModule getApplicationModuleForLocalViewObject()
           
 java.lang.String getBeanClassName()
           
 long getCappedQueryHitCount(ViewRowSetImpl viewRowSet, Row[] masterRows, long oldCap, long cap)
          This method executes a count query and returns the number of rows that could end up in the rowset.
protected  DCDataControl getDataControl()
           
 java.lang.Object getDataProvider()
           
 java.lang.Object getDataProvider(RowSetIterator rsi)
           
protected  DefinitionManager getDefinitionManager()
           
protected  AttributeDef[] getFKAttrs()
           
 java.util.List getForwardDependencyAttributes(java.lang.String attrName)
           
protected  java.lang.String getFullNameForPersDef()
           
 long getQueryHitCount(ViewRowSetImpl viewRowSet, Row[] masterRows)
           
protected  boolean hasNextForCollection(java.lang.Object qc)
          Override from VO to find if the source collection has any more rows.
 void initFromMasterAccessor(DCDataControl dc, RowSetIterator masterRSI, Row masterRow, java.lang.String accName, boolean pin)
           
protected  void initSource(java.lang.Object obj, DCDataControl dc)
           
static boolean isCriteriaItemType(ViewObject vo)
           
static boolean isCriteriaRelatedType(ViewObject vo)
           
static boolean isCriteriaType(ViewObject vo)
           
 boolean isReadOnly()
          Tests whether this View Object is read-only.
 AttributeDef lookupAttributeDef(java.lang.String name)
          Finds a named attribute definition.
 ListBindingDef lookupListBindingDef(java.lang.String lbName)
          Return listbinding definition if defined in this ViewObject (or in the entity definitions for entities that this ViewObject constitutes of).
protected  void notifyRowUpdated(ViewRowSetImpl vrs, Row[] viewRows, int[] attrIndices)
           
protected  Row[] retrieveByKey(ViewRowSetImpl rs, Key key, int maxNumOfRows, boolean skipWhere)
           
 void setMethodInfo(java.lang.Object iter, java.lang.String name)
           
 void setName(java.lang.String name)
          Name this object.
protected  void substituteAttribute(ViewAttributeDefImpl existingDef, ViewAttributeDefImpl replacement)
          Strictly Internal: Applications should not use this method.
protected  void validateRangeSizeForRangePaging(ViewRowSetImpl vrs, int rangeSize)
          Advanced Internal method only.
 
Methods inherited from class oracle.jbo.server.ViewObjectImpl
_internal_dbg_debug_data, activateCurrentRow, activateDynamicAttributeDefs, activateIteratorState, activateNewRowTracker, activateNewRowTracker, activateState, activateState, activateState, activateTransientAttribute, activateTransients, activateTransients, addDynamicAttribute, addDynamicAttributeWithType, addForwardDependency, addListener, addManagementListener, addOperation, addOrderByClause, addQueryMode, addRowOperation, addRowSet, addViewCriteriaToWhereClause, addViewLink, addWhereClause, adjustERCWithChangedRows, afterCommit, afterEntityRemove, afterRemove, afterRollback, appendXMLElementNodes, appendXMLElementNodes, applyBindVariableForCriteria, applyPersonalization, applyViewCriteria, beforeCommit, beforeEntityRemove, beforeRollback, bindFinderRS, bindParametersForCollection, bindRangePagingParams, buildEffectiveDateFromClauseFragment, buildEffectiveDateWhereClauseFragment, buildFromClause, buildKey, buildNewCollection, buildOperationDefinitions, buildOrderByClause, buildQualifyingRowFilters, buildQuery, buildQuery, buildRangePagingQuery, buildRowFilter, buildRowOperationDefinitions, buildSelectClause, buildSubquery, buildViewCriteriaClauses, buildWhereClause, cancelQuery, checkPassivateViewAttributes, clearViewCriterias, closeFreedStatements, closeRowSetIterator, createAndInitRow, createAndInitRowForCollection, createDetailRowSet, createInstanceFromResultSet, createInstanceWithEntities, createKey, createRow, createRowSet, createRowSetIterator, createVariableValueManager, createVariableValueManagerForRS, createViewCriteria, createViewLinkAccessor, createViewLinkAccessorRS, createViewLinkScanBaseRS, createViewRowSet, createXMLDefinition, criteriaChanged, criteriaSelReqBindVarsChanged, deepCopy, defineNamedWhereClauseParam, doesRowFilterMatch, dumpQCs, enumerateRowsInRange, executeDetailQuery, executeEmptyRowSet, executeQuery, findAltKeyDef, findAndSetCurrentRowByKey, findAttributeDef, findByAltKey, findByEntity, findByKey, findByViewCriteria, findByViewCriteriaForViewRowSet, findByViewCriteriaWithBindVars, findByViewCriteriaWithBindVars, findInCacheByAltKey, findInCacheByKey, findListBindingDef, findOrCreateLocalViewObject, findOrCreateLocalViewObject, findPrimaryKeyColumns, findRowInQCs, findRowSet, findRowSetIterator, findViewAccessorDef, findViewDefFromDiscrVals, findViewDefFromDiscrVals, findViewLinkAccessor, findViewLinkAccessorVO, first, getAccessMode, getAllCachedQueryCollections, getAllRowsInRange, getAllViewCriteriaNames, getAllViewCriterias, getAltKeyAttrDefs, getApplicationModule, getApplyAllViewCriterias, getApplyJoinedViewCriteriaNames, getApplyViewCriteriaNames, getApplyViewCriterias, getAssociationClause, getAttrDefsForEntityAttr, getAttributeCount, getAttributeDef, getAttributeDefs, getAttributeIndexOf, getAttrIndicesForEntityAttr, getAvailableViewCriteriaNames, getBackwardDependencies, getBackwardDependencyAttributes, getBindingStyle, getBindValsForSqlGen, getByKeyFinderRS, getCachedQueryCollection, getCalculatedAttributeCount, getCallableStatement, getCappedRowCount, getCliIteratorState, getColumnNameForQuery, getCriteriaAdapter, getCriteriaItemAttributeHints, getCriteriaItemClause, getCurrentRow, getCurrentRowIndex, getCurrentRowSlot, getDBSortCriteria, getDBTransaction, getDef, getDefaultAccessMode, getDefaultRangePagingCacheFactor, getDefaultRangeSize, getDefaultRowSet, getDefaultRowSetInternal, getDeferEstimatedRowCountProperty, getDeferredEstimatedRowCount, getDefFullName, getDefName, getDeleteParticipants, getDetailEstimatedRowCount, getDetailRowSets, getDiscrColLoadIndices, getDynamicAttributeCount, getDynamicAttributeOffset, getEntityDef, getEntityDefCount, getEntityDefs, getEstimatedRangePageCount, getEstimatedRowCount, getFetchedRowCount, getFetchMode, getFetchSize, getFilteredRows, getFilteredRows, getFilteredRowsInRange, getFilteredRowsInRange, getForwardDependencies, getFromClause, getFromClauseFlags, getFullLoggingName, getFullSqlMode, getImageLoc, getImplObject, getInsertParticipants, getIterMode, getKeyAttributeDefs, getListBindingDefsInternal, getLockParticipants, getMasterKeyValues, getMasterRowSetIterators, getMaxFetchSize, getNamedWhereClauseParam, getNamedWhereClauseParams, getNextRangeSet, getOperationDefinitions, getOrderByClause, getParametersAsStorageTypes, getPreparedStatement, getPreviousRangeSet, getPrimaryKeys, getProxyClassName, getProxyInterfaceName, getQualifyingRowFilters, getQuery, getQueryCollection, getQueryHint, getQueryHitCount, getQueryMode, getQueryOptimizerHint, getQueryTimeOut, getRangeIndexOf, getRangePageStartForCollection, getRangePagingCacheFactor, getRangeSize, getRangeStart, getReqdVC, getRequiredViewCriteria, getRow, getRowAtRangeIndex, getRowClass, getRowComparator, getRowCount, getRowCountInRange, getRowFilters, getRowFilterValues, getRowFromHandle, getRowLimit, getRowMatch, getRowMatchBindValue, getRowMatchFromViewCriteria, getRowOperationDefinitions, getRowProxyClassName, getRowQualifier, getRowSet, getRowSetForSqlGen, getRowSetImpl, getRowSetIterator, getRowSetIterators, getRowSets, getRowSetsInternal, getScanRowFilterAttributeDefs, getSelectClause, getSelectClauseFlags, getSignature, getSortBy, getSortCriteria, getSubclassDef, getSubclassDefFromStructureDef, getSubstitutedDefNames, getSyncLock, getTransPostHandle, getUserDataForCollection, getUserDefinedQuery, getViewAccessorDefsInternal, getViewAttributeDefImpls, getViewCriteria, getViewCriteria, getViewCriteriaClause, getViewCriteriaClause, getViewCriteriaManager, getViewCriteriaManagerInternal, getViewDef, getViewLinkAccessorInfo, getViewLinkDestinationAttributes, getViewLinkNames, getViewLinks, getViewObject, getWhereClause, getWhereClauseFlags, getWhereClauseParams, getXMLElementTag, getXMLRowElementTag, handleActivatedRowNotFound, hasDefaultRowSet, hasNext, hasPrevious, hideAttributeDef, initFromDef, insertRow, insertRowAtRangeIndex, isAssociationConsistent, isAttributeKey, isAutoPostChanges, isAutoRefreshEnabled, isCollectionPresent, isDefaultAssocConsistent, isDefaultRowSet, isDynamicAttribute, isDynamicAttribute, isEffectiveDated, isEntityReferenceSelected, isExecuted, isFetchComplete, isForeignKey, isForScan, isForwardOnly, isInternal, isManageRowsByKey, isMasterKeyValues, isMaxFetchSizeExceeded, isNameGenerated, isPassivatableTransientAttribute, isPassivationEnabled, isPostedToDB, isQueryChanged, isRangeAtBottom, isRangeAtTop, isRowValidation, isRuntimeSQLGeneration, isSelectAllAttributes, isTransientTransactionListener, isTransientTransactionPostListener, isViewLinkAccessorRetained, last, lookupAltKeyDef, lookupViewAccessorDef, markQueryCollectionDirty, marshalListBindingDefs, navigated, needsRefresh, next, notifyRowDeleted, notifyRowInserted, notifyRowUpdated, notifyRowUpdated, notifyRowUpdated, onDatabaseChangeNotification, passivateDynamicAttributeDef, passivateNewRowTracker, passivateState, passivateState, passivateState, passivateTransients, passivateTransients, populateAttributeForRow, postChanges, preFetchRowsByKeys, preFetchRowsByKeys, prepareForActivation, prepareForBatchMode, prepareForPassivation, prepareVOForQuery, previous, printXMLDefinition, processDatabaseChangeNotification, processNewSelectSet, processSortCriteria, putViewCriteria, qualifiesRowFilter, rangeRefreshed, rangeScrolled, readFromXml, readRowXML, readRowXML, readXML, readXML, refreshCollection, refreshWhereClauseParams, registerDatabaseChangeListener, releaseUserDataForCollection, remove, removeApplyViewCriteriaName, removeCurrentRow, removeCurrentRowAndRetain, removeCurrentRowFromCollection, removeListener, removeManagementListener, removeMasterRowSetIterator, removeNamedWhereClauseParam, removeRowHandle, removeRowSet, removeViewCriteria, reset, resetCriteria, resetExecuted, resetSelectedAttributeDefs, resetSelectedAttributeDefs, resetSession, retrieveByKey, retrieveByKey, rowDeleted, rowInserted, rowQualifies, rowUpdated, scrollRange, scrollRangeTo, scrollToRangePage, selectAttributeDefs, setAccessMode, setApplyJoinedViewCriteriaNames, setApplyViewCriteriaName, setApplyViewCriteriaName, setApplyViewCriteriaNames, setAssociationConsistent, setAutoPostChanges, setBindingStyle, setCurrentRow, setCurrentRowAtRangeIndex, setCurrentUnionViewCriteriaName, setDBSortCriteria, setDefaultAccessMode, setDefaultAssocConsistent, setDefaultRangePagingCacheFactor, setDefaultRangeSize, setFetchCompleteForCollection, setFetchMode, setFetchSize, setForwardOnly, setFromClause, setFromClauseFlags, setFullSqlMode, setIterMode, setKeyAttributeDefs, setListenToEntityEvents, setManageRowsByKey, setMasterRowSetIterator, setMaxFetchSize, setNamedWhereClauseParam, setNamedWhereClauseParams, setNestedSelectForFullSql, setOrderByClause, setPassivatableTransientAttribute, setPassivationEnabled, setPostedToDB, setProxyClassName, setQuery, setQueryAsChanged, setQueryChanged, setQueryHint, setQueryMode, setQueryOptimizerHint, setQueryTimeOut, setRangePagingCacheFactor, setRangeSize, setRangeStart, setReqdVC, setRequiredViewCriteria, setResultSetForCollection, setRowFilterValues, setRowMatch, setRowMatchFromViewCriteria, setRowQualifier, setRowValidation, setSelectClause, setSelectClauseFlags, setSortBy, setThrowOnListBindingMismatch, setTransPostHandle, setUserDataForCollection, setViewCriteriaAdapter, setViewLinkAccessorRetained, setWhereClause, setWhereClauseFlags, setWhereClauseParam, setWhereClauseParams, shouldPutJoinConstraintInWhereClause, showCursorUsage, skipNamedWhereClauseParam, sortRows, sourceChanged, throwOnListBindingMismatch, unpinDetailQC, unselectAttributeDefs, updateRowSetFromXML, validate, writeXML, writeXML, writeXML, writeXML
 
Methods inherited from class oracle.jbo.server.ComponentObjectImpl
addListener, createRef, ensureVariableManager, findOperationDefinitions, getAllProperties, getCompListeners, getCompListenersList, getHintValue, getLabel, getLabelPlural, getMessageBundleClass, getProxyClassName, getResourceBundleDef, getRootApplicationModule, getStringFromMessageBundle, getTooltip, getVariableManager, hasVariables, isDead, isPersonalized, isRegWithPiggyMan, resolvePropertyRaw, setParent
 
Methods inherited from class oracle.jbo.server.NamedObjectImpl
setParent, setPropertiesMap
 
Methods inherited from class oracle.jbo.common.NamedObjectImpl
allocatePropertyMap, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionsMap, getPropertyMap, getResourcesFromBundle, isPropertyExpression, mergePropertyMap, refreshProperty, removeProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setFullName, setPropertiesMap2, setProperty, setProperty, setPropertyExpression, setPropertyMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.jbo.StructureDef
getFullName, getName
 
Methods inherited from interface oracle.jbo.RowSet
getName
 
Methods inherited from interface oracle.jbo.VariableManagerOwnerBase
ensureVariableManager, getMessageBundleClass, getResourceBundleDef, getVariableManager, hasVariables
 
Methods inherited from interface oracle.jbo.ComponentObject
getFullName, getName
 
Methods inherited from interface oracle.jbo.GenericHints
getHintValue, getLabel, getLabelPlural, getTooltip
 
Methods inherited from interface oracle.jbo.Properties
getProperties, getProperty, getProperty, refreshProperty
 

Field Detail

STR_DEF_NAME

public static final java.lang.String STR_DEF_NAME
See Also:
Constant Field Values

PROP_VO_KIND

public static final java.lang.String PROP_VO_KIND
See Also:
Constant Field Values

VCI_DEF_NAME

public static final java.lang.String VCI_DEF_NAME
See Also:
Constant Field Values

VCPROPS_DEF_NAME

public static final java.lang.String VCPROPS_DEF_NAME
See Also:
Constant Field Values

VCO_DEF_NAME

public static final java.lang.String VCO_DEF_NAME
See Also:
Constant Field Values

VCIVAL_DEF_NAME

public static final java.lang.String VCIVAL_DEF_NAME
See Also:
Constant Field Values

VCIVAL_ATTR_VALUE_NAME

public static final java.lang.String VCIVAL_ATTR_VALUE_NAME
See Also:
Constant Field Values

VCIVAL_ATTR_ISBIND_NAME

public static final java.lang.String VCIVAL_ATTR_ISBIND_NAME
See Also:
Constant Field Values

VCIVAL_ATTR_HAS_TRIGGER

public static final java.lang.String VCIVAL_ATTR_HAS_TRIGGER
See Also:
Constant Field Values

PROP_VCIVAL_SUBST_ATTRDEF

public static final java.lang.String PROP_VCIVAL_SUBST_ATTRDEF
See Also:
Constant Field Values

PROP_VC

public static final java.lang.String PROP_VC
See Also:
Constant Field Values

VD_KIND_BEAN

public static final int VD_KIND_BEAN
See Also:
Constant Field Values

VD_KIND_DOMAIN

public static final int VD_KIND_DOMAIN
See Also:
Constant Field Values

VD_KIND_CRITERIA

public static final int VD_KIND_CRITERIA
See Also:
Constant Field Values

VD_KIND_CRITERIA_ITEM

public static final int VD_KIND_CRITERIA_ITEM
See Also:
Constant Field Values

VIEWDEF_SUFFIX

public static final java.lang.String VIEWDEF_SUFFIX
See Also:
Constant Field Values
Constructor Detail

DCDataVO

public DCDataVO()
For internal use only. Application developers should not use this
*** For internal framework use only ***
Method Detail

initSource

protected void initSource(java.lang.Object obj,
                          DCDataControl dc)

create

protected void create()
Override from VO to manage keys.

Overrides:
create in class ComponentObjectImpl

getFullNameForPersDef

protected java.lang.String getFullNameForPersDef()
Overrides:
getFullNameForPersDef in class ComponentObjectImpl
Returns:
fullName that will be used to lookup the pers def object. This is protected for ADFm bean structures so that they can lookup an alternate pers def since their ViewDef name is runtime generated.
For internal use only. Application developers should not use this

getBeanClassName

public java.lang.String getBeanClassName()
For internal use only. Application developers should not use this
*** For internal framework use only ***

createFinderVO

protected ViewObjectImpl createFinderVO(java.lang.String suffix)
Overrides:
createFinderVO in class ViewObjectImpl

getApplicationModuleForLocalViewObject

protected ApplicationModule getApplicationModuleForLocalViewObject()
Overrides:
getApplicationModuleForLocalViewObject in class ViewObjectImpl

createViewLinkAccessorVO

protected ViewObjectImpl createViewLinkAccessorVO(AssociationDefImpl assocDef,
                                                  java.lang.String voName,
                                                  ViewDefImpl vDef,
                                                  ViewLinkDefImpl vlDef)
Overrides:
createViewLinkAccessorVO in class ViewObjectImpl

executeQueryForCollection

protected void executeQueryForCollection(java.lang.Object qcObj,
                                         java.lang.Object[] params,
                                         int noUserParams)
Override from VO to execute the other side

Overrides:
executeQueryForCollection in class ViewObjectImpl
Parameters:
qcObj - the query collection about to execute the query.
params - the bind parameters that will be applied to the query.
noUserParams - the number of user bind parameters supplied through the setWhereClauseParam calls.

closeRowSet

public void closeRowSet()
Description copied from interface: RowSet
Closes the row set. It closes all row set iterators that belong to this row set. If this row set is a detail row set in a master-detail relationship, closeRowSet removes this row set from the master row set iterator.

Specified by:
closeRowSet in interface RowSet
Overrides:
closeRowSet in class ViewObjectImpl

notifyRowUpdated

protected void notifyRowUpdated(ViewRowSetImpl vrs,
                                Row[] viewRows,
                                int[] attrIndices)
Overrides:
notifyRowUpdated in class ViewObjectImpl

applyViewCriteria

public void applyViewCriteria(ViewCriteria vc)
Description copied from interface: ViewObject
Applies the view criteria to this view object. Invoking this method will erase all the previously applied view criteria on the view object.

Specified by:
applyViewCriteria in interface ViewCriteriaManager
Specified by:
applyViewCriteria in interface ViewObject
Overrides:
applyViewCriteria in class ViewObjectImpl
Parameters:
vc - view criteria to be applied
For internal use only. Application developers should not use this
*** For internal framework use only ***

isReadOnly

public boolean isReadOnly()
Description copied from class: ViewObjectImpl
Tests whether this View Object is read-only.

A View Object is read-only if it does not have a Primary Key, or if all its Entity Objects are read-only.

This method should not be overridden.

Specified by:
isReadOnly in interface ViewObject
Overrides:
isReadOnly in class ViewObjectImpl
Returns:
true if this View Object is read-only; false if it is updateable.
For internal use only. Application developers should not use this
*** For internal framework use only ***

hasNextForCollection

protected boolean hasNextForCollection(java.lang.Object qc)
Override from VO to find if the source collection has any more rows.

Overrides:
hasNextForCollection in class ViewObjectImpl

createRowFromResultSet

protected ViewRowImpl createRowFromResultSet(java.lang.Object qc,
                                             java.sql.ResultSet resultSet)
Override from VO to create row objects for the current entry in the source collection.

Overrides:
createRowFromResultSet in class ViewObjectImpl

createNewRowForCollection

protected ViewRowImpl createNewRowForCollection(java.lang.Object qcObj)
Overrides:
createNewRowForCollection in class ViewObjectImpl
For internal use only. Application developers should not use this
*** For internal framework use only ***

createInstance

public ViewRowImpl createInstance(ViewRowSetImpl viewRowSet,
                                  AttributeList attrValList)
Description copied from class: ViewObjectImpl
Creates a view row instance.

This method is called by ViewObjectImpl.createRow(). The view row is created, and if it is a detail row for some View Link, its foreign key value attributes are initialized.

Overrides:
createInstance in class ViewObjectImpl
Parameters:
viewRowSet - the row set requesting the new row instance.
attrValList - a list of attribute values to be used for initializing the view row. If it is a detail row for some View Link, this list will contain foreign key values.
Returns:
a new view row instance.
See Also:
ViewObjectImpl.createRow()
For internal use only. Application developers should not use this
*** For internal framework use only ***

retrieveByKey

protected Row[] retrieveByKey(ViewRowSetImpl rs,
                              Key key,
                              int maxNumOfRows,
                              boolean skipWhere)
Overrides:
retrieveByKey in class ViewObjectImpl
For internal use only. Application developers should not use this
*** For internal framework use only ***

findByKey

public Row[] findByKey(Key key,
                       int maxNumOfRows)
Description copied from class: ViewObjectImpl
Finds and returns View rows that match the specified key.

See RowIterator.findByKey(oracle.jbo.Key, int) for details.

Specified by:
findByKey in interface RowIterator
Overrides:
findByKey in class ViewObjectImpl
Parameters:
key - the key to match.
maxNumOfRows - the maximum size of the array to return, or -1 to return all rows.
Returns:
an array of rows matching the key.
See Also:
RowIterator.getRow(oracle.jbo.Key)

lookupAttributeDef

public AttributeDef lookupAttributeDef(java.lang.String name)
Description copied from class: ViewObjectImpl
Finds a named attribute definition.

The following code snippet uses this method to find the attribute definitions needed to create a link between two View Objects.

   ViewObject voDept = myAM.createViewObject("MyDept", "package1.DeptVO");
   ViewObject voEmp = myAM.createViewObject("MyEmp", "package1.EmpVO");

   // Build an attribute array, consisting of DeptVO.DeptNum.
      AttributeDef[] deptAttrs = new AttributeDef[1];
      deptAttrs[0] = voDept.findAttributeDef("DeptNum");

   // Build an attribute array, consisting of EmpVO.DeptNum.
      AttributeDef[] empAttrs = new Attributedef[1];
      empAttrs[0] = voEmp.findAttributeDef("DeptNum");

      ViewLink vl = myAM.createViewLinkBetweenViewObjects("MyLink3",
           "Employees", // accessor name
           voDept, // master
           deptAttrs,
           voEmp, // detail
           empAttrs,
           null); // assoc clause
 
This method should not be overridden.

Specified by:
lookupAttributeDef in interface AttributeDependencyManager
Specified by:
lookupAttributeDef in interface StructureDef
Overrides:
lookupAttributeDef in class ViewObjectImpl
Parameters:
name - the name of the attribute.
Returns:
the attribute definition of the given name or null if no attribute was found.
For internal use only. Application developers should not use this
*** For internal framework use only ***

getDataProvider

public java.lang.Object getDataProvider()
For internal use only. Application developers should not use this
*** For internal framework use only ***

getDataProvider

public java.lang.Object getDataProvider(RowSetIterator rsi)
For internal use only. Application developers should not use this
*** For internal framework use only ***

doCreateData

protected java.lang.Object doCreateData(DCDataRow row)
For internal use only. Application developers should not use this
*** For internal framework use only ***

doRemoveData

protected boolean doRemoveData(DCDataRow row)
For internal use only. Application developers should not use this
*** For internal framework use only ***

validateRangeSizeForRangePaging

protected void validateRangeSizeForRangePaging(ViewRowSetImpl vrs,
                                               int rangeSize)
Advanced Internal method only.

Overrides:
validateRangeSizeForRangePaging in class ViewObjectImpl

createViewAccessorRS

protected ViewRowSetImpl createViewAccessorRS(ViewAccessorDef accessorDef,
                                              Row masterRow,
                                              java.lang.Object[] values,
                                              boolean addRSToMasterRow)
Overrides:
createViewAccessorRS in class ViewObjectImpl

getFKAttrs

protected AttributeDef[] getFKAttrs()
For internal use only. Application developers should not use this
*** For internal framework use only ***

getDefinitionManager

protected DefinitionManager getDefinitionManager()
Overrides:
getDefinitionManager in class ComponentObjectImpl
For internal use only. Application developers should not use this
*** For internal framework use only ***

getDataControl

protected DCDataControl getDataControl()
For internal use only. Application developers should not use this
*** For internal framework use only ***

setMethodInfo

public void setMethodInfo(java.lang.Object iter,
                          java.lang.String name)
For internal use only. Application developers should not use this
*** For internal framework use only ***

getCappedQueryHitCount

public long getCappedQueryHitCount(ViewRowSetImpl viewRowSet,
                                   Row[] masterRows,
                                   long oldCap,
                                   long cap)
This method executes a count query and returns the number of rows that could end up in the rowset. The count query could be very expensive in some scenarios if we were to execute without an upper limit. The method provides a cap argument so that subclasses may execute a query that aborts the count as soon as the cap is met.

Overrides:
getCappedQueryHitCount in class ViewObjectImpl
Parameters:
viewRowSet - the rowset that will contain the rows when fetched.
masterRows - the master rows are needed to get the parameters in a master detail scenario to bind to the row count query.
oldCap - current not used.
cap - the limit on the count expected
Returns:
+ve number if the row count is less than the limit or limit itself.

getQueryHitCount

public long getQueryHitCount(ViewRowSetImpl viewRowSet,
                             Row[] masterRows)
Overrides:
getQueryHitCount in class ViewObjectImpl
For internal use only. Application developers should not use this
*** For internal framework use only ***

setName

public void setName(java.lang.String name)
Description copied from class: ComponentObjectImpl
Name this object.

Overrides:
setName in class ComponentObjectImpl
Parameters:
name - the name to be given to this object.
For internal use only. Application developers should not use this
*** For internal framework use only ***

initFromMasterAccessor

public void initFromMasterAccessor(DCDataControl dc,
                                   RowSetIterator masterRSI,
                                   Row masterRow,
                                   java.lang.String accName,
                                   boolean pin)
For internal use only. Application developers should not use this
*** For internal framework use only ***

clearCache

public void clearCache()
Description copied from class: ViewObjectImpl
Clears the View Object cache. This method can be called for resource conservation. Calling this method also forces an automatic reexecution of the query for all RowSets, which refreshes the cache from the database.

Specified by:
clearCache in interface ViewObject
Overrides:
clearCache in class ViewObjectImpl

substituteAttribute

protected void substituteAttribute(ViewAttributeDefImpl existingDef,
                                   ViewAttributeDefImpl replacement)
Description copied from class: ViewObjectImpl
Strictly Internal: Applications should not use this method.

Substitues a existing view attribute definition with a different one. The replacement must have same name and index.

Overrides:
substituteAttribute in class ViewObjectImpl

lookupListBindingDef

public ListBindingDef lookupListBindingDef(java.lang.String lbName)
Description copied from interface: ViewObject
Return listbinding definition if defined in this ViewObject (or in the entity definitions for entities that this ViewObject constitutes of).

Specified by:
lookupListBindingDef in interface ViewObject
Overrides:
lookupListBindingDef in class ViewObjectImpl

getForwardDependencyAttributes

public java.util.List getForwardDependencyAttributes(java.lang.String attrName)
Specified by:
getForwardDependencyAttributes in interface AttributeDependencyManager
Specified by:
getForwardDependencyAttributes in interface ViewObject
Overrides:
getForwardDependencyAttributes in class ViewObjectImpl

isCriteriaType

public static boolean isCriteriaType(ViewObject vo)

isCriteriaItemType

public static boolean isCriteriaItemType(ViewObject vo)

isCriteriaRelatedType

public static boolean isCriteriaRelatedType(ViewObject vo)
For internal use only. Application developers should not use this

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

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