public class DCDataVO extends ProgrammaticViewObjectImpl
ProgrammaticViewObjectImpl.BaseAccessorCollectionAdapter, ProgrammaticViewObjectImpl.CollectionAdapter, ProgrammaticViewObjectImpl.CollectionAdapterMapEntry, ProgrammaticViewObjectImpl.ProgrammaticVOAdapter| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
DCDOTPREFIX |
protected static java.lang.String |
FKPREFIX |
protected static long |
mStaticInstanceCount |
static java.lang.String |
PROP_VC |
static java.lang.String |
PROP_VO_KIND |
protected static java.lang.String |
ROWNUMATTR |
protected static java.lang.String |
STR_DEF_ELEMENTS_SCALAR |
static java.lang.String |
STR_DEF_NAME |
static int |
VD_KIND_BEAN |
static int |
VD_KIND_DOMAIN |
static java.lang.String |
VIEWDEF_SUFFIX |
myIteratorATTR_VALUES_STORAGE_MAP, DATA_ROWKEYTAG, DISC_TAG, 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, FINDER_FOR_FINDBYKEY, FINDER_FOR_FINDBYVIEWCRITERIA, FINDER_FOR_GETALLROWSITERATOR, FULLSQL_MODE_AUGMENTATION, FULLSQL_MODE_NO_AUGMENTATION, INTERNAL_ALL_ROWS_FINDER_NAME, INTERNAL_EXPR_VALUE_OVERRIDES, INTERNAL_FINDER_RANGE_PAGING_MODE, mAssocClause, mAssocFromClause, mAssocRefs, mAttrDefs, mAttrDefsTab, mAutoPostChanges, mChangedAttrIndices, mChgAttrIndUseCount, mDefaultMaxActiveNodes, mDefaultMaxRowsPerNode, mDefaultRowSetMap, mDynAttrOffset, MIN_ACTIVE_NODES, MIN_ROWS_PER_NODE, mKeyAttrRefs, mOptimizerHint, mOrderBy, mSignatureCounter, mUsePersColl, mUserDefinedQuery, mViewDef, mViewRowSet, mWhere, NEW_ROW_HANDLE, NEW_ROW_INDEX, NEW_ROW_TRACKER, PROPERTY_BUG_COMPATIBLE_LEAVE_ASSOC_CONS_FOR_EXECUTE_EMPTY_ROWSET, PROPERTY_BUG_COMPATIBLE_SKIP_NO_VAR_WHERE_CLAUSE, PROPERTY_BUG_COMPATIBLE_THROW_ON_DUPE_SYSEFFECTIVEDATEBINDVAR, PROPERTY_BUG_COMPATIBLE_USE_ALL_ROWS_ITERATOR_FOR_WRITEXML, PROPERTY_CREATE_CRITERIA_MODE_BOTH, PROPERTY_CREATE_SET_OUTER_JOIN_EO_TO_INITIALIZED, PROPERTY_DEFERRED_ESTIMATED_ROWCOUNT, PROPERTY_FINDER_MODE, PROPERTY_FINDER_ORIGINAL_VO, PROPERTY_FINDER_SKIP_WHERE, QC_TAG, TRANSIENT_DATA_ROWTAG, VIEW_OBJECT_KIND_ASSOC_ACCESSOR, VIEW_OBJECT_KIND_ECACHE_OVER_RS_BASE, VIEW_OBJECT_KIND_FINDER, VIEW_OBJECT_KIND_JIEXPR_SQL, VIEW_OBJECT_KIND_USER, VIEW_OBJECT_KIND_VALIDATOR, VIEW_OBJECT_KIND_VIEW_ACCESSOR_FOR_EO, VIEW_OBJECT_KIND_VIEW_ACCESSOR_FOR_VROW, VIEW_OBJECT_KIND_VIEW_LINK_ACCESSOR, VIEW_OBJECT_KIND_VL_ACCESSOR_FOR_EOmFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_SUFFIXIMAGE_LOC, PROP_ALWAYS_USE_SORT, 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_TRANSIENTCOPY_OPT_ALL_ROWS, COPY_OPT_LIMIT_RANGE, FORWARD_ONLY, RANGE_PAGING, RANGE_PAGING_AUTO_POST, RANGE_PAGING_INCR, SCROLLABLEITER_MODE_LAST_PAGE_FULL, ITER_MODE_LAST_PAGE_PARTIAL, SLOT_BEFORE_FIRST, SLOT_BEYOND_LAST, SLOT_DELETED, SLOT_VALIDXML_IGNORE_DEPTH_COUNT, XML_OPT_ALL_ROWS, XML_OPT_ASSOC_CONSISTENT, XML_OPT_CHANGES_ONLY, XML_OPT_LIMIT_RANGE, XML_PASSIVATION_USEDEFINITION_STATE_ACTIVE, DEFINITION_STATE_DEPRECATED, PROPERTY_DEFINITION_STATE, PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIPDFLT_VIEW_CRITERIA_NAME, IMPLICIT_VIEW_CRITERIA_NAME, QUICKSEARCH_VIEW_CRITERIA_NAME| Constructor and Description |
|---|
DCDataVO() |
| Modifier and Type | Method and Description |
|---|---|
protected ViewRowImpl |
activateNewRow(ViewDefImpl def,
int[] eoIndices,
EntityImpl[] eos,
ViewRowSetImpl vrs,
Key keyObj) |
protected void |
activateState(org.w3c.dom.Element parent)
Allows subclasses to retrieve custom data from an XML-node under the
given parent element.
|
void |
applyViewCriteria(ViewCriteria vc)
Applies the view criteria to this view object.
|
protected void |
checkAddAttrDef(ViewAttributeDefImpl attr) |
void |
clearCache()
Clears the View Object cache.
|
protected static void |
cloneProperties(NamedObjectImpl source,
NamedObjectImpl target) |
void |
closeRowSet()
Closes the row set.
|
protected void |
createAndInitViewLinkAccessorAdapter(ViewObjectImpl vo,
AssociationDefImpl assocDef) |
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 java.lang.Object |
doCreateData(DCDataRow row) |
protected boolean |
doRemoveData(DCDataRow row) |
Row[] |
findByKey(Key key,
int maxNumOfRows)
Finds and returns View rows that match the specified key.
|
protected PersDefBase |
findPersDefObject()
Override to pass in static Def.
|
protected java.lang.String |
getAccessorName() |
protected StructureDefImpl |
getAccessorStructureDefImpl(java.lang.String acc) |
protected java.util.Enumeration |
getAllCachedQueryCollections() |
protected ApplicationModule |
getApplicationModuleForLocalViewObject() |
java.lang.String |
getBeanClassName() |
protected QueryCollection |
getCachedQueryCollection(RowFilter rowFilter)
Internal: Applications should not use this method.
|
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.lang.String |
getFullNameForPersDef() |
long |
getQueryHitCount(ViewRowSetImpl viewRowSet,
Row[] masterRows) |
protected static StructureDef |
getStructureDef(java.lang.String strDefFullName,
DCBeanDataControl dc) |
java.util.ArrayList |
getViewAccessorDefsInternal()
For internal use only.
|
void |
initFromMasterAccessor(DCDataControl dc,
RowSetIterator masterRSI,
Row masterRow,
java.lang.String accName,
boolean pin) |
protected void |
initSource(java.lang.Object obj,
DCDataControl dc) |
protected void |
initSource(java.lang.Object obj,
DCDataControl dc,
boolean forceCreate) |
protected boolean |
isCriteriaVO() |
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).
|
AttributeDef |
lookupVCItem(ViewCriteria vc,
java.lang.String name) |
protected void |
notifyRowUpdated(ViewRowSetImpl vrs,
Row[] viewRows,
int[] attrIndices) |
protected void |
passivateState(org.w3c.dom.Document doc,
org.w3c.dom.Element parent)
Allows subclasses to store custom data as XML-nodes under the given
parent element, in the given document.
|
protected void |
personalizeAttributeDef(PDefAttribute pAttr) |
protected void |
personalizeViewAttributeDef(PDefAttribute pAttr,
ViewAttributeDefImpl vAttr)
Deprecated.
since 11.1.1.4.0
|
protected void |
prepareForActivation(org.w3c.dom.Element parent)
Override this method to activate custom data in the ViewObject from
this VO's xml node.
|
protected void |
prepareForCreate() |
protected void |
prepareForPassivation(org.w3c.dom.Document doc,
org.w3c.dom.Element parent)
Override this method to passivate custom data in the ViewObject, before
any ViewObject settings are passivated.
|
protected void |
remapAttrIndex(ViewAttributeDefImpl attr,
int newIdx) |
protected void |
removeQueryCollectionFromCache(QueryCollection qc,
RowFilter rowFilter) |
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.
|
create, createViewLinkAccessorVO, dumpRows, executeQueryForCollection, getColumnNameForAttribute, getRangePagingData, getScrollableData, getUserDataIteratorForCollection, hasNextForCollection, retrieveDataByKey, unpinDetailRowSetQCs_internal_dbg_debug_data, activateCurrentRow, activateDynamicAttributeDefs, activateIteratorState, activateNewRow, activateNewRowTracker, activateNewRowTracker, activateState, activateState, activateTransientAttribute, activateTransients, activateTransients, addCriteriaInPDef, addDynamicAttribute, addDynamicAttributeWithType, addDynamicAttributeWithTypeInternal, addForwardDependency, addListener, addManagementListener, addOrderByClause, addQueryMode, addRowSet, addViewAccessorDef, addViewCriteriaToWhereClause, addViewLink, addWhereClause, adjustERCWithChangedRows, afterCommit, afterEntityRemove, afterRemove, afterRollback, appendViewCriteria, appendViewCriteria, appendXMLElementNodes, appendXMLElementNodes, applyBindVariableForCriteria, applyPersonalization, applyViewCriteria, beforeCommit, beforeEntityRemove, beforeRollback, bindFinderRS, bindParametersForCollection, bindRangePagingParams, buildEffectiveDateFromClauseFragment, buildEffectiveDateWhereClauseFragment, buildFromClause, buildKey, buildNewCollection, buildOrderByClause, buildQualifyingRowFilters, buildQuery, buildQuery, buildRangePagingQuery, buildRowFilter, buildSelectClause, buildSubquery, buildSubqueryFromClauses, buildViewCriteria, buildViewCriteriaClauses, buildWhereClause, cancelQuery, checkPassivateViewAttributes, clearRowSetDataByRowFilterKeyInternal, clearViewCriterias, closeFreedStatements, closeRowSetIterator, createAndInitRow, createAndInitRowForCollection, createDetailRowSet, createInstanceFromResultSet, createInstanceWithEntities, createKey, createRow, createRowSet, createRowSetIterator, createVariableValueManager, createVariableValueManagerForRS, createViewCriteria, createViewCriteriaManagerImpl, createViewCriteriaRowAttributeHints, createViewLinkAccessor, createViewLinkAccessorRS, createViewLinkScanBaseRS, createViewRowSet, createXMLDefinition, criteriaChanged, criteriaSelReqBindVarsChanged, deepCopy, defineNamedWhereClauseParam, deleteCriteriaInPDef, disconnectCollection, doesRowFilterMatch, dumpQCs, editCodeSource, ensureCategoryManager, ensureCodeSource, enumerateRowsInRange, executeDetailQuery, executeEmptyRowSet, executeQuery, executeQueryForActivation, findAltKeyDef, findAndSetCurrentRowByKey, findAssociatedEntity, findAttributeDef, findByAltKey, findByAltKey, findByEntity, findByKey, findByViewCriteria, findByViewCriteriaForViewRowSet, findByViewCriteriaWithBindVars, findByViewCriteriaWithBindVars, findDateEffectiveRowByKey, findEffectiveDateRangeStartRow, findInCacheByAltKey, findInCacheByKey, findListBindingDef, findOrCreateLocalViewObject, findOrCreateLocalViewObject, findOrCreatePDefViewObject, findPrimaryKeyColumns, findRowFinder, findRowInQCs, findRowSet, findRowSetIterator, findRowsMatchingCriteria, findViewAccessorDef, findViewDefFromDiscrVals, findViewDefFromDiscrVals, findViewLinkAccessor, findViewLinkAccessorVO, first, forceExecuteQueryOfSharedVO, getAccessMode, getAccessorStructureDefName, getAllRowFinders, getAllRowsInRange, getAllRowsIterator, getAllViewCriteriaNames, getAllViewCriterias, getAltKeyAttrDefs, getApplicationModule, getAppliedSortCriteria, getApplyAllViewCriterias, getApplyJoinedViewCriteriaNames, getApplyViewCriteriaNames, getApplyViewCriterias, getAssociationClause, getAttrDefsForEntityAttr, getAttributeCount, getAttributeDef, getAttributeDefs, getAttributeIndexOf, getAttributePrivateProperties, getAttrIndicesForEntityAttr, getAvailableViewCriteriaNames, getBackwardDependencies, getBackwardDependencyAttributes, getBindingStyle, getBindValsForSqlGen, getByKeyFinderRS, getCalculatedAttributeCount, getCallableStatement, getCappedRowCount, getCategoryManager, getCliIteratorState, getCollectionStorageAttributeCount, getCollectionStorageAttributeDefs, getColumnNameForQuery, getCriteriaAdapter, getCriteriaItemAttributeHints, getCriteriaItemClause, getCtrlHints, 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, getExecutedSelectedAttributeNames, getExecutedSelectedEntityReferenceNames, getFetchedRowCount, getFetchMode, getFetchSize, getFilteredRows, getFilteredRows, getFilteredRowsInRange, getFilteredRowsInRange, getForeignKeyValues, getForwardDependencies, getForwardDependencyAttributes, getFromClause, getFromClauseFlags, getFullLoggingName, getFullSqlMode, getGlobalOperations, getImageLoc, getImplObject, getInsertParticipants, getIterMode, getKeyAttributeDefs, getListBindingDefsInternal, getLockParticipants, getMasterKeyValues, getMasterRowSetIterators, getMaxFetchSize, getNamedWhereClauseParam, getNamedWhereClauseParams, getNextRangeSet, getOperationDefinitions, getOrderByClause, getOrderedCategories, getParametersAsStorageTypes, getPreparedStatement, getPreviousRangeSet, getPrimaryKeys, getProxyClassName, getProxyInterfaceName, getQualifyingRowFilters, getQuery, getQueryCollection, getQueryCollectionWeight, getQueryHint, getQueryHitCount, getQueryMode, getQueryOptimizerHint, getQueryTimeOut, getRangeIndexOf, getRangePageStartForCollection, getRangePagingCacheFactor, getRangeSize, getRangeStart, getReqdVC, getRequiredViewCriteria, getRow, getRowAtRangeIndex, getRowClass, getRowComparator, getRowCount, getRowCountInRange, getRowFilters, getRowFilterValues, getRowFinders, getRowFromHandle, getRowLimit, getRowMatch, getRowMatchBindValue, getRowMatchFromViewCriteria, getRowOperationDefinitions, getRowOperations, getRowProxyClassName, getRowQualifier, getRowSet, getRowSetForSqlGen, getRowSetImpl, getRowSetIterator, getRowSetIterators, getRowSets, getRowSetsInternal, getScanRowFilterAttributeDefs, getSelectClause, getSelectClauseFlags, getSelectedAttributeNames, getSelectedEntityReferenceNames, getSignature, getSortBy, getSortCriteria, getSubclassDef, getSubclassDefFromStructureDef, getSubqueryLevel, getSubstitutedDefNames, getSyncLock, getTransPostHandle, getUserDataForCollection, getUserDefinedQuery, getViewAccessorDefs, getViewAttributeDefImpls, getViewCriteria, getViewCriteria, getViewCriteriaClause, getViewCriteriaClause, getViewCriteriaManager, getViewCriteriaManagerInternal, getViewCriteriaRowAttributeHints, getViewDef, getViewLinkAccessorInfo, getViewLinkAccessorInfo2, getViewLinkDestinationAttributes, getViewLinkNames, getViewLinks, getViewObject, getViewObjectKind, getWhereClause, getWhereClauseFlags, getWhereClauseParams, getXMLElementTag, getXMLRowElementTag, handleActivatedRowNotFound, hasDefaultRowSet, hasNext, hasPrevious, hideAttributeDef, initFromDef, initSharedQCPoolProperties, insertRow, insertRowAtRangeIndex, isAssociationConsistent, isAttributeKey, isAttributeUpdateable, isAutoPostChanges, isAutoRefreshEnabled, isCollectionPresent, isDefaultAssocConsistent, isDefaultRowSet, isDynamicAttribute, isDynamicAttribute, isEffectiveDated, isEntityReferenceSelected, isExecuted, isExecutedEmpty, isFetchComplete, isForeignKey, isForScan, isForwardOnly, isInternal, isKeyNameForPK, isManageRowsByKey, isMasterKeyValues, isMaxFetchSizeExceeded, isNameGenerated, isPassivatableTransientAttribute, isPassivationEnabled, isPolymorphicDefinition, isPostedToDB, isQueryChanged, isRangeAtBottom, isRangeAtTop, isRowFinderAttribute, isRowValidation, isRuntimeSelectFromGeneration, isRuntimeSQLGeneration, isSelectAllAttributes, isShared, isTransientTransactionListener, isTransientTransactionPostListener, isViewLinkAccessorRetained, last, lookupAltKeyDef, lookupExprDef, lookupRawAttributeDef, lookupRowFinder, lookupViewAccessorDef, markQueryCollectionDirty, marshalListBindingDefs, navigated, needsRefresh, next, notifyRowDeleted, notifyRowInserted, notifyRowUpdated, notifyRowUpdated, notifyRowUpdated, onChangeNotification, onDatabaseChangeNotification, passivateDynamicAttributeDef, passivateDynamicAttributes, passivateNewRowTracker, passivateState, passivateState, passivateTransients, passivateTransients, personalizeTransientExprAndDefValForBeans, populateAttributeForRow, postChanges, preFetchRowsByKeys, preFetchRowsByKeys, prepareForBatchMode, prepareRowSetForQuery, prepareRowSetForQuery, prepareVOForQuery, previous, printXMLDefinition, processChangeNotification, processCriteriaItemOperators, processDatabaseChangeNotification, processNewSelectSet, processSortCriteria, putViewCriteria, qualifiesRowFilter, rangeRefreshed, rangeScrolled, readFromXml, readRowXML, readRowXML, readXML, readXML, reconnectCollection, refreshCollection, refreshWhereClauseParams, registerChangeListener, 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, setClauseGenForRowMatch, 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, setOrderByOrSortBy, 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, setSortCriteria, setSubqueryLevel, setThrowOnListBindingMismatch, setTransPostHandle, setUserDataForCollection, setViewCriteriaAdapter, setViewLinkAccessorRetained, setWhereClause, setWhereClauseFlags, setWhereClauseParam, setWhereClauseParams, shouldPutJoinConstraintInWhereClause, showCursorUsage, skipFilterListOnKeyAttributesForRow, skipNamedWhereClauseParam, sortRows, sourceChanged, throwOnListBindingMismatch, unpinDetailQC, unselectAttributeDefs, updateCriteriaInPDef, updateRowSetFromXML, validate, writeXML, writeXML, writeXML, writeXMLaddListener, applyPersonalization, createRef, ensureVariableManager, getAdfmConfigStartupProperty, getAllProperties, getBooleanAdfmConfigProperty, getCompListeners, getCompListenersList, getDefinitionState, getHintValue, getLabel, getLabelPlural, getMessageBundleClass, getProxyClassName, getResourceBundleDef, getRootApplicationModule, getStringFromMessageBundle, getTooltip, getVariableManager, hasVariables, isDead, isPersonalized, isRegWithPiggyMan, resolvePropertyRaw, setParentisPropertyExpression, setParent, setPropertiesMapallocatePropertyMap, getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionDef, getPropertyExpressionsMap, getPropertyMap, getPropertyNamesSet, getRawPropertyValue, getResourcesFromBundle, mergePropertyMap, refreshProperty, removeProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setFullName, setPropertiesMap2, setProperty, setProperty, setPropertyExpression, setPropertyMapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFullName, getNameensureVariableManager, getMessageBundleClass, getResourceBundleDef, getVariableManager, hasVariablesgetFullName, getNamegetDefinitionState, getHintValue, getLabel, getLabelPlural, getTooltipgetProperties, getProperty, getProperty, refreshPropertygetName, getProperty, getResourceBundleDefgetFullName@Concealed protected static final java.lang.String FKPREFIX
@Concealed protected static final java.lang.String ROWNUMATTR
public static final java.lang.String STR_DEF_NAME
@Concealed protected static final java.lang.String STR_DEF_ELEMENTS_SCALAR
public static final java.lang.String PROP_VO_KIND
public static final java.lang.String PROP_VC
public static final int VD_KIND_BEAN
public static final int VD_KIND_DOMAIN
@Concealed protected static final java.lang.String DCDOTPREFIX
public static final java.lang.String VIEWDEF_SUFFIX
@Concealed protected static long mStaticInstanceCount
@Concealed public DCDataVO()
protected void initSource(java.lang.Object obj,
DCDataControl dc)
protected void initSource(java.lang.Object obj,
DCDataControl dc,
boolean forceCreate)
@Concealed protected void prepareForCreate()
prepareForCreate in class ProgrammaticViewObjectImplprotected void checkAddAttrDef(ViewAttributeDefImpl attr)
checkAddAttrDef in class ViewObjectImplprotected void remapAttrIndex(ViewAttributeDefImpl attr, int newIdx)
remapAttrIndex in class ViewObjectImplprotected void personalizeAttributeDef(PDefAttribute pAttr)
personalizeAttributeDef in class ViewObjectImpl@Concealed protected void personalizeViewAttributeDef(PDefAttribute pAttr, ViewAttributeDefImpl vAttr)
personalizeViewAttributeDef in class ViewObjectImplprotected PersDefBase findPersDefObject()
findPersDefObject in class ComponentObjectImpl@Concealed public java.lang.String getFullNameForPersDef()
getFullNameForPersDef in interface ComponentObjectgetFullNameForPersDef in class ComponentObjectImpl@Concealed public java.lang.String getBeanClassName()
@Concealed protected java.lang.String getAccessorName()
protected ViewObjectImpl createFinderVO(java.lang.String suffix)
createFinderVO in class ViewObjectImplprotected ApplicationModule getApplicationModuleForLocalViewObject()
getApplicationModuleForLocalViewObject in class ViewObjectImpl@Concealed protected void createAndInitViewLinkAccessorAdapter(ViewObjectImpl vo, AssociationDefImpl assocDef)
createAndInitViewLinkAccessorAdapter in class ProgrammaticViewObjectImplpublic void closeRowSet()
RowSetcloseRowSet removes
this row set from the master row set iterator.closeRowSet in interface RowSetcloseRowSet in class ViewObjectImplprotected void notifyRowUpdated(ViewRowSetImpl vrs, Row[] viewRows, int[] attrIndices)
notifyRowUpdated in class ViewObjectImpl@Concealed public void applyViewCriteria(ViewCriteria vc)
ViewObjectapplyViewCriteria in interface ViewCriteriaManagerapplyViewCriteria in interface ViewObjectapplyViewCriteria in class ViewObjectImplvc - view criteria to be applied@Concealed public boolean isReadOnly()
ViewObjectImplA 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.
isReadOnly in interface ViewObjectisReadOnly in class ViewObjectImpltrue if this View Object is
read-only; false if it is updateable.protected ViewRowImpl createRowFromResultSet(java.lang.Object qc, java.sql.ResultSet resultSet)
createRowFromResultSet in class ProgrammaticViewObjectImpl@Concealed protected ViewRowImpl createNewRowForCollection(java.lang.Object qcObj)
createNewRowForCollection in class ViewObjectImpl@Concealed public ViewRowImpl createInstance(ViewRowSetImpl viewRowSet, AttributeList attrValList)
ViewObjectImpl
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.
createInstance in class ViewObjectImplviewRowSet - 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.ViewObjectImpl.createRow()protected ViewRowImpl activateNewRow(ViewDefImpl def, int[] eoIndices, EntityImpl[] eos, ViewRowSetImpl vrs, Key keyObj)
@Concealed protected Row[] retrieveByKey(ViewRowSetImpl rs, Key key, int maxNumOfRows, boolean skipWhere)
retrieveByKey in class ProgrammaticViewObjectImplpublic Row[] findByKey(Key key, int maxNumOfRows)
ViewObjectImpl
See for details.RowIterator.findByKey(oracle.jbo.Key, int)
findByKey in interface RowIteratorfindByKey in class ViewObjectImplkey - the key to match.maxNumOfRows - the maximum size of the array to return,
or -1 to return all rows.RowIterator.getRow(oracle.jbo.Key)@Concealed public AttributeDef lookupAttributeDef(java.lang.String name)
ViewObjectImplThe 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.lookupAttributeDef in interface StructureDeflookupAttributeDef in class ViewObjectImplname - the name of the attribute.name or null if no
attribute was found.public AttributeDef lookupVCItem(ViewCriteria vc, java.lang.String name)
@Concealed public java.lang.Object getDataProvider()
@Concealed public java.lang.Object getDataProvider(RowSetIterator rsi)
@Concealed protected java.lang.Object doCreateData(DCDataRow row)
@Concealed protected boolean doRemoveData(DCDataRow row)
protected StructureDefImpl getAccessorStructureDefImpl(java.lang.String acc)
protected void validateRangeSizeForRangePaging(ViewRowSetImpl vrs, int rangeSize)
validateRangeSizeForRangePaging in class ViewObjectImplprotected ViewRowSetImpl createViewAccessorRS(ViewAccessorDef accessorDef, Row masterRow, java.lang.Object[] values, boolean addRSToMasterRow)
createViewAccessorRS in class ViewObjectImpl@Concealed protected AttributeDef[] getFKAttrs()
@Concealed protected DefinitionManager getDefinitionManager()
getDefinitionManager in class ComponentObjectImpl@Concealed protected DCDataControl getDataControl()
@Concealed
public void setMethodInfo(java.lang.Object iter,
java.lang.String name)
public long getCappedQueryHitCount(ViewRowSetImpl viewRowSet, Row[] masterRows, long oldCap, long cap)
cap argument
so that subclasses may execute a query that aborts the count as soon
as the cap is met.getCappedQueryHitCount in class ProgrammaticViewObjectImplviewRowSet - 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 expectedprotected void prepareForPassivation(org.w3c.dom.Document doc,
org.w3c.dom.Element parent)
ViewObjectImplprepareForPassivation in class ViewObjectImpldoc - Document in which to create xml nodes.parent - Element node under which this VO's data is being passivated.protected void passivateState(org.w3c.dom.Document doc,
org.w3c.dom.Element parent)
ViewObjectImplViewObjectImpl.passivateState(ViewRowImpl, Document, Element) is
that this method may be used to store custom data that does not depend
upon the VO Iterator or RowSet state which may include:
By default the ViewObject does not store anything in this method. On
activation, the ViewObject calls ViewObjectImpl.activateState(Element) with
the parent element for the reverse operation.
passivateState in class ViewObjectImpldoc - the XML document where the custom data will be stored.parent - the parent element under which the custom data will be
stored.protected void prepareForActivation(org.w3c.dom.Element parent)
ViewObjectImplprepareForActivation in class ViewObjectImplparent - Element node under which this VO's data is being passivated.protected void activateState(org.w3c.dom.Element parent)
ViewObjectImplViewObjectImpl.activateState(ViewRowImpl, Element)
in that the ViewObject RowSet and Iterator state are not restored when
this method is invoked. Applications that define persistent, custom
data which is dependent upon RowSet and/or Iterator state should
extend ViewObjectImpl.passivateState(ViewRowImpl, Document, Element) and
ViewObjectImpl.activateState(ViewRowImpl, Element) instead.activateState in class ViewObjectImplparent - element which could be null if nothing was passivated in it in passivateState@Concealed public long getQueryHitCount(ViewRowSetImpl viewRowSet, Row[] masterRows)
getQueryHitCount in class ProgrammaticViewObjectImpl@Concealed public void setName(java.lang.String name)
ComponentObjectImplsetName in class ComponentObjectImplname - the name to be given to this object.@Concealed protected static void cloneProperties(NamedObjectImpl source, NamedObjectImpl target)
@Concealed public void initFromMasterAccessor(DCDataControl dc, RowSetIterator masterRSI, Row masterRow, java.lang.String accName, boolean pin)
public void clearCache()
ViewObjectImplclearCache in interface ViewObjectclearCache in class ViewObjectImplprotected void substituteAttribute(ViewAttributeDefImpl existingDef, ViewAttributeDefImpl replacement)
ViewObjectImplSubstitues a existing view attribute definition with a different one. The replacement must have same name and index.
substituteAttribute in class ViewObjectImplpublic ListBindingDef lookupListBindingDef(java.lang.String lbName)
ViewObjectlookupListBindingDef in interface ViewObjectlookupListBindingDef in class ViewObjectImpl@Concealed protected boolean isCriteriaVO()
@Concealed protected static StructureDef getStructureDef(java.lang.String strDefFullName, DCBeanDataControl dc)
public java.util.ArrayList getViewAccessorDefsInternal()
ViewObjectImplgetViewAccessorDefsInternal in class ViewObjectImplprotected java.util.Enumeration getAllCachedQueryCollections()
getAllCachedQueryCollections in class ViewObjectImpl@Concealed protected final QueryCollection getCachedQueryCollection(RowFilter rowFilter)
ViewObjectImpl
Returns the QueryCollection associated with the
key
getCachedQueryCollection in class ViewObjectImplrowFilter - the row filter for the query collection.null
otherwise.@Concealed protected final void removeQueryCollectionFromCache(QueryCollection qc, RowFilter rowFilter)
removeQueryCollectionFromCache in class ViewObjectImpl