|
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.apps.fnd.applcore.flex.runtime.util.common.FlexfieldDefManager oracle.apps.fnd.applcore.flex.runtime.util.common.DescriptiveFlexfieldDefManager oracle.apps.fnd.applcore.flex.runtime.util.common.ExtensibleFlexfieldDefManager
public class ExtensibleFlexfieldDefManager
Nested Class Summary | |
---|---|
protected static class |
FlexfieldDefManagerImpl._ContextValueDef
A simple implementation of ContextValueDef . |
protected static class |
FlexfieldDefManagerImpl.SegmentDefArrayList
A SegmentDefList implementation that uses an
ArrayList as the storage. |
Field Summary | |
---|---|
protected ApplicationResources |
_applicationResources
|
Constructor Summary | |
---|---|
ExtensibleFlexfieldDefManager(ApplicationResources appRes)
|
Method Summary | |
---|---|
protected java.lang.String |
getContextCode()
Gets the context code for EFF. |
java.lang.String |
getCustomFactoryClassName()
|
static oracle.jbo.server.ViewRowSetImpl |
getEffCategoryHierarchyIterator(java.lang.String herarchyCode,
oracle.jbo.ApplicationModule dffServiceAM)
|
static java.lang.String |
getEffContextAdditionalBaseEAName(java.lang.Long appId,
java.lang.String flexCode,
java.lang.String flexUsageCode,
oracle.jbo.server.DBTransaction txn,
java.lang.String contextCode,
java.lang.String tableType,
java.lang.String srcEODefFullName,
java.lang.String effGroup)
Wrapper API that takes DB txn and finds dff metadata AM |
static java.lang.String |
getEffContextBaseEAName(java.lang.Long appId,
java.lang.String flexCode,
java.lang.String flexUsageCode,
oracle.jbo.ApplicationModule dffMetadataAM,
java.lang.String contextCode,
java.lang.String tableType,
java.lang.String effGroup)
API that takes dff Metadata AM and finds the Eff Context Base EA Name |
static java.lang.String |
getEffContextBaseEAName(java.lang.Long appId,
java.lang.String flexCode,
java.lang.String flexUsageCode,
oracle.jbo.server.DBTransaction txn,
java.lang.String contextCode,
java.lang.String tableType,
java.lang.String effGroup)
Wrapper API that takes DB txn and finds dff metadata AM |
static java.lang.String |
getEffContextEOName(java.lang.Long appId,
java.lang.String flexCode,
java.lang.String flexUsageCode,
oracle.jbo.ApplicationModule dffMetadataAM,
java.lang.String contextCode,
java.lang.String tableType,
java.lang.String effGroup)
API that takes dff Metadata AM and finds the Eff Context EO Name |
static java.lang.String |
getEffContextEOName(java.lang.Long appId,
java.lang.String flexCode,
java.lang.String flexUsageCode,
oracle.jbo.server.DBTransaction txn,
java.lang.String contextCode,
java.lang.String tableType,
java.lang.String effGroup)
Wrapper API that takes DB txn and finds dff metadata AM |
static java.lang.String |
getEffContextVOName(java.lang.Long appId,
java.lang.String flexCode,
java.lang.String flexUsageCode,
oracle.jbo.ApplicationModule dffMetadataAM,
java.lang.String contextCode,
java.lang.String tableType,
java.lang.String effGroup)
API that takes dff Metadata AM and finds the Eff Context VO Name |
static java.lang.String |
getEffContextVOName(java.lang.Long appId,
java.lang.String flexCode,
java.lang.String flexUsageCode,
oracle.jbo.server.DBTransaction txn,
java.lang.String contextCode,
java.lang.String tableType,
java.lang.String effGroup)
Wrapper API that takes DB txn and finds dff metadata AM |
static oracle.jbo.server.ViewRowImpl |
getEffFlexRow(java.lang.Long appId,
java.lang.String flexCode,
oracle.jbo.ApplicationModule dffMetadataAM)
|
java.lang.String |
getEffGroup()
Returns the EFF Group. |
protected static java.util.List<FlexfieldEntityUsage> |
getExtensibleFlexfieldEntityUsages(FlexfieldTableUsage tableUsage,
FlexfieldDefManager defManager,
oracle.jbo.RowIterator entityUsageIterator,
java.lang.String targetEntityDefName)
Gets the list of entity usages. |
FlexfieldDef |
getFlexfieldDef(FlexfieldTableUsage tableUsageRef,
FlexfieldDefOverride ovr)
Gets the definition of a table usage of a flexfield with information that overrides the original definition. |
protected FlexfieldDef |
getFlexfieldDefInternal(FlexfieldTableUsage tableUsageRef)
Deprecated. |
protected FlexfieldDef |
getFlexfieldDefInternal(FlexfieldTableUsage tableUsageRef,
FlexfieldDefOverride ovr)
Gets the definition of a table usage of a flexfield. |
protected static oracle.apps.fnd.applcore.flex.runtime.util.common.FlexfieldDefManagerImpl |
getFlexfieldDefManagerImpl(java.lang.String type,
ApplicationResources appRes)
Gets an instance of a flexfield definition manager. |
FlexfieldEntityUsage |
getFlexfieldEntityUsage(FlexfieldTableUsage tableUsageRef,
java.lang.String entityDefFullName)
Gets a flexfield entity usage. |
protected FlexfieldEntityUsage |
getFlexfieldEntityUsageInternal(FlexfieldTableUsage tableUsageRef,
java.lang.String entityDefFullName)
Gets a flexfield entity usage. |
protected static java.util.List<FlexfieldEntityUsage> |
getFlexfieldEntityUsages(FlexfieldTableUsage tableUsage,
FlexfieldDefManager defManager,
oracle.jbo.RowIterator entityUsageIterator,
boolean isBIRelevant,
java.lang.String targetEntityDefName)
Gets the list of entity usages. |
static java.lang.String |
getSimpleNameFromFullName(java.lang.String fullName)
Removes the package prefix from a qualified name |
protected java.lang.String |
getTableType()
Gets the table type for EFF. |
protected static java.util.Map<java.lang.String,java.lang.String> |
getTranslations(oracle.jbo.Row viewRow,
java.lang.String viewAttrName)
Gets the translations of a column of a view attribute. |
protected static Validator |
getValidator(SegmentDef seg,
oracle.jbo.Row vsRow,
java.util.Map<java.lang.String,ValueSetDef> valueSetCache,
boolean valueSetRequired)
Gets validation information. |
boolean |
isContextEnabled()
Check if this context is enabled |
boolean |
isInterface()
Check if this flexfield is interface type |
boolean |
isTranslatable()
Check if this flexfield is translatable type |
java.lang.String |
queryBcModelerFactoryName(ApplicationIdentifier aif,
java.lang.String flexCode)
Gets the name of the modeler factory for a flexfield. |
java.lang.String |
queryBcModelerFactoryName(java.lang.String appShortName,
java.lang.String flexCode)
Deprecated. |
protected static void |
resolveRangeTypedSegments(oracle.apps.fnd.applcore.flex.runtime.util.common.FlexfieldDefImpl flexfield)
Validates the segments that have range type set and creates validation rules based on the setting. |
protected static void |
resolveReferenceSegment(SegmentDefList segList)
Resolves the references to the peer segments. |
void |
setContextCode(java.lang.String contextCode)
Sets the context code for EFF. |
void |
setCurrentFlexfieldDefManager()
|
protected static void |
setDisplayType(SegmentDefImpl seg,
oracle.jbo.Row segmentRow)
Sets the display type based on the descriptive flexfield metadata hint. |
void |
setEffGroup(java.lang.String effGroup)
Sets the EFF Group. |
void |
setTableType(boolean isInterface)
Sets the table type for EFF. |
protected static void |
setUIControlType(SegmentDefImpl seg)
Sets the UI control type for a segment. |
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.util.common.DescriptiveFlexfieldDefManager |
---|
getDFFSegmentDefImpl |
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.util.common.FlexfieldDefManager |
---|
getFactoryDiscoveryManager, getFlexfieldDef, getInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final ApplicationResources _applicationResources
Constructor Detail |
---|
public ExtensibleFlexfieldDefManager(ApplicationResources appRes)
Method Detail |
---|
public void setContextCode(java.lang.String contextCode)
public void setTableType(boolean isInterface)
public void setEffGroup(java.lang.String effGroup)
public boolean isInterface()
public java.lang.String getEffGroup()
public boolean isTranslatable()
public boolean isContextEnabled()
protected java.lang.String getContextCode()
protected java.lang.String getTableType()
protected static java.util.List<FlexfieldEntityUsage> getExtensibleFlexfieldEntityUsages(FlexfieldTableUsage tableUsage, FlexfieldDefManager defManager, oracle.jbo.RowIterator entityUsageIterator, java.lang.String targetEntityDefName)
tableUsage
- the table usage that contains the entity usagesdefManager
- the definition manager that calls this methodentityUsageIterator
- the iterator of the entity usage listtargetEntityDefName
- the entity definitio name of the usage to be
found; null if all usages should be returned
protected FlexfieldEntityUsage getFlexfieldEntityUsageInternal(FlexfieldTableUsage tableUsageRef, java.lang.String entityDefFullName)
getFlexfieldEntityUsageInternal
in class DescriptiveFlexfieldDefManager
tableUsageRef
- the reference to the table usageentityDefFullName
- the full name of the entity definition
protected FlexfieldDef getFlexfieldDefInternal(FlexfieldTableUsage tableUsageRef, FlexfieldDefOverride ovr)
getFlexfieldDefInternal
in class DescriptiveFlexfieldDefManager
tableUsageRef
- the reference to the table usageovr
- the information that overrides the original definition; null
if no overriding is needed
public void setCurrentFlexfieldDefManager()
public static java.lang.String getSimpleNameFromFullName(java.lang.String fullName)
fullName
- - Package-qualified name
public static oracle.jbo.server.ViewRowImpl getEffFlexRow(java.lang.Long appId, java.lang.String flexCode, oracle.jbo.ApplicationModule dffMetadataAM)
appId
- flexCode
- dffMetadataAM
-
public static java.lang.String getEffContextEOName(java.lang.Long appId, java.lang.String flexCode, java.lang.String flexUsageCode, oracle.jbo.server.DBTransaction txn, java.lang.String contextCode, java.lang.String tableType, java.lang.String effGroup)
appId
- - application idflexCode
- - flexfield code (e.g. EGO_ITEM_UDA)flexUsageCode
- - flexfield usage code (e.g. EGO_ITEM_DL)txn
- - DB transactioncontextCode
- - context code (e.g Voltage)tableType
- - table type (e.g. EXTENSION)effGroup
- - eff grouping entity name (public / private)
public static java.lang.String getEffContextEOName(java.lang.Long appId, java.lang.String flexCode, java.lang.String flexUsageCode, oracle.jbo.ApplicationModule dffMetadataAM, java.lang.String contextCode, java.lang.String tableType, java.lang.String effGroup)
appId
- - application idflexCode
- - flexfield code (e.g. EGO_ITEM_UDA)flexUsageCode
- - flexfield usage code (e.g. EGO_ITEM_DL)dffMetadataAM
- - dff metadata AMcontextCode
- - context code (e.g Voltage)tableType
- - table type (e.g. EXTENSION)effGroup
- - eff grouping entity name (public / private)
public static java.lang.String getEffContextVOName(java.lang.Long appId, java.lang.String flexCode, java.lang.String flexUsageCode, oracle.jbo.server.DBTransaction txn, java.lang.String contextCode, java.lang.String tableType, java.lang.String effGroup)
appId
- - application idflexCode
- - flexfield code (e.g. EGO_ITEM_UDA)flexUsageCode
- - flexfield usage code (e.g. EGO_ITEM_DL)txn
- - DB transactioncontextCode
- - context code (e.g Voltage)tableType
- - table type (e.g. EXTENSION)effGroup
- - eff grouping entity name (public / private)
public static java.lang.String getEffContextVOName(java.lang.Long appId, java.lang.String flexCode, java.lang.String flexUsageCode, oracle.jbo.ApplicationModule dffMetadataAM, java.lang.String contextCode, java.lang.String tableType, java.lang.String effGroup)
appId
- - application idflexCode
- - flexfield code (e.g. EGO_ITEM_UDA)flexUsageCode
- - flexfield usage code (e.g. EGO_ITEM_DL)dffMetadataAM
- - dff metadata AMcontextCode
- - context code (e.g Voltage)tableType
- - table type (e.g. EXTENSION)effGroup
- - eff grouping entity name (public / private)
public static java.lang.String getEffContextBaseEAName(java.lang.Long appId, java.lang.String flexCode, java.lang.String flexUsageCode, oracle.jbo.server.DBTransaction txn, java.lang.String contextCode, java.lang.String tableType, java.lang.String effGroup)
appId
- - application idflexCode
- - flexfield code (e.g. EGO_ITEM_UDA)flexUsageCode
- - flexfield usage code (e.g. EGO_ITEM_DL)txn
- - DB transactioncontextCode
- - context code (e.g Voltage)tableType
- - table type (e.g. EXTENSION)effGroup
- - eff grouping entity name (public / private)
public static java.lang.String getEffContextAdditionalBaseEAName(java.lang.Long appId, java.lang.String flexCode, java.lang.String flexUsageCode, oracle.jbo.server.DBTransaction txn, java.lang.String contextCode, java.lang.String tableType, java.lang.String srcEODefFullName, java.lang.String effGroup)
appId
- - application idflexCode
- - flexfield code (e.g. EGO_ITEM_UDA)flexUsageCode
- - flexfield usage code (e.g. EGO_ITEM_DL)txn
- - DB transactioncontextCode
- - context code (e.g Voltage)tableType
- - table type (e.g. EXTENSION)srcEODefFullName
- - full def name for PIM public src EOeffGroup
- - eff grouping entity name (public / private)
public static java.lang.String getEffContextBaseEAName(java.lang.Long appId, java.lang.String flexCode, java.lang.String flexUsageCode, oracle.jbo.ApplicationModule dffMetadataAM, java.lang.String contextCode, java.lang.String tableType, java.lang.String effGroup)
appId
- - application idflexCode
- - flexfield code (e.g. EGO_ITEM_UDA)flexUsageCode
- - flexfield usage code (e.g. EGO_ITEM_DL)dffMetadataAM
- - dff metadata AMcontextCode
- - context code (e.g Voltage)tableType
- - table type (e.g. EXTENSION)effGroup
- - eff grouping entity name (public / private)
public static oracle.jbo.server.ViewRowSetImpl getEffCategoryHierarchyIterator(java.lang.String herarchyCode, oracle.jbo.ApplicationModule dffServiceAM)
herarchyCode
- The hierarchy codedffServiceAM
- A handle to oracle.apps.fnd.applcore.flex.dff.descriptiveFlexfieldService.DescriptiveFlexfieldServiceAM
public final FlexfieldDef getFlexfieldDef(FlexfieldTableUsage tableUsageRef, FlexfieldDefOverride ovr)
FlexfieldDefManager
getFlexfieldDef
in class FlexfieldDefManager
tableUsageRef
- the reference to the table usageovr
- the information that overrides the original definition; null if
no overriding should occur
public FlexfieldEntityUsage getFlexfieldEntityUsage(FlexfieldTableUsage tableUsageRef, java.lang.String entityDefFullName)
FlexfieldDefManager
getFlexfieldEntityUsage
in class FlexfieldDefManager
tableUsageRef
- the reference to the table usageentityDefFullName
- the full name of the entity definition
protected final FlexfieldDef getFlexfieldDefInternal(FlexfieldTableUsage tableUsageRef)
tableUsageRef
-
protected static oracle.apps.fnd.applcore.flex.runtime.util.common.FlexfieldDefManagerImpl getFlexfieldDefManagerImpl(java.lang.String type, ApplicationResources appRes)
type
- the flexfield typeappRes
- the application resources
protected static final java.util.List<FlexfieldEntityUsage> getFlexfieldEntityUsages(FlexfieldTableUsage tableUsage, FlexfieldDefManager defManager, oracle.jbo.RowIterator entityUsageIterator, boolean isBIRelevant, java.lang.String targetEntityDefName)
tableUsage
- the table usage that contains the entity usagesdefManager
- the definition manager that calls this methodentityUsageIterator
- the iterator of the entity usage listisBIRelevant
- true if this entity usage has information about BItargetEntityDefName
- the entity definitio name of the usage to be
found; null if all usages should be returned
protected static java.util.Map<java.lang.String,java.lang.String> getTranslations(oracle.jbo.Row viewRow, java.lang.String viewAttrName)
OA_TL_ENTITIES
. It is assumed that the
corresponding entity attribute name is the same as the given view attribute
name. The translation entity must have an attribute named "Language" that
provides the language code.
viewRow
- the view rowviewAttrName
- the view attribute name
protected static void setDisplayType(SegmentDefImpl seg, oracle.jbo.Row segmentRow) throws SegmentDefException
seg
- the segmentsegmentRow
- the row that represents the segment metadata
SegmentDefException
setUIControlType(oracle.apps.fnd.applcore.flex.runtime.util.common.SegmentDefImpl)
protected static void setUIControlType(SegmentDefImpl seg)
This method may adjust the segment definition such as the default value based on the control type. To avoid the adjustment being overwritten, this method should be invoked after the segment definition is loaded completely.
seg
- the segmentsetDisplayType(oracle.apps.fnd.applcore.flex.runtime.util.common.SegmentDefImpl, oracle.jbo.Row)
protected static Validator getValidator(SegmentDef seg, oracle.jbo.Row vsRow, java.util.Map<java.lang.String,ValueSetDef> valueSetCache, boolean valueSetRequired) throws SegmentDefException
seg
- the segmentvsRow
- the value set rowvalueSetCache
- the value set cachevalueSetRequired
- true if this segment must use a value set
SegmentDefException
- if any error occursprotected static void resolveRangeTypedSegments(oracle.apps.fnd.applcore.flex.runtime.util.common.FlexfieldDefImpl flexfield)
flexfield
- the flexfield
BCModelerException
- if any range type setting is invalidprotected static void resolveReferenceSegment(SegmentDefList segList) throws SegmentDefException
segList
- the segment list
SegmentDefException
- if any error occurspublic java.lang.String getCustomFactoryClassName()
public java.lang.String queryBcModelerFactoryName(java.lang.String appShortName, java.lang.String flexCode)
appShortName
- the application short nameflexCode
- the flexfield code
queryBcModelerFactoryName(ApplicationIdentifier, String)
public java.lang.String queryBcModelerFactoryName(ApplicationIdentifier aif, java.lang.String flexCode)
aif
- the application informationflexCode
- the flexfield code
|
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 |