Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

oracle.apps.fnd.applcore.oaext.model
Class KFFApplicationModuleImpl

java.lang.Object
  extended by oracle.jbo.common.NamedObjectImpl
      extended by oracle.jbo.server.NamedObjectImpl
          extended by oracle.jbo.server.ComponentObjectImpl
              extended by oracle.jbo.server.ContainerObjectImpl
                  extended by oracle.jbo.server.ApplicationModuleImpl
                      extended by oracle.apps.fnd.applcore.oaext.model.OAApplicationModuleImpl
                          extended by oracle.apps.fnd.applcore.oaext.model.FlexfieldApplicationModuleImpl
                              extended by oracle.apps.fnd.applcore.oaext.model.KFFApplicationModuleImpl
All Implemented Interfaces:
java.util.EventListener, OAApplicationModule, OASeedDataService, oracle.jbo.ApplicationModule, oracle.jbo.common.TransPostControl, oracle.jbo.common.ws.WSApplicationModuleMarshaller, oracle.jbo.ComponentObject, oracle.jbo.ExprWrappable, oracle.jbo.GenericHints, oracle.jbo.OperationContainer, oracle.jbo.Properties, oracle.jbo.server.ContainerObject, oracle.jbo.server.TransactionListener, oracle.jbo.VariableManagerOwner, oracle.jbo.VariableManagerOwnerBase, oracle.jbo.WarningContainer, oracle.svcmsg.SvcMsgReceiver, oracle.svcmsg.SvcMsgSender
Direct Known Subclasses:
KFFMApplicationModuleImpl

public class KFFApplicationModuleImpl
extends FlexfieldApplicationModuleImpl

Component class for key flexfield application modules.


Field Summary
 
Fields inherited from class oracle.apps.fnd.applcore.oaext.model.OAApplicationModuleImpl
RCS_ID
 
Fields inherited from class oracle.jbo.server.ApplicationModuleImpl
DEFAULT_DEF_NAME, SHARED_SCOPE_APPLICATION, SHARED_SCOPE_SESSION
 
Fields inherited from class oracle.jbo.server.ContainerObjectImpl
mComponentList, mComponents
 
Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX
 
Fields inherited from interface oracle.apps.fnd.applcore.oaext.model.OASeedDataService
RCS_ID_RECORDED
 
Fields inherited from interface oracle.jbo.ApplicationModule
ACTIVATE_CLIENT_FLAG, ACTIVATE_REMOVE_FLAG, ACTIVATE_SKIP_RESTORE_VO_FROM_DEF, ACTIVATE_TRANSIENT_FLAG, ACTIVATE_UNDO_FLAG, DEFAULT_DEF_FULL_NAME, DEFAULT_ROOT_APP_MOD_NAME, EFF_DT_PROPERTY_STR, IMAGE_LOC, PASSIVATE_DEFER_FLAG, PASSIVATE_HINT_FLAG, PASSIVATE_TO_DATABASE, PASSIVATE_TO_FILE, PASSIVATE_TO_MEMORY, PASSIVATE_TO_STACK_FLAG, PASSIVATE_TRANSIENT_FLAG, PASSIVATE_UNDO_FLAG, RELEASE_LEVEL_MANAGED, RELEASE_LEVEL_RESERVED, RELEASE_LEVEL_UNMANAGED, REMOVE_SNAPSHOT, RESET_CLIENT_ONLY_FLAG, RESET_INTERNAL_FLAG, RESET_KEEP_ALL_SNAPSHOTS_FLAG, RESET_MANAGE_SNAPSHOTS, RESET_RELOAD_FLAG, RESET_ROLLBACK_FLAG, SYNC_BATCH, SYNC_IMMEDIATE, SYNC_LAZY
 
Fields inherited from interface oracle.jbo.GenericHints
PROPERTY_LABEL, PROPERTY_LABEL_PLURAL, PROPERTY_TOOLTIP
 
Fields inherited from interface oracle.jbo.common.TransPostControl
TRANS_POST_GET_ATTR_BY_INDEX, TRANS_POST_GET_ATTR_BY_NAME, TRANS_POST_GET_ATTR_COUNT, TRANS_POST_GET_ATTR_INDEX_OF, TRANS_POST_GET_STRUCTURE_DEF, TRANS_POST_PUSHBACK, TRANS_POST_REFRESH_UNDO_CHANGES, TRANS_POST_REFRESH_WITH_DB_FORGET_CHANGES, TRANS_POST_REFRESH_WITH_DB_ONLY_IF_UNCHANGED, TRANS_POST_REMOVE, TRANS_POST_SET_ATTR_BY_INDEX, TRANS_POST_SET_ATTR_BY_NAME
 
Fields inherited from interface oracle.jbo.common.ws.WSApplicationModuleMarshaller
ACTIVATION_AFTER_LOSS_OF_AFFINITY, ACTIVATION_AFTER_RESTART, ACTIVATION_NONE, SYNC_INT_BATCH, SYNC_INT_BATCH_DO_WORK
 
Constructor Summary
KFFApplicationModuleImpl()
           
 
Method Summary
 java.lang.Long getCodeCombinationID(long sin, java.lang.String combination)
          Gets the ID for a code combination.
 java.lang.Long getCodeCombinationID(java.lang.String sic, java.lang.String combination)
          Gets the ID for a code combination.
 java.util.Map<java.lang.String,java.lang.Object> getCodeCombinationKey(long sin, java.lang.String combination)
          Gets the key values that represent a code combination.
protected  java.util.Map<java.lang.String,java.lang.Object> getCodeCombinationKey(java.lang.Object discrValue, java.util.Map<java.lang.String,java.lang.Object> segValues)
          Gets the combination key values.
 java.lang.Object getDiscriminatorValue(java.lang.Long sin)
          Gets the discriminator value based on a structure instance number.
 java.lang.Object getDiscriminatorValue(java.lang.String sic)
          Gets the discriminator value based on a structure instance code.
 FlexfieldSdoSupport getSdoSupport(java.lang.String structureInstanceCode)
          Gets the SDO suport for a structure instance.
 java.lang.String getStructureCode(long sin)
          Deprecated.  
 java.lang.String getStructureInstanceCode(long sin)
          Gets the structure instance code for a structure instance number.
 java.lang.Long getStructureInstanceNumber(java.lang.String code)
          Gets the structure instance number for a structure code.
 boolean isDynamicCombinationCreationAllowed()
          Returns true if the flexfield allows dynamic combination creation.
 boolean isDynamicCombinationCreationAllowed(java.lang.Object discrValue)
          Returns true if dynamic combination creation is allowed.
 
Methods inherited from class oracle.apps.fnd.applcore.oaext.model.FlexfieldApplicationModuleImpl
getDefaultViewObject, getLabeledAttributes, getModelID, getSdoSupport, getViewDefImpl
 
Methods inherited from class oracle.apps.fnd.applcore.oaext.model.OAApplicationModuleImpl
getFNDNestedService, getFNDNestedService, getNLSLanguageForSeedData, getSeedContext, getSequenceValue, getSetId, invalidateSetIdCache, invalidateSetIdCache, isResetting, isSeedDataExtractMode, isSeedDataMode, isSeedDataUploadMode, isT2PMode, prepareSession, prepareSession, resetState, resetState, seedExtract, seedUpload, seedUpload, seedUpload, setNLSLanguageForSeedData, setSeedContext, setT2PMode, synchronizeApplSessionWithDB, unSetT2PMode
 
Methods inherited from class oracle.jbo.server.ApplicationModuleImpl
activate, activateConnectionState, activateOpenVOs, activateState, activateState, activateState, activateState, activateStateForUndo, addChild, addResponse, addWarning, afterActivation, afterCommit, afterConnect, afterRemove, afterRollback, afterValidate, beforeCommit, beforeDisconnect, beforeRollback, beforeValidate, bindToWorkingSet, clearVOCaches, createApplicationModule, createComponentObject, createCompositeViewDef, createRootApplicationModule, createSharedDataHandle, createViewLink, createViewLink, createViewLinkBetweenViewObjects, createViewLinkFromEntityAssocName, createViewObject, createViewObject, createViewObjectForDef, createViewObjectFromQueryClauses, createViewObjectFromQueryStmt, createViewObjectFromQueryStmt, createViewObjectOnEntity, createViewObjectOnRowSet, createWorkerApplicationModule, createXMLSharedDataHandle, detach, doMessage, doPoolMessage, dumpQueryResult, executeCommand, executeQueryOnViewObjects, fetchAttributeProperties, findApplicationModule, findComponentObject, findObject, findObject, findOrCreateSharedApplicationModule, findRSIForEntity, findViewLink, findViewObject, findViewObjectUsingEntity, findViewObjectWithParameters, findVOsWithEntityUsage, findVOsWithEntityUsage, finishLoadingComponents, finishSyncWorkingSet, getAMStatistics, getApplicationModuleDef, getApplicationModuleImpls, getApplicationModuleNames, getApplicationModuleNames, getAppModuleRequestHandler, getAttributeDefs, getAttributeDefs, getAttributeDefsForVO, getClientProxyClassName, getClientProxyClassName, getClientProxyInterfaceName, getComponentObjectNames, getComponentObjectNames, getCurrentWorkingSet, getDBTransaction, getDefFullName, getDefName, getEntityAttributesPermission, getEntityRowFromHandle, getExceptionHandler, getImageLoc, getListBindingName, getListBindingRSI, getMostRecentStackId, getObjectMarshaller, getPreferredListRSI, getReleaseLevel, getRemoteObjectId, getResponseName, getSession, getStyles, getSyncLock, getSyncMode, getTransaction, getTransactionInternal, getUserPrincipalName, getViewAttributesPermission, getViewLinkNames, getViewLinkNames, getViewLinks, getViewObjectNames, getViewObjectNames, getViewObjects, getWorkingSetMarshaller, handleDefinitionChangedOnActivate, hasPendingDataPosts, internalGetListBindingRSI, invokeMethod, isForRemote, isLoadComponentsLazily, isNameGenerated, isRoot, isTransientTransactionListener, isValidIdForUndo, launchTester, marshal, marshalForActivate, passivateConnectionState, passivateOpenVOs, passivateState, passivateState, passivateState, passivateState, passivateState, passivateStateForUndo, prepareApplicationModuleSession, prepareForActivation, prepareForPassivation, prepareSession, prepareViewObjects, processChangeNotifications, remove, removeChild, removeState, reservePassivationId, reserveSnapshotId, reset, resetState, selectAttributesForViewObjects, sendServiceMessage, sendWorkingSetRequests, setBoundToWorkingSet, setDataModelRefresh, setDBConnectionRequired, setExceptionHandler, setLoadComponentsLazily, setReleaseLevel, setRemoteAdapter, setSessionUserData, setStoreForPassiveState, setStyles, setSyncMode, setWorkingSetMarshaller, sync, syncMarshaller, syncWorkingSet, transformExceptionParams, transformExceptionParams, transPostGetAttr, transPostPushback, transPostRefresh, transPostRemove, transPostRevert, transPostRowOp, transPostSetAttr, transPostSetAttrValues
 
Methods inherited from class oracle.jbo.server.ContainerObjectImpl
addContainerListener, removeContainerListener
 
Methods inherited from class oracle.jbo.server.ComponentObjectImpl
addListener, applyPersonalization, create, createRef, createVariableValueManager, ensureVariableManager, findOperationDefinitions, getAllProperties, getApplicationModule, getCompListeners, getCompListenersList, getDefinitionManager, getFullNameForPersDef, getHintValue, getLabel, getLabelPlural, getMessageBundleClass, getProxyClassName, getProxyClassName, getResourceBundleDef, getRootApplicationModule, getStringFromMessageBundle, getTooltip, getVariableManager, hasVariables, isDead, isPersonalized, isRegWithPiggyMan, resolvePropertyRaw, setName, setParent, setProxyClassName
 
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.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
 
Methods inherited from interface oracle.jbo.VariableManagerOwner
getName
 

Constructor Detail

KFFApplicationModuleImpl

public KFFApplicationModuleImpl()
Method Detail

getStructureInstanceNumber

public java.lang.Long getStructureInstanceNumber(java.lang.String code)
Gets the structure instance number for a structure code.

Parameters:
code - the structure code
Returns:
the structure instance number; null if not found

getStructureCode

public java.lang.String getStructureCode(long sin)
Deprecated. 

Use getStructureInstanceCode instead.

Parameters:
sin -
Returns:
See Also:
getStructureInstanceCode(long)

getSdoSupport

public FlexfieldSdoSupport getSdoSupport(java.lang.String structureInstanceCode)
Gets the SDO suport for a structure instance.

Parameters:
structureInstanceCode - the structure instance code
Returns:
the SDO support for a structure instance; null if the structure code is not recognized

getStructureInstanceCode

public java.lang.String getStructureInstanceCode(long sin)
Gets the structure instance code for a structure instance number.

Parameters:
sin - the structure instance number
Returns:
the structure instance code; null if not found

getDiscriminatorValue

public java.lang.Object getDiscriminatorValue(java.lang.Long sin)
Gets the discriminator value based on a structure instance number.

This method is used to determine the discriminator value this flexfield polymorphic view collection uses. Conceptually the key flexfield structure is the discriminator, but a structure can be represented by a sequence number (Sturcture Instance Number) or a fixed name (Structure Code). This method returns the object used as the discriminator value for the given sturcture indicated by its SIN.

Parameters:
sin - the structure instance number
Returns:
the discriminator value; null if the given structure instance number is null

getDiscriminatorValue

public java.lang.Object getDiscriminatorValue(java.lang.String sic)
Gets the discriminator value based on a structure instance code.

Parameters:
sic - the structure instance code
Returns:
the discriminator value
See Also:
getDiscriminatorValue(Long)

getCodeCombinationID

public java.lang.Long getCodeCombinationID(long sin,
                                           java.lang.String combination)
Gets the ID for a code combination. Do not use this method if the key flexfield has a data set number segment. This method does not take combination constraints into consideration.

Parameters:
sin - the structure instance number
combination - the code combination
Returns:
the ID for the code combination

getCodeCombinationKey

public java.util.Map<java.lang.String,java.lang.Object> getCodeCombinationKey(long sin,
                                                                              java.lang.String combination)
Gets the key values that represent a code combination. Do not use this method if the key flexfield has a data set number segment. This method does not take combination constraints into consideration.

Parameters:
sin - the structure instance number
combination - the code combination
Returns:
the combination key values; empty map if the combination is not found. To access individual key values, use the constants defined in KFFViewDefImpl.ComboKey as the map keys.

getCodeCombinationID

public java.lang.Long getCodeCombinationID(java.lang.String sic,
                                           java.lang.String combination)
Gets the ID for a code combination. Do not use this method if the key flexfield has a data set number segment. This method does not take combination constraints into consideration.

Parameters:
sic - the structure instance code
combination - the code combination
Returns:
the ID for the code combination

getCodeCombinationKey

protected java.util.Map<java.lang.String,java.lang.Object> getCodeCombinationKey(java.lang.Object discrValue,
                                                                                 java.util.Map<java.lang.String,java.lang.Object> segValues)
Gets the combination key values. Do not use this method if the key flexfield has a data set number segment. This method does not take combination constraints into considertaion.

Parameters:
discrValue - the discriminator value
segValues - the segment values
Returns:
the combination key values; empty map if not found. To access individual key values, use the constants defined in KFFViewDefImpl.ComboKey as the map keys.

isDynamicCombinationCreationAllowed

public boolean isDynamicCombinationCreationAllowed()
Returns true if the flexfield allows dynamic combination creation. Note that this method does not tell you whether dynamic combination creation is allowed or not for a given structure.

This method is the same as isDynamicCombinationCreationAllowed(null).

Returns:
true if the flexfield allows dynamic combination creation.
See Also:
isDynamicCombinationCreationAllowed(Object)

isDynamicCombinationCreationAllowed

public boolean isDynamicCombinationCreationAllowed(java.lang.Object discrValue)
Returns true if dynamic combination creation is allowed.

Parameters:
discrValue - the discriminator value; null if the result should be determined by the flexfield definition
Returns:
true if dynamic combination creation is allowed

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.