|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.common.NamedObjectImpl oracle.jbo.server.NamedObjectImpl oracle.jbo.server.ComponentObjectImpl oracle.jbo.server.ViewObjectImpl oracle.apps.fnd.applcore.oaext.model.OAViewObjectImpl
public class OAViewObjectImpl
Accesses the result set of a SQL statement. A view object is a business component that encapsulates SQL code and metadata that maps columns in the select statement to the attributes of one or more entity objects. A view object use SQL to join, filter or sort business data or to shape it for presentation. View objects provide row sets that can be viewed or used to update the underlying entity objects.
Introduction
You can define multiple view objects per entity object or a view object can
select data from multiple entity objects. Data is cached in an entity
object. All view object references made within the same transaction share
the same cache i.e. changes made through one view object are immediately
available to other view objects within the same transaction.
View objects can be used to:
Create and Search view object
OAViewObject can be created either from a view object's definition
or based on a SQL statement. Which ever way you create it, you need an
application module to contain it.
For Example
In this example we create a view object based on its definition, stored
in the file abc.xy.ViewDef.
The distinction between view usage and view definition is:
// name given to the view instance
String viewUsageName = "SampleName";
// create view object based on definition
OAViewObject sampleViewObject = (OAViewObject) am.createViewObject
(viewUsageName, "abc.xy.ViewDef");
For Example
In this example we search for an existing view object. The view object
could be present in the root application module or in any of nested
application modules.
// Name can not have spaces.
// Letters, digits, connecting punctuation such as '_' are however valid.
String viewUsageName = "SampleName";
// search for view object in application module
OAViewObject viewInstance = (OAViewObject)
am.findViewObject(viewUsageName);
Update or remove the view object
A view object is made of multiple RowSets. RowSet
is like a result set which holds the result of a query. Each RowSet
is made of RowSetIterators which help to scroll through a set of
rows.
A view object holds the query clause which shapes the data. A view object
creates a default RowSet to hold the query result. You can create
multiple secondary RowSets which can hold results based on a
condition or bind parameter.
For Example
In this example we create a secondary RowSet and populate it:
If you no longer need a view object you can remove it from the application
module. This will close all the RowSets in the view object.
// Say the SQL of VO is "SELECT EMPNO, ENAME, JOB FROM EMP
// WHERE DEPTNO = :1"
String viewUsageName = "EmpVO";
OAViewObject sampleViewInstance =
(OAViewObject)am.findViewObject(viewUsageName);
// bind the where clause with department number = 10
sampleViewInstance.setWhereClauseParam(0, "10");
// This will populate the default RowSet
sampleViewInstance.executeQuery();
// count the number of employees in this department
int rowCount = sampleViewInstance.getRowCount();
// create secondary RowSet
String rowSetName = "SampleRowSet";
// Always find RowSet before creating a new one.
RowSet secondaryRowSet = sampleViewInstance.findRowSet(rowSetName);
if (secondaryRowSet == null)
{
secondaryRowSet = sampleViewInstance.createRowSet(rowSetName);
}
// bind the where clause with department number = 20
secondaryRowSet.setWhereClauseParam(0, "20");
// This will populate secondary RowSet
secondaryRowSet.executeQuery();
// count the number of employees in department number = 20
int rowCountAgain = secondaryRowSet.getRowCount();
For Example
In this example we remove an existing view object:
// name given to the view instance
String viewUsageName = "SampleName";
// Search for an existing view object
OAViewObject sampleViewInstance =
(OAViewObject)am.findViewObject(viewUsageName);
if (sampleViewInstance == null)
{
System.out.println("Sample view object not found");
}
else
{
// remove the view object
sampleViewInstance.remove();
}
Field Summary | |
---|---|
static java.lang.String |
MOAC_PRIV_PROPERTY_NAME
|
static java.lang.String |
MOAC_PROPERTY_NAME
|
static java.lang.String |
RCS_ID
Oracle Applications internal source control identifier. |
static java.lang.String |
VAR_APPLCORE_SETID
Constant for SETID. |
Fields inherited from class oracle.jbo.server.ViewObjectImpl |
---|
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, 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 | |
---|---|
OAViewObjectImpl()
|
Method Summary | |
---|---|
protected boolean |
buildWhereClause(java.lang.StringBuffer sqlBuffer,
int noUserParams)
|
protected void |
create()
Applications: Do not override this method. |
protected oracle.jbo.server.ViewRowImpl |
createRowFromResultSet(java.lang.Object qc,
java.sql.ResultSet resultSet)
|
protected oracle.jbo.server.ViewRowSetImpl |
createViewAccessorRS(oracle.jbo.server.ViewAccessorDef accessorDef,
oracle.jbo.Row masterRow,
java.lang.Object[] valuse,
boolean addRSToMasterRow)
|
void |
doInitMOAC(Privilege priv)
MOAC Initialization |
protected void |
executeQueryForCollection(java.lang.Object qc,
java.lang.Object[] params,
int noUserParams)
|
oracle.jbo.ViewCriteria[] |
getApplyAllViewCriterias(int criteriaMode,
boolean getAllReqdVC)
|
oracle.jbo.AttributeDef[] |
getAttributeDefsForRowDuplication()
Gets the list of attributes for view row duplication. |
java.lang.String |
getCriteriaItemClause(oracle.jbo.ViewCriteriaItem vci)
|
java.lang.String |
getCriteriaItemClauseWhenKffExposedinQueryPanel(oracle.jbo.ViewCriteriaItem vci,
java.lang.String criteriaName,
java.lang.String kffAccessorName)
This is a utility method that is to be used when a MasterVO containing KFF has a ViewCriteria on it that includes the KFF exposed on ADF Query Panel This method is to be called within the overriden getCriteriaItemClause() of the product team ViewObject. |
java.sql.Date |
getCurrentDatabaseDate()
Gets the current dtabase date as a java.sql.Date instance. |
protected int |
getEntityDefCount()
|
oracle.jbo.server.ViewDefImpl |
getFlexfieldViewDef(java.lang.String accessorName,
java.lang.Object discrValue)
Gets the flexfield view definition for a discriminator value. |
int |
getMaxFetchSize()
|
oracle.jbo.server.ViewDefImpl |
getViewDef()
Returns ViewDef for the ViewObject. |
void |
initMOAC()
This method gets invoked if a View Object is MOAC enabled. |
protected boolean |
isFilterVO()
|
protected boolean |
isFlexfieldMaster()
Returns true if this view object is a master view object of flexfield detail view objects. |
protected void |
notifyRowInserted(oracle.jbo.server.ViewRowSetImpl vrs,
oracle.jbo.Row viewRow,
int rowIndex)
Applications: When overriding this method, call super.notifyRowInserted first before your implementation. |
void |
prepareVOForQuery()
|
static void |
processDSVCERHintForBI(java.lang.String fullViewDefName,
java.lang.String vcName)
|
void |
setMaxFetchSize(int i)
|
void |
sourceChanged(oracle.jbo.server.EntityEvent event)
Applications: When overriding this method, call super.sourceChanged first before your implementation. |
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, addOrderByClause, addQueryMode, addRowSet, addViewCriteriaToWhereClause, addViewLink, addWhereClause, adjustERCWithChangedRows, afterCommit, afterEntityRemove, afterRemove, afterRollback, appendXMLElementNodes, appendXMLElementNodes, applyBindVariableForCriteria, applyPersonalization, applyViewCriteria, applyViewCriteria, beforeCommit, beforeEntityRemove, beforeRollback, bindFinderRS, bindParametersForCollection, bindRangePagingParams, buildEffectiveDateFromClauseFragment, buildEffectiveDateWhereClauseFragment, buildFromClause, buildKey, buildNewCollection, buildOrderByClause, buildQualifyingRowFilters, buildQuery, buildQuery, buildRangePagingQuery, buildRowFilter, buildSelectClause, buildSubquery, buildViewCriteriaClauses, cancelQuery, checkPassivateViewAttributes, clearCache, clearViewCriterias, closeFreedStatements, closeRowSet, closeRowSetIterator, createAndInitRow, createAndInitRowForCollection, createDetailRowSet, createFinderVO, createInstance, createInstanceFromResultSet, createInstanceWithEntities, createKey, createNewRowForCollection, createRow, createRowSet, createRowSetIterator, createVariableValueManager, createVariableValueManagerForRS, createViewCriteria, createViewLinkAccessor, createViewLinkAccessorRS, createViewLinkAccessorVO, createViewLinkScanBaseRS, createViewRowSet, createXMLDefinition, criteriaChanged, criteriaSelReqBindVarsChanged, deepCopy, defineNamedWhereClauseParam, doesRowFilterMatch, dumpQCs, enumerateRowsInRange, executeDetailQuery, executeEmptyRowSet, executeQuery, findAltKeyDef, findAndSetCurrentRowByKey, findAssociatedEntity, findAttributeDef, findByAltKey, findByEntity, findByKey, findByKey, findByViewCriteria, findByViewCriteriaForViewRowSet, findByViewCriteriaWithBindVars, findByViewCriteriaWithBindVars, findInCacheByAltKey, findInCacheByKey, findListBindingDef, findOrCreateLocalViewObject, findOrCreateLocalViewObject, findPrimaryKeyColumns, findRowInQCs, findRowSet, findRowSetIterator, findViewAccessorDef, findViewDefFromDiscrVals, findViewDefFromDiscrVals, findViewLinkAccessor, findViewLinkAccessorVO, first, forceExecuteQueryOfSharedVO, getAccessMode, getAllCachedQueryCollections, getAllRowsInRange, getAllViewCriteriaNames, getAllViewCriterias, getAltKeyAttrDefs, getApplicationModule, getApplicationModuleForLocalViewObject, getApplyJoinedViewCriteriaNames, getApplyViewCriteriaNames, getApplyViewCriterias, getAssociationClause, getAttrDefsForEntityAttr, getAttributeCount, getAttributeDef, getAttributeDefs, getAttributeIndexOf, getAttrIndicesForEntityAttr, getAvailableViewCriteriaNames, getBackwardDependencies, getBackwardDependencyAttributes, getBindingStyle, getBindValsForSqlGen, getByKeyFinderRS, getCachedQueryCollection, getCalculatedAttributeCount, getCallableStatement, getCappedQueryHitCount, getCappedRowCount, getCliIteratorState, getColumnNameForQuery, getCriteriaAdapter, getCriteriaItemAttributeHints, getCurrentRow, getCurrentRowIndex, getCurrentRowSlot, getDBSortCriteria, getDBTransaction, getDef, getDefaultAccessMode, getDefaultRangePagingCacheFactor, getDefaultRangeSize, getDefaultRowSet, getDefaultRowSetInternal, getDeferEstimatedRowCountProperty, getDeferredEstimatedRowCount, getDefFullName, getDefName, getDeleteParticipants, getDetailEstimatedRowCount, getDetailRowSets, getDiscrColLoadIndices, getDynamicAttributeCount, getDynamicAttributeOffset, getEntityDef, getEntityDefs, getEstimatedRangePageCount, getEstimatedRowCount, getFetchedRowCount, getFetchMode, getFetchSize, getFilteredRows, getFilteredRows, getFilteredRowsInRange, getFilteredRowsInRange, getForeignKeyValues, getForwardDependencies, getForwardDependencyAttributes, getFromClause, getFromClauseFlags, getFullLoggingName, getFullSqlMode, getImageLoc, getImplObject, getInsertParticipants, getIterMode, getKeyAttributeDefs, getListBindingDefsInternal, getLockParticipants, getMasterKeyValues, getMasterRowSetIterators, getNamedWhereClauseParam, getNamedWhereClauseParams, getNextRangeSet, getOperationDefinitions, getOrderByClause, getParametersAsStorageTypes, getPreparedStatement, getPreviousRangeSet, getPrimaryKeys, getProxyClassName, getProxyInterfaceName, getQualifyingRowFilters, getQuery, getQueryCollection, getQueryHint, getQueryHitCount, 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, getViewLinkAccessorInfo, getViewLinkDestinationAttributes, getViewLinkNames, getViewLinks, getViewObject, getWhereClause, getWhereClauseFlags, getWhereClauseParams, getXMLElementTag, getXMLRowElementTag, handleActivatedRowNotFound, hasDefaultRowSet, hasNext, hasNextForCollection, 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, isReadOnly, isRowValidation, isRuntimeSQLGeneration, isSelectAllAttributes, isTransientTransactionListener, isTransientTransactionPostListener, isViewLinkAccessorRetained, last, lookupAltKeyDef, lookupAttributeDef, lookupListBindingDef, lookupViewAccessorDef, markQueryCollectionDirty, marshalListBindingDefs, navigated, needsRefresh, next, notifyRowDeleted, notifyRowUpdated, notifyRowUpdated, notifyRowUpdated, notifyRowUpdated, onDatabaseChangeNotification, passivateDynamicAttributeDef, passivateNewRowTracker, passivateState, passivateState, passivateState, passivateTransients, passivateTransients, populateAttributeForRow, postChanges, preFetchRowsByKeys, preFetchRowsByKeys, prepareForActivation, prepareForBatchMode, prepareForPassivation, prepareRowSetForQuery, prepareRowSetForQuery, 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, 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, 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, substituteAttribute, throwOnListBindingMismatch, unpinDetailQC, unselectAttributeDefs, updateRowSetFromXML, validate, validateRangeSizeForRangePaging, writeXML, writeXML, writeXML, writeXML |
Methods inherited from class oracle.jbo.server.ComponentObjectImpl |
---|
addListener, createRef, ensureVariableManager, findOperationDefinitions, getAllProperties, getCompListeners, getCompListenersList, getDefinitionManager, getFullNameForPersDef, getHintValue, getLabel, getLabelPlural, getMessageBundleClass, getProxyClassName, getResourceBundleDef, getRootApplicationModule, getStringFromMessageBundle, getTooltip, getVariableManager, hasVariables, isDead, isPersonalized, isRegWithPiggyMan, resolvePropertyRaw, setName, 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 |
---|
public static final java.lang.String RCS_ID
public static final java.lang.String VAR_APPLCORE_SETID
public static final java.lang.String MOAC_PRIV_PROPERTY_NAME
public static final java.lang.String MOAC_PROPERTY_NAME
Constructor Detail |
---|
public OAViewObjectImpl()
Method Detail |
---|
protected oracle.jbo.server.ViewRowImpl createRowFromResultSet(java.lang.Object qc, java.sql.ResultSet resultSet)
createRowFromResultSet
in class oracle.jbo.server.ViewObjectImpl
public void setMaxFetchSize(int i)
setMaxFetchSize
in interface oracle.jbo.ViewObject
setMaxFetchSize
in class oracle.jbo.server.ViewObjectImpl
protected int getEntityDefCount()
getEntityDefCount
in class oracle.jbo.server.ViewObjectImpl
public java.sql.Date getCurrentDatabaseDate()
java.sql.Date
instance.
public void sourceChanged(oracle.jbo.server.EntityEvent event)
sourceChanged
in interface oracle.jbo.server.EntityListener
sourceChanged
in class oracle.jbo.server.ViewObjectImpl
protected void notifyRowInserted(oracle.jbo.server.ViewRowSetImpl vrs, oracle.jbo.Row viewRow, int rowIndex)
notifyRowInserted
in class oracle.jbo.server.ViewObjectImpl
public final oracle.jbo.AttributeDef[] getAttributeDefsForRowDuplication()
public oracle.jbo.server.ViewDefImpl getFlexfieldViewDef(java.lang.String accessorName, java.lang.Object discrValue)
accessorName
- the flexfield view link accessor namediscrValue
- the discriminator value
java.lang.IllegalArgumentException
- if the view link accessor is not
a flexfield view link accessor
FlexfieldJboException
- if the application module hierarchy does
not contain a flexfield application module associated with
the view link accessorprotected boolean isFlexfieldMaster()
FND_ACFF_Master
in the
view object. If the property value is true
, the view object
is a flexfield master view object.
public oracle.jbo.server.ViewDefImpl getViewDef()
getViewDef
in class oracle.jbo.server.ViewObjectImpl
protected void create()
create
in class oracle.jbo.server.ComponentObjectImpl
protected boolean isFilterVO()
protected oracle.jbo.server.ViewRowSetImpl createViewAccessorRS(oracle.jbo.server.ViewAccessorDef accessorDef, oracle.jbo.Row masterRow, java.lang.Object[] valuse, boolean addRSToMasterRow)
createViewAccessorRS
in class oracle.jbo.server.ViewObjectImpl
protected boolean buildWhereClause(java.lang.StringBuffer sqlBuffer, int noUserParams)
buildWhereClause
in class oracle.jbo.server.ViewObjectImpl
protected void executeQueryForCollection(java.lang.Object qc, java.lang.Object[] params, int noUserParams)
executeQueryForCollection
in class oracle.jbo.server.ViewObjectImpl
public int getMaxFetchSize()
getMaxFetchSize
in interface oracle.jbo.ViewObject
getMaxFetchSize
in class oracle.jbo.server.ViewObjectImpl
public oracle.jbo.ViewCriteria[] getApplyAllViewCriterias(int criteriaMode, boolean getAllReqdVC)
getApplyAllViewCriterias
in class oracle.jbo.server.ViewObjectImpl
public void prepareVOForQuery()
prepareVOForQuery
in class oracle.jbo.server.ViewObjectImpl
public static void processDSVCERHintForBI(java.lang.String fullViewDefName, java.lang.String vcName)
public void initMOAC()
public void doInitMOAC(Privilege priv)
priv
- Privilege of user/rolepublic java.lang.String getCriteriaItemClause(oracle.jbo.ViewCriteriaItem vci)
getCriteriaItemClause
in class oracle.jbo.server.ViewObjectImpl
public java.lang.String getCriteriaItemClauseWhenKffExposedinQueryPanel(oracle.jbo.ViewCriteriaItem vci, java.lang.String criteriaName, java.lang.String kffAccessorName)
vci
- - ViewCriteriaItemcriteriaName
- - ViewCriterianamekffAccessorName
- - KffAccessor Name
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |