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

E22562-02

oracle.apps.fnd.applcore.profiles.profileService.applicationModule
Class ProfileServiceAMImpl

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.profiles.profileService.applicationModule.ProfileServiceAMImpl
All Implemented Interfaces:
java.util.EventListener, OAApplicationModule, OASeedDataService, ProfileServiceAM, 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:
ProfileWSAMImpl

public class ProfileServiceAMImpl
extends OAApplicationModuleImpl
implements ProfileServiceAM

Service for managing profile options and profile option values. ApplCore provides standalone services for each category of functionality that you wish to use. These services leverage standard ADFBC development process. The service context that gets generated is a standard ADFBC Service/AM. We have provided an extended AM method that will allow you to instantiate any ApplCore service/AM and nest that AM under your root application module so the ApplCore services share the same connection with your main transaction. It's critical that we share the connection object so each thread does not consume more than one database connection.

The profile service nested under root AM can be retrieved by calling ProfileServiceAMImpl profileService = (ProfileServiceAMImpl) ((OAApplicationModuleImpl)(getDBTransaction() .getRootApplicationModule())) .getFNDNestedService(OAConstants.PROFILE_SERVICE);

To get the value of a profile option you can call the following method on the profile service: String frameworkAgent = profileService.getProfileValue("Your_Profile_Option");


Field Summary
static java.lang.String FND_NULL_CACHE_VALUE
           
static java.lang.String PRODUCT
           
static java.lang.String SITE
           
static java.lang.String USER
           
 
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.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.apps.fnd.applcore.oaext.model.OASeedDataService
RCS_ID_RECORDED
 
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
ProfileServiceAMImpl()
          This is the default constructor (do not remove).
 
Method Summary
 void clearProfileValue(java.lang.String profileName, java.lang.String levelName, java.lang.String levelValue)
          Clear a profile value for a specific level, if it exists.
 void generateProfileMO()
          Generate the MDS cache document in the database.
static ProfileServiceAM getInstance()
           
static ProfileServiceAM getInstance(java.lang.String pConfig)
           
 ProfileVOImpl getProfile()
          Container's getter for Profile.
 ProfileOptionLevelValueVORow getProfile(java.lang.String pProfileName)
          Get a ProfileOptionValue.
 OAViewObjectImpl getProfileCategory()
          Container's getter for ProfileCategory.
 OAViewObjectImpl getProfileCategoryOption()
          Container's getter for ProfileCategoryOption.
 oracle.jbo.server.ViewLinkImpl getProfileCategoryVOToProfileCategoryOption1()
          Container's getter for ProfileCategoryVOToProfileCategoryOption1.
 java.lang.String getProfileFromDB(java.lang.String pProfileName)
          Force a fetch of the profile option value from the DB.
 OAViewObjectImpl getProfileHierarchy()
          Container's getter for ProfileHierarchy.
 ProfileHierarchyLevelVOImpl getProfileHierarchyLevel()
          Container's getter for ProfileHierarchyLevel.
 oracle.jbo.server.ViewLinkImpl getProfileHierarchyVOToProfileHierarchyLevel1()
          Container's getter for ProfileHierarchyVOToProfileHierarchyLevel1.
 OAViewObjectImpl getProfileLevel()
          Container's getter for ProfileLevel.
 ProfileLevelVORow getProfileLevel(java.lang.String pLevelName)
          Get a profile level.
 OAViewObjectImpl getProfileLevelSequence()
          Container's getter for ProfileLevelSequence.
 OAViewObjectImpl getProfileLoader()
          Container's getter for ProfileLoader.
 ProfileOptionVOImpl getProfileOption()
          Container's getter for ProfileOptions.
 ProfileOptionVORow getProfileOption(java.lang.String pProfileName)
          Get a ProfileOption Row.
 OAViewObjectImpl getProfileOptionLevel()
          Container's getter for ProfileOptionLevel.
 OAViewObjectImpl getProfileOptionLevelLoader()
          Container's getter for ProfileOptionLevelLoader.
 OAViewObjectImpl getProfileOptionLevelValue()
          Container's getter for ProfileOptionLevelValue.
 ProfileOptionVOImpl getProfileOptionLoader()
          Container's getter for ProfileOptionLoader.
 ProfileOptionValueVOImpl getProfileOptionValue()
          Container's getter for ProfileOptionValue.
 ProfileOptionValueVOImpl getProfileOptionValueLoader()
          Container's getter for ProfileOptionValueLoader.
 ProfileOptionValuesForProductsVOImpl getProfileOptionValuesForProducts()
          Container's getter for ProfileOptionValuesForProducts.
 OAViewObjectImpl getProfileOptionValuesForUsers()
          Container's getter for ProfileOptionValuesForUsers.
 oracle.jbo.server.ViewLinkImpl getProfileOptionVOToProfileLevelSequence()
          Container's getter for ProfileOptionVOToProfileLevelSequence.
 oracle.jbo.server.ViewLinkImpl getProfileOptionVOToProfileOptionLevel()
          Container's getter for ProfileOptionVOToProfileOptionLevel.
 oracle.jbo.server.ViewLinkImpl getProfileOptionVOToProfileOptionLevelLoader()
          Container's getter for ProfileOptionVOToProfileOptionLevelLoader.
 oracle.jbo.server.ViewLinkImpl getProfileOptionVOToProfileOptionLevelVaiue()
          Container's getter for ProfileOptionVOToProfileOptionLevelVaiue.
 oracle.jbo.server.ViewLinkImpl getProfileOptionVOToProfileOptionValue()
          Container's getter for ProfileOptionVOToProfileOptionValue.
 oracle.jbo.server.ViewLinkImpl getProfileOptionVOToProfileOptionValueVOLoader()
          Container's getter for ProfileOptionVOToProfileOptionValueVOLoader.
 OAViewObjectImpl getProfileSiteLevelOptionValue()
          Container's getter for ProfileSiteLevelOptionValue.
 OAViewObjectImpl getProfileSiteLevelValue()
          Container's getter for ProfileSiteLevelValue.
 OAViewObjectImpl getProfileUserValues()
          Container's getter for ProfileUserValues.
 java.lang.String getProfileValue(ProfileOptionLevelValueVORow pProfile)
          Get a specific-level profile value.
 java.lang.String getProfileValue(java.lang.String pProfileName)
          Get a profile value.
 oracle.jbo.RowIterator getProfileValueValidation(java.lang.String profileName)
          Return a RowIterator for profile value LOV.
 ProfileOptionLevelValueVORow getSpecificProfile(ProfileLevelVORow pLevel, java.lang.String pProfileName)
          Get a specific-level profile value.
 ProfileOptionLevelValueVORow getSpecificProfile(ProfileLevelVORow pLevel, java.lang.String pProfileName, java.lang.String pLevelValue)
          Get a specific-level profile value.
 ProfileOptionLevelValueVORow getSpecificProfile(java.lang.String pLevelName, ProfileOptionVORow pProfile)
          Get a specific-level profile value.
 ProfileOptionLevelValueVORow getSpecificProfile(java.lang.String pLevelName, java.lang.String pProfileName)
          Get a specific-level profile value.
 ProfileOptionLevelValueVORow getSpecificProfile(java.lang.String pLevelName, java.lang.String pProfileName, java.lang.String pLevelValue)
          Get a specific-level profile value.
 java.lang.String getSpecificProfileValue(ProfileLevelVORow pLevel, java.lang.String pProfileName)
          Get a specific-level profile value.
 java.lang.String getSpecificProfileValue(java.lang.String pLevelName, java.lang.String pProfileName)
          Get a specific-level profile value.
 java.lang.String getSpecificProfileValue(java.lang.String pLevelName, java.lang.String pProfileName, java.lang.String pLevelValue)
          Get a specific-level profile value.
 SqlValidationVOImpl getSqlValidation()
          Container's getter for SqlValidation.
 void invalidateProfileCache()
          Invalidate the entire profile cache.
protected  void prepareSession(oracle.jbo.Session session)
           
 void ResetProfileValueVO()
          Get the current row and retrieve the SQL statement for this profile option Set the query on the ProfileOptionValuesLOVVO and execute the query
 void setProfileValue(java.lang.String profileName, java.lang.String levelName, java.lang.String levelValue, java.lang.String profileValue)
          Save a new profile value for a specific level.
 
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, 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.apps.fnd.applcore.profiles.profileService.applicationModule.common.ProfileServiceAM
getFNDNestedService
 
Methods inherited from interface oracle.jbo.ApplicationModule
activateState, activateState, activateState, activateStateForUndo, addWarning, clearVOCaches, createApplicationModule, createComponentObject, createCompositeViewDef, createViewLink, createViewLinkBetweenViewObjects, createViewLinkFromEntityAssocName, createViewObject, createViewObjectFromQueryClauses, createViewObjectFromQueryStmt, createViewObjectFromQueryStmt, createViewObjectOnEntity, createViewObjectOnRowSet, doPoolMessage, executeQueryOnViewObjects, fetchAttributeProperties, findApplicationModule, findComponentObject, findRSIForEntity, findViewLink, findViewObject, findViewObjectUsingEntity, findViewObjectWithParameters, getApplicationModuleNames, getApplicationModuleNames, getExceptionHandler, getListBindingName, getListBindingRSI, getMostRecentStackId, getPreferredListRSI, getReleaseLevel, getSession, getStyles, getSyncLock, getSyncMode, getTransaction, getViewLinkNames, getViewLinkNames, getViewObjectNames, getViewObjectNames, isRoot, isValidIdForUndo, passivateState, passivateState, passivateState, passivateState, passivateStateForUndo, prepareSession, prepareViewObjects, processChangeNotifications, removeState, reservePassivationId, reserveSnapshotId, resetState, resetState, setExceptionHandler, setReleaseLevel, setStoreForPassiveState, setStyles, setSyncMode, sync, transformExceptionParams
 
Methods inherited from interface oracle.jbo.ComponentObject
getDefFullName, getDefName, getFullName, getName, remove
 
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
 

Field Detail

SITE

public static final java.lang.String SITE
See Also:
Constant Field Values

PRODUCT

public static final java.lang.String PRODUCT
See Also:
Constant Field Values

USER

public static final java.lang.String USER
See Also:
Constant Field Values

FND_NULL_CACHE_VALUE

public static final java.lang.String FND_NULL_CACHE_VALUE
See Also:
Constant Field Values
Constructor Detail

ProfileServiceAMImpl

public ProfileServiceAMImpl()
This is the default constructor (do not remove).

Method Detail

ResetProfileValueVO

public void ResetProfileValueVO()
Get the current row and retrieve the SQL statement for this profile option Set the query on the ProfileOptionValuesLOVVO and execute the query

Specified by:
ResetProfileValueVO in interface ProfileServiceAM

getInstance

public static final ProfileServiceAM getInstance()
Returns:

getInstance

public static final ProfileServiceAM getInstance(java.lang.String pConfig)
Parameters:
pConfig -
Returns:

getProfileOption

public ProfileOptionVOImpl getProfileOption()
Container's getter for ProfileOptions.

Returns:
ProfileOptions VO

getProfileOption

public ProfileOptionVORow getProfileOption(java.lang.String pProfileName)
Get a ProfileOption Row.

Parameters:
pProfileName - the name of the profile
Returns:
ProfileOptionsVORow

getProfile

public ProfileOptionLevelValueVORow getProfile(java.lang.String pProfileName)
Get a ProfileOptionValue.

Parameters:
pProfileName - the name of the profile
Returns:
ProfileOptionValuesVORow

generateProfileMO

public void generateProfileMO()
Generate the MDS cache document in the database. This is just a catch in case the product team or customer has not loaded the ProfileMO placeholder MDS document into the database


getProfileFromDB

public java.lang.String getProfileFromDB(java.lang.String pProfileName)
Force a fetch of the profile option value from the DB. This call does not use the profile cache. It's called by the standard profile API's if the profile cache is disabled.

Parameters:
pProfileName - the name of the profile
Returns:
the profile value

getProfileValue

public java.lang.String getProfileValue(java.lang.String pProfileName)
Get a profile value.

Specified by:
getProfileValue in interface ProfileServiceAM
Parameters:
pProfileName - the name of the profile
Returns:
the profile value

invalidateProfileCache

public void invalidateProfileCache()
Invalidate the entire profile cache. This API should only be called if some profile value has changed. We call this API from the Manage Profile Values UI automatically.

Specified by:
invalidateProfileCache in interface ProfileServiceAM

getSpecificProfile

public ProfileOptionLevelValueVORow getSpecificProfile(java.lang.String pLevelName,
                                                       ProfileOptionVORow pProfile)
Get a specific-level profile value.

Parameters:
pLevelName -
pProfile - the name of the profile
Returns:
the profile value

getSpecificProfile

public ProfileOptionLevelValueVORow getSpecificProfile(java.lang.String pLevelName,
                                                       java.lang.String pProfileName)
Get a specific-level profile value.

Parameters:
pLevelName -
pProfileName - the name of the profile
Returns:
the profile value

getSpecificProfile

public ProfileOptionLevelValueVORow getSpecificProfile(java.lang.String pLevelName,
                                                       java.lang.String pProfileName,
                                                       java.lang.String pLevelValue)
Get a specific-level profile value.

Parameters:
pLevelName -
pProfileName - the name of the profile
Returns:
the profile value

getProfileLevel

public ProfileLevelVORow getProfileLevel(java.lang.String pLevelName)
Get a profile level.

Parameters:
pLevelName -
Returns:
the profile value

getSpecificProfile

public ProfileOptionLevelValueVORow getSpecificProfile(ProfileLevelVORow pLevel,
                                                       java.lang.String pProfileName)
Get a specific-level profile value.

Parameters:
pLevel -
pProfileName - the name of the profile
Returns:
the profile value

getSpecificProfile

public ProfileOptionLevelValueVORow getSpecificProfile(ProfileLevelVORow pLevel,
                                                       java.lang.String pProfileName,
                                                       java.lang.String pLevelValue)
Get a specific-level profile value.

Parameters:
pLevel -
pProfileName - the name of the profile
Returns:
the profile value

getProfileValue

public java.lang.String getProfileValue(ProfileOptionLevelValueVORow pProfile)
Get a specific-level profile value.

Parameters:
pProfile - the name of the profile
Returns:
the profile value

getSpecificProfileValue

public java.lang.String getSpecificProfileValue(java.lang.String pLevelName,
                                                java.lang.String pProfileName)
Get a specific-level profile value.

Specified by:
getSpecificProfileValue in interface ProfileServiceAM
Parameters:
pLevelName -
pProfileName - the name of the profile
Returns:
the profile value

getSpecificProfileValue

public java.lang.String getSpecificProfileValue(java.lang.String pLevelName,
                                                java.lang.String pProfileName,
                                                java.lang.String pLevelValue)
Get a specific-level profile value.

Specified by:
getSpecificProfileValue in interface ProfileServiceAM
Parameters:
pLevelName -
pProfileName - the name of the profile
pLevelValue -
Returns:
the profile value

getSpecificProfileValue

public java.lang.String getSpecificProfileValue(ProfileLevelVORow pLevel,
                                                java.lang.String pProfileName)
Get a specific-level profile value.

Parameters:
pLevel -
pProfileName - the name of the profile
Returns:
the profile value

setProfileValue

public void setProfileValue(java.lang.String profileName,
                            java.lang.String levelName,
                            java.lang.String levelValue,
                            java.lang.String profileValue)
Save a new profile value for a specific level. Caller is responsible to commit changes.

Specified by:
setProfileValue in interface ProfileServiceAM
Parameters:
profileName - Name of profile
levelName - Name of level. Must be a valid level for the profile hierarchy, for DEFAULT one of: SITE, PRODUCT, USER.
levelValue - Level value. Must be a valid value for this level.
profileValue - New profile value. Must be a valid value for this profile, and must be non-null. Use clearProfileValue() to remove a profile value.

clearProfileValue

public void clearProfileValue(java.lang.String profileName,
                              java.lang.String levelName,
                              java.lang.String levelValue)
Clear a profile value for a specific level, if it exists. If profile value does not exist at this level returns without error. Caller is responsible to commit changes.

Specified by:
clearProfileValue in interface ProfileServiceAM
Parameters:
profileName - Name of profile
levelName - Name of level. Must be a valid level for the profile hierarchy, for DEFAULT one of: SITE, PRODUCT, USER.
levelValue - Level value. Must be a valid value for this level.

getProfileValueValidation

public oracle.jbo.RowIterator getProfileValueValidation(java.lang.String profileName)
Return a RowIterator for profile value LOV. The RowIterator returned will have 2 attributes: VisibleValue - The value to display to user in LOV Value - The internal value to store in the table If profile has no LOV for values then null is returned. If SQL statement is valid but returns no rows then an empty RowIterator is returned. If SQL statement is invalid exception is raised.

Parameters:
profileName - The profile name
Returns:
A row iterator for LOV.

getProfileOptionValue

public ProfileOptionValueVOImpl getProfileOptionValue()
Container's getter for ProfileOptionValue.


getProfileOptionVOToProfileOptionValue

public oracle.jbo.server.ViewLinkImpl getProfileOptionVOToProfileOptionValue()
Container's getter for ProfileOptionVOToProfileOptionValue.


getProfileLevel

public OAViewObjectImpl getProfileLevel()
Container's getter for ProfileLevel.


getProfileLevelSequence

public OAViewObjectImpl getProfileLevelSequence()
Container's getter for ProfileLevelSequence.


getProfileOptionVOToProfileLevelSequence

public oracle.jbo.server.ViewLinkImpl getProfileOptionVOToProfileLevelSequence()
Container's getter for ProfileOptionVOToProfileLevelSequence.


getProfileOptionLevelValue

public OAViewObjectImpl getProfileOptionLevelValue()
Container's getter for ProfileOptionLevelValue.


getProfileOptionVOToProfileOptionLevelVaiue

public oracle.jbo.server.ViewLinkImpl getProfileOptionVOToProfileOptionLevelVaiue()
Container's getter for ProfileOptionVOToProfileOptionLevelVaiue.


getProfileOptionLevel

public OAViewObjectImpl getProfileOptionLevel()
Container's getter for ProfileOptionLevel.


getProfileOptionVOToProfileOptionLevel

public oracle.jbo.server.ViewLinkImpl getProfileOptionVOToProfileOptionLevel()
Container's getter for ProfileOptionVOToProfileOptionLevel.


getProfileHierarchy

public OAViewObjectImpl getProfileHierarchy()
Container's getter for ProfileHierarchy.


getProfileCategory

public OAViewObjectImpl getProfileCategory()
Container's getter for ProfileCategory.


getProfileCategoryOption

public OAViewObjectImpl getProfileCategoryOption()
Container's getter for ProfileCategoryOption.


getProfileCategoryVOToProfileCategoryOption1

public oracle.jbo.server.ViewLinkImpl getProfileCategoryVOToProfileCategoryOption1()
Container's getter for ProfileCategoryVOToProfileCategoryOption1.


getProfile

public ProfileVOImpl getProfile()
Container's getter for Profile.

Returns:
Profile

getProfileLoader

public OAViewObjectImpl getProfileLoader()
Container's getter for ProfileLoader.

Returns:
ProfileLoader

getProfileHierarchyLevel

public ProfileHierarchyLevelVOImpl getProfileHierarchyLevel()
Container's getter for ProfileHierarchyLevel.

Returns:
ProfileHierarchyLevel

getProfileHierarchyVOToProfileHierarchyLevel1

public oracle.jbo.server.ViewLinkImpl getProfileHierarchyVOToProfileHierarchyLevel1()
Container's getter for ProfileHierarchyVOToProfileHierarchyLevel1.

Returns:
ProfileHierarchyVOToProfileHierarchyLevel1

getProfileSiteLevelValue

public OAViewObjectImpl getProfileSiteLevelValue()
Container's getter for ProfileSiteLevelValue.

Returns:
ProfileSiteLevelValue

getProfileUserValues

public OAViewObjectImpl getProfileUserValues()
Container's getter for ProfileUserValues.

Returns:
ProfileUserValues

getSqlValidation

public SqlValidationVOImpl getSqlValidation()
Container's getter for SqlValidation.

Returns:
SqlValidation

getProfileOptionValuesForUsers

public OAViewObjectImpl getProfileOptionValuesForUsers()
Container's getter for ProfileOptionValuesForUsers.

Returns:
ProfileOptionValuesForUsers

getProfileSiteLevelOptionValue

public OAViewObjectImpl getProfileSiteLevelOptionValue()
Container's getter for ProfileSiteLevelOptionValue.

Returns:
ProfileSiteLevelOptionValue

prepareSession

protected void prepareSession(oracle.jbo.Session session)
Overrides:
prepareSession in class OAApplicationModuleImpl

getProfileOptionValuesForProducts

public ProfileOptionValuesForProductsVOImpl getProfileOptionValuesForProducts()
Container's getter for ProfileOptionValuesForProducts.

Returns:
ProfileOptionValuesForProducts

getProfileOptionLoader

public ProfileOptionVOImpl getProfileOptionLoader()
Container's getter for ProfileOptionLoader.

Returns:
ProfileOptionLoader

getProfileOptionLevelLoader

public OAViewObjectImpl getProfileOptionLevelLoader()
Container's getter for ProfileOptionLevelLoader.

Returns:
ProfileOptionLevelLoader

getProfileOptionVOToProfileOptionLevelLoader

public oracle.jbo.server.ViewLinkImpl getProfileOptionVOToProfileOptionLevelLoader()
Container's getter for ProfileOptionVOToProfileOptionLevelLoader.

Returns:
ProfileOptionVOToProfileOptionLevelLoader

getProfileOptionValueLoader

public ProfileOptionValueVOImpl getProfileOptionValueLoader()
Container's getter for ProfileOptionValueLoader.

Returns:
ProfileOptionValueLoader

getProfileOptionVOToProfileOptionValueVOLoader

public oracle.jbo.server.ViewLinkImpl getProfileOptionVOToProfileOptionValueVOLoader()
Container's getter for ProfileOptionVOToProfileOptionValueVOLoader.

Returns:
ProfileOptionVOToProfileOptionValueVOLoader

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

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.