|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
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.mom.DefinitionObject oracle.jbo.mom.PersistableDefObject oracle.jbo.server.DefObject oracle.jbo.server.MetaObject oracle.jbo.server.RowDef oracle.jbo.server.ViewDefImpl oracle.apps.fnd.applcore.oaext.model.FlexfieldBaseViewDefImpl oracle.apps.fnd.applcore.oaext.model.FlexfieldViewDefImpl
public class FlexfieldViewDefImpl
Definition class for flexfield view objects.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.jbo.mom.PersistableDefObject |
---|
oracle.jbo.mom.PersistableDefObject.CustomizationType, oracle.jbo.mom.PersistableDefObject.PersonalizationType |
Field Summary |
---|
Fields inherited from class oracle.apps.fnd.applcore.oaext.model.FlexfieldBaseViewDefImpl |
---|
PROPERTY_DEF_IMPORTS_AM |
Fields inherited from class oracle.jbo.server.ViewDefImpl |
---|
CLAUSE_ADDITIVE, CLAUSE_GENERATE_RT, COMPOSITE_VIEW_OBJECT, COMPVO_BASE_VIEW_QUERIES_INLINED, PASSIVATE_DEFAULT, PASSIVATE_DISABLED, PASSIVATE_TRANISENTS_TOO |
Fields inherited from class oracle.jbo.server.RowDef |
---|
mAliasName, mBindingStyle |
Fields inherited from class oracle.jbo.server.MetaObject |
---|
mComponentClass |
Fields inherited from class oracle.jbo.mom.DefinitionObject |
---|
DEF_MDS_CLIENT_KEY, DEF_SCOPE_PERS, DEF_SCOPE_SESSION, DEF_SCOPE_SHARED, mBaseDefObject, mExtendedDefObjects, mObjectResolved, PERSDEF_MDS_CLIENT_KEY, PROPERTY_EXPRMAP |
Fields inherited from class oracle.jbo.common.NamedObjectImpl |
---|
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX |
Fields inherited from interface oracle.jbo.ViewDef |
---|
FULL_OUTER_JOIN_TYPE, INNER_JOIN_TYPE, LEFT_OUTER_JOIN_TYPE, NONE_JOIN_TYPE, RIGHT_OUTER_JOIN_TYPE |
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable |
---|
XML_STATEMENT |
Constructor Summary | |
---|---|
FlexfieldViewDefImpl()
Constructs a default view definition. |
|
FlexfieldViewDefImpl(int scope,
java.lang.String name)
Constructs a flexfield view definition. |
|
FlexfieldViewDefImpl(int scope,
java.lang.String name,
java.lang.String baseViewDefName)
Constructs a flexfield view definition that extends a base view definition. |
Method Summary | |
---|---|
java.lang.Long |
getApplicationID()
Gets the application ID of the flexfield. |
protected oracle.jbo.server.ComponentOperations |
getComponentOperations()
|
java.lang.String |
getDelimiter()
Gets the delimiter. |
static java.lang.String |
getDelimiter(oracle.jbo.server.ViewDefImpl viewDef)
Gets the delimiter. |
java.lang.Character |
getDelimiterCharacter()
Gets the delimiter as a character. |
oracle.jbo.AttributeDef |
getDiscriminatorAttribute()
Gets the discriminator attribute. |
java.lang.String |
getDiscriminatorSdoPath()
Gets the path of the discriminator |
protected java.lang.String |
getEffectiveClientProxyClassName()
|
protected java.lang.String |
getEffectiveComponentInterfaceName()
|
java.lang.String |
getFlexfieldApplicationModuleDefFullName()
Gets the full name of the flexfield application module definition. |
java.util.List<oracle.jbo.AttributeDef> |
getFlexfieldAttributes()
Gets the list of flexfield attributes. |
static java.util.List<oracle.jbo.AttributeDef> |
getFlexfieldAttributes(oracle.jbo.server.ViewDefImpl viewDef)
Gets the list of flexfield attributes. |
java.util.List<oracle.jbo.AttributeDef> |
getFlexfieldAttributesForDisplay()
Gets the list of flexfield attributes for display. |
java.lang.String |
getFlexfieldCode()
Gets the flexfield code. |
oracle.jbo.server.EntityDefImpl |
getFlexfieldEntityDef()
Gets the flexfield entity definition. |
java.util.List<java.lang.String> |
getLabelCodes(java.lang.String attrName)
Gets the label codes for a segment attribute. |
java.util.List<oracle.jbo.AttributeDef> |
getLabeledAttributes(java.lang.String labelCode)
Gets the attributes associated with a given label. |
java.lang.String |
getModelID()
Gets the ID of the flexfield model where this view object belongs to. |
java.lang.String |
getSdoName()
Gets the SDO name. |
java.lang.String |
getSdoNamespace()
Gets the SDO namespace. |
oracle.jbo.AttributeDef |
getSegmentAttribute(oracle.jbo.AttributeDef displayAttr)
Gets the segment attribute that corresponds to a given display attribute. |
oracle.jbo.AttributeDef |
getSegmentAttribute(java.lang.String segmentCode)
Gets the definition of a segment attribute. |
static java.lang.String |
getSegmentCode(oracle.jbo.AttributeDef attr)
Gets the code of the segment an attribute represents. |
static java.lang.Object |
getSegmentDefaultValue(oracle.jbo.AttributeDef attr)
Gets the default value of a segment attribute. |
static java.lang.String |
getSegmentDefaultValueType(oracle.jbo.AttributeDef attr)
Gets the default value type of a segment attribute. |
static java.lang.String |
getSegmentDisplayAttributeName(oracle.jbo.AttributeDef segAttr)
Gets the name of the display attribute for a segment attribute. |
java.lang.String |
getSegmentSdoPath(java.lang.String segmentCode)
Gets the path of a segment. |
static boolean |
isGlobalSegment(oracle.jbo.AttributeDef attr)
Returns true if the given attribute represents a global segment. |
static boolean |
isSegmentDisplay(oracle.jbo.AttributeDef attr)
Returns true if the given attribute is a display attribute of a segment. |
static boolean |
isSegmentRequired(oracle.jbo.AttributeDef attr)
Returns true if the given attribute represents a segment that is required. |
protected static void |
loadFromXML(oracle.jbo.mom.xml.DefElement arg0,
oracle.jbo.server.RemotableCompDef arg1)
|
protected void |
loadOperationDefinitions(oracle.jbo.mom.xml.DefElement arg0)
|
java.util.Map<java.lang.String,java.lang.Object> |
parseSegmentCombination(java.lang.String s)
Parses a segment combination into a map of view attribute values. |
java.util.Map<java.lang.String,java.lang.Object> |
parseSegmentCombination(java.lang.String s,
boolean nullFilled)
Parses a segment combination into a map of view attribute values. |
Methods inherited from class oracle.apps.fnd.applcore.oaext.model.FlexfieldBaseViewDefImpl |
---|
findDefForDiscrValues, hasExtendedDefObjects |
Methods inherited from class oracle.jbo.server.ViewDefImpl |
---|
addAllEntityAttributes, addAllRowAttributes, addApplyViewCriteriaNames, addEntityAttribute, addEntityUsage, addEntityUsage, addEntityUsage, addEntityUsage, addEntityUsage, addListBindingDef, addRowAttribute, addRowSetViewAttribute, addViewAttribute, addViewLinkAccessor, addViewLinkAccessor, addViewUsage, addViewUsage, buildDefaultFrom, buildDefaultFrom, buildDefaultFrom, buildDefaultFromAttrs, buildDefaultSelect, buildDefaultSelect, createAltKey, createAttributeDef, createCompositeViewDef, createViewCriteria, createViewDef, criteriaChanged, findAttrDefByEntAttrDef, findAttributeDef, findDefObject, findDefObjectNoSub, findStructureDefByName, findViewLinkDefImpl, finishedLoading, getAccessMode, getAllDefNames, getAllViewCriteriaNames, getAllViewCriterias, getAltKeyAttrDefs, getAltKeyAttrDefs, getAttributeCount, getAttributeDef, getAttributeDefImpls, getAttributeDefs, getBaseComponentClass, getCalculatedAttributeCount, getColumnNameForQuery, getColumns, getCtrlHints, getDBSortCriteria, getDefaultFetchMode, getDefaultViewCriteria, getDefTypeId, getDefXMLElementTag, getDfltCtrlHints, getEffectiveDateTransientAttr, getEffectiveDateTransientAttrInternal, getEffectiveDateTransientAttrName, getEffectiveRowClientProxyClassName, getEJBAppProviderURL, getEJBHome, getEJBHomeJNDIName, getEntityDiscrColumns, getEntityIndex, getEntityReference, getEntityReference, getEntityReferences, getEntityReferences, getEntityRefsParentOrder, getEntityUsage, getEntityUsages, getFetchMode, getFetchSize, getFromClause, getFromClause, getFromClauseFlags, getHintValue, getIterMode, getListBindingViewDef, getMaxActiveNodes, getMaxAttrConst, getMaxFetchSize, getMaxRowsPerNode, getOrderByClause, getPrimaryKeys, getProperty, getQuery, getQueryHint, getRangePagingCacheFactor, getRangeSize, getRawAttributeDefs, getReqdVC, getRowClass, getRowClientProxyClassName, getRowInterfaceName, getRowMatch, getRows, getSdoNameSpace, getSDOPackageName, getSelectClause, getSelectClauseFlags, getSIFContextKey, getStaticListCellId, getStoredProcedureName, getVarMgrParents, getViewCriteria, getViewCriteriaManager, getViewKeyAttrDefs, getWhereClause, getWhereClause, getWhereClause, getWhereClauseFlags, getXMLElementTag, getXMLRowElementTag, hasDataSecurity, hasPrimaryEntity, hasQuery, hasVariables, isAutoRefreshEnabled, isComposite, isDupBaseDef, isEffectiveDated, isFinderView, isFullSql, isManageRowsByKey, isPassivationEnabled, isPLSQLView, isQueryThruEntity, isReadOnly, isRuntimeSQLGeneration, isSdoDirty, isSdoGen, isSDOGeneric, isSelectAllAttributes, isServiceWarningsEnabled, isStatic, isUseGlueCode, isViewLinkAccessorRetained, loadCustomDef, loadXMLContents, lookupAttributeDef, lookupViewAccessorDef, putPDefViewCriteria, putViewCriteria, resolveDefObject, resolveReferences, setAccessMode, setAutoRefresh, setColumns, setDBSortCriteria, setDefForComponent, setDupBaseDef, setEffectiveDated, setEntityDiscrColumns, setFetchMode, setFetchSize, setFromClause, setFromClauseFlags, setFullSql, setIterMode, setJoinType, setMaxActiveNodes, setMaxFetchSize, setMaxRowsPerNode, setOrderByClause, setPassivationMode, setQuery, setQueryHint, setRangePagingCacheFactor, setRangeSize, setReqdVC, setRowClass, setRowClientProxyClassName, setRowInterfaceName, setRowMatch, setRows, setSdoDirty, setSdoGen, setSdoName, setSdoNameSpace, setSelectAllAttributes, setSelectClause, setSelectClauseFlags, setServiceWarnings, setStoredProcedureName, setupForLov, setUseGlueCode, setViewLinkAccessorRetained, setWhereClause, setWhereClauseFlags, shouldPutJoinConstraintInWhereClause, unsetDefForComponent, writeChildren, writeContents |
Methods inherited from class oracle.jbo.server.RowDef |
---|
addAltKey, addExtendedDefObject, addForwardDependency, addForwardDependency, addListBindingDef, addViewAccessorDef, appendBindingNameForAttr, appendBindingSpec, appendBindingSpec, createDef, discrValuesQualify, findAltKeyDef, findAttrDefIncludingPDef, findListBindingDef, findViewAccessorDef, getAliasName, getAllProperties, getAltKeyCount, getAltKeyDef, getAltKeyIndex, getAltKeyNames, getAttributeIndexOf, getBackwardDependencies, getBackwardDependencyAttributes, getBindingStyle, getDataSourceDef, getDefFullName, getDefName, getDiscrColumns, getExprVarVal, getForwardDependencies, getForwardDependencyAttributes, getListBindingDefs, getViewAccessorDefs, loadListBindings, loadViewAccessor, loadViewAccessors, lookupAltKeyDef, lookupListBindingDef, registerDefObject, removeAltKey, removeListBindingDef, removeViewAccessorDef, resolvePropertyRaw, setAliasName, setBindingStyle, setDiscrColumns, setExprVarVal, setThrowOnListBindingMismatch, throwOnListBindingMismatch, verifyExtendedDefObjects, writeXMLContents |
Methods inherited from class oracle.jbo.server.MetaObject |
---|
deregisterSessionObject, getMessageBundleClass, getMsgBundleDef, getPackageDef, getPackageName, getPersDef, getPersDefNoUpdateCheck, getResourceBundleDef, getResourcePrefix, isDynamic, isInheritPersonalization, loadResourceBundle, registerSessionDefObject, setInheritPersonalization, setMessageBundleClass, setResourceBundleDef |
Methods inherited from class oracle.jbo.server.DefObject |
---|
ensureVariableManager, getBaseDefObject, getDefXMLNameSpace, getVariableManager, loadProperties, loadVariables, setBaseDefObject, setBaseDefObject, setName, setParent |
Methods inherited from class oracle.jbo.mom.PersistableDefObject |
---|
addDefImport, adjustPropertyMapForWrite, allocatePropertyMap, checkEditable, close, createFromXML, findDefImport, getBaseDir, getBasePackage, getDefImports, getDefManager, getDefWriter, getEditObject, getExtendedDefObjectsInternal, getFileName, getFullDirName, getFullFileName, getOrigObject, getPropertyMap, getSubstitutedNames, getSyncLock, guaranteePath, isCustomizationEnabled, isCustomizationEnabled, isDirty, isEditable, isNew, isPersonalizationEnabled, isPersonalizationEnabled, loadDefImports, mergePropertyMap, objectRemoved, reapplyChanges, reapplyChangesToChildren, reapplyChangesToContents, registerClass, remove, removeAndDelete, removeDefImport, removeExtendedDefObject, removeProperty, saveXMLContents, setCustomizationEnabled, setCustomizationEnabled, setDefaultBaseDir, setDefMgr, setDirty, setEditable, setNew, setOrigObject, setPersonalizationEnabled, setPersonalizationEnabled, setProperty, setPropertyExpression, setPropertyMap, updateChildrenList, verifyVersion, writeObject, writeVersion |
Methods inherited from class oracle.jbo.mom.DefinitionObject |
---|
addPropertySetName, enableUpdateCheck, getAllExtendedDefObjects, getContainerDef, getContainerName, getDefScope, getExtendedDefObjects, getMdsKey, getMdsReference, getPropertySetName, getPropertySetNames, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, isSuppressUpdateCheck, loadCustomProperties, loadPropertiesInMap, loadPropertySetNames, loadSchemaProperties, setDefScope, setMdsKey, setMdsReference, setObjectResolved, setPropertySetName, suppressUpdateCheck |
Methods inherited from class oracle.jbo.common.NamedObjectImpl |
---|
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getPropertyExpressionsMap, getResourcesFromBundle, getStringFromMessageBundle, isPropertyExpression, refreshProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, setFullName, setPropertiesMap, setPropertiesMap2, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.ViewDef |
---|
registerDefObject, saveXMLContents, setDefaultBaseDir, writeXMLContents |
Methods inherited from interface oracle.jbo.StructureDef |
---|
getAttributeIndexOf, getDefFullName, getDefName, getFullName, getName |
Methods inherited from interface oracle.jbo.VariableManagerOwner |
---|
getName |
Methods inherited from interface oracle.jbo.mom.xml.DefPersistable |
---|
getFullName |
Constructor Detail |
---|
public FlexfieldViewDefImpl()
public FlexfieldViewDefImpl(int scope, java.lang.String name)
scope
- the scopename
- the namepublic FlexfieldViewDefImpl(int scope, java.lang.String name, java.lang.String baseViewDefName)
scope
- the scopename
- the namebaseViewDefName
- the name of the base view definitionMethod Detail |
---|
public java.lang.String getModelID()
public java.lang.Long getApplicationID()
java.lang.NullPointerException
- if the application ID cannot be foundpublic java.lang.String getFlexfieldCode()
public java.lang.String getFlexfieldApplicationModuleDefFullName()
public oracle.jbo.AttributeDef getDiscriminatorAttribute()
public java.lang.String getDelimiter()
public static final java.lang.String getDelimiter(oracle.jbo.server.ViewDefImpl viewDef)
ViewDefImpl
reference to
FlexfieldViewDefImpl
.
viewDef
-
public java.lang.Character getDelimiterCharacter()
java.lang.UnsupportedOperationException
- if the delmiter has more than
one characterpublic oracle.jbo.AttributeDef getSegmentAttribute(java.lang.String segmentCode)
segmentCode
- the segment code
java.lang.IllegalArgumentException
- if the given segment code is nullgetFlexfieldAttributes()
public java.util.List<oracle.jbo.AttributeDef> getFlexfieldAttributes()
public java.util.List<oracle.jbo.AttributeDef> getFlexfieldAttributesForDisplay()
The attribute (which is most likely transient) that represents the display
value of a segment, if exists, is
listed instead of the actual segment attribute. In this case, the return
list may be a mixture of segment attributes and segment display attributes,
because a segment attribute does not necessarily have a corresponding
display attribute. To find out whether a flexfield attribute is a
display attribute or a segment attribute,
see isSegmentDisplay
.
isSegmentDisplay(oracle.jbo.AttributeDef)
,
getSegmentAttribute(AttributeDef)
public static final java.util.List<oracle.jbo.AttributeDef> getFlexfieldAttributes(oracle.jbo.server.ViewDefImpl viewDef)
viewDef
- the flexfield view def
getFlexfieldAttributes()
public java.util.List<oracle.jbo.AttributeDef> getLabeledAttributes(java.lang.String labelCode)
labelCode
- the code of the label
FlexfieldJboException
- if this information is not availablepublic java.util.List<java.lang.String> getLabelCodes(java.lang.String attrName)
attrName
- the name of the segment attribute
java.lang.IllegalArgumentException
- if the given attribute name does not
existpublic static boolean isGlobalSegment(oracle.jbo.AttributeDef attr)
attr
- the attribute to be checked
public static java.lang.String getSegmentCode(oracle.jbo.AttributeDef attr)
attr
- the attribute that represents a flexfield segment
java.lang.NullPointerException
- if the given attribute is nullpublic static java.lang.Object getSegmentDefaultValue(oracle.jbo.AttributeDef attr)
attr
- the segment attribute
java.lang.NullPointerException
- if the given attribute definition is nullgetSegmentDefaultValueType(oracle.jbo.AttributeDef)
public static java.lang.String getSegmentDefaultValueType(oracle.jbo.AttributeDef attr)
attr
- the segment attribute definition
FlexfieldProperty.DEFAULT_VALUE_TYPE_PARAMETER
or
FlexfieldProperty.DEFAULT_VALUE_TYPE_CONSTANT
; null
if the segment does not have a default value, or the given
attribute is not a segment attribute
java.lang.NullPointerException
- if the given attribute definition is nullgetSegmentDefaultValue(oracle.jbo.AttributeDef)
public static boolean isSegmentDisplay(oracle.jbo.AttributeDef attr)
false
if the given attribute represents
a segment itself, or if the given attribute is not a flexfield attribute
at all.
attr
- the attribute to be checked
java.lang.NullPointerException
- if the given attribute is nullgetSegmentAttribute(AttributeDef)
public oracle.jbo.AttributeDef getSegmentAttribute(oracle.jbo.AttributeDef displayAttr)
displayAttr
- the display attribute
java.lang.NullPointerException
- if the given attribute is nullisSegmentDisplay(oracle.jbo.AttributeDef)
public static java.lang.String getSegmentDisplayAttributeName(oracle.jbo.AttributeDef segAttr)
segAttr
- the segment attribute
public static boolean isSegmentRequired(oracle.jbo.AttributeDef attr)
attr
- the attribute to be checked
public java.util.Map<java.lang.String,java.lang.Object> parseSegmentCombination(java.lang.String s)
s
- the segment combination to be parsed
FlexfieldCombinationException
- if the given combination is null,
or the number of segments found in the
combination is different from the number
of segments this view definition allows
java.lang.UnsupportedOperationException
- if no delimiter is foundpublic java.util.Map<java.lang.String,java.lang.Object> parseSegmentCombination(java.lang.String s, boolean nullFilled)
nullFilled
is
true
, then it is assumed that the given combination contains
only the first few segments, and the values of the rest of the segments
are null
.nullFilled
is false
, then an
FlexfieldCombinationException
is thrown.
s
- the segment combination to be parsednullFilled
- true if the last missing segments should be filled
with null
FlexfieldCombinationException
- if the given combination is null,
or the number of segments found in the
combination is different from the number
of segments this view definition allows
java.lang.UnsupportedOperationException
- if no delimiter is foundpublic oracle.jbo.server.EntityDefImpl getFlexfieldEntityDef()
FlexfieldJboException
- if the name of the entity cannot be
identified or the registered entity is
never used by this view objectpublic java.lang.String getSdoNamespace()
FlexfieldSdoSupport
getSdoNamespace
in interface FlexfieldSdoSupport
public java.lang.String getSdoName()
FlexfieldSdoSupport
getSdoName
in interface FlexfieldSdoSupport
getSdoName
in class oracle.jbo.server.ViewDefImpl
public java.lang.String getDiscriminatorSdoPath()
FlexfieldSdoSupport
getDiscriminatorSdoPath
in interface FlexfieldSdoSupport
public java.lang.String getSegmentSdoPath(java.lang.String segmentCode)
FlexfieldSdoSupport
getSegmentSdoPath
in interface FlexfieldSdoSupport
segmentCode
- the segment code
protected java.lang.String getEffectiveClientProxyClassName()
protected java.lang.String getEffectiveComponentInterfaceName()
protected static void loadFromXML(oracle.jbo.mom.xml.DefElement arg0, oracle.jbo.server.RemotableCompDef arg1)
protected oracle.jbo.server.ComponentOperations getComponentOperations()
protected void loadOperationDefinitions(oracle.jbo.mom.xml.DefElement arg0)
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |