Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.flex.runtime.util.service
Class ExtensibleFlexfieldServiceUtil

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.runtime.util.common.ExtensibleFlexfieldUtil
      extended by oracle.apps.fnd.applcore.flex.runtime.util.service.ExtensibleFlexfieldServiceUtil

public class ExtensibleFlexfieldServiceUtil
extends ExtensibleFlexfieldUtil

Since:
release specific (what release of product did this appear in)
Version:
$Header: atgpf/applcore/applications/FlexModeler/Model/src/oracle/apps/fnd/applcore/flex/runtime/util/service/ExtensibleFlexfieldServiceUtil.java /st_atgpf_pt-11.1.1.7.0/2 2013/01/19 22:50:15 abhaykum Exp $
kghosh

Constructor Summary
ExtensibleFlexfieldServiceUtil()
           
 
Method Summary
static java.util.List<java.lang.String> getAllValidContextForCategory(java.lang.Long applicationId, java.lang.String flexCode, oracle.jbo.server.DBTransaction txn, java.lang.String categoryCode)
          This method returns the List of all the valid context code for a given category.
static java.lang.String getAttributeNameFromELExp(java.lang.String elExp)
          gets the Attribute Name from an el expression.
static java.util.List<java.lang.String> getAutoSubmitSegmentContextList(java.lang.String descriptiveFlexfieldCode)
          gets the list of segments that need to be marked with autosubmit true based on the defaulting and valueset with binds logic.
static oracle.jbo.ApplicationModule getDescriptiveFlexfieldServiceAM()
           
static java.util.List<java.util.List<java.lang.String>> getSourceTargetSegmentContextList(java.lang.String descriptiveFlexfieldCode)
           
static void releaseDescriptiveFlexfieldServiceAM(oracle.jbo.ApplicationModule am)
           
 
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.util.common.ExtensibleFlexfieldUtil
defaultEFFRows, formattedPageName, getAdfbcUsageRowWrapper, getAllContextVOForBaseVO, getApplicationModuleName, getApplicationModuleName, getApplicationModuleName, getArtifactsPropertiesAMName, getCategoryAmNameForDataEntry, getCategoryAmNameForDataEntry, getCategoryAmNameForInterfaceCategory, getCategoryAmNameForInterfaceGeneric, getCategoryAmNameForSearchCategory, getCategoryAmNameForSearchGeneric, getCategoryAmNameForWebServices, getCategoryContextAdditionalAssocName, getCategoryContextAdditionalAssocName, getCategoryContextAssocName, getCategoryContextDefHeader, getCategoryContextViewLinkNameForDataEntry, getCategoryContextViewLinkNameForInterfaceCategory, getCategoryContextViewLinkNameForInterfaceGeneric, getCategoryContextViewLinkNameForSearchCategory, getCategoryContextViewLinkNameForSearchGeneric, getCategoryContextViewLinkNameForWebService, getCategoryDefHeader, getCategoryMetadataAm, getCategoryVoNameForDataEntry, getCategoryVoNameForInterfaceCategory, getCategoryVoNameForInterfaceGeneric, getCategoryVoNameForSearchCategory, getCategoryVoNameForSearchGeneric, getCategoryVoNameForWebServices, getConnectionUrl, getContextAttributeName, getContextEoName, getContextVoName, getCustomizations, getDefImportMapAMName, getDffMetadataAm, getMDSDocumentName, getNamingScheme, getPageLinksFragmentName, getPageLinksTaskflowName, getPageTaskFlowName, getPropertiesAM, getSearchTaskFlowName, getSearchVoAttributeNames, getViewLinkAccessorName, isCategoryDisabled, isUOMAttribute, releaseResources, setEffBcModelerNaming, useServiceProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensibleFlexfieldServiceUtil

public ExtensibleFlexfieldServiceUtil()
Method Detail

getAllValidContextForCategory

public static java.util.List<java.lang.String> getAllValidContextForCategory(java.lang.Long applicationId,
                                                                             java.lang.String flexCode,
                                                                             oracle.jbo.server.DBTransaction txn,
                                                                             java.lang.String categoryCode)
This method returns the List of all the valid context code for a given category.

The method accepts four mandatory parameters.
Long - Application Id
String - Flex Code
DBTransaction - Database Transaction
String - Category Code

It returns all the contexts that valid for the category code that is passed as parameter. The valid contexts include those contexts that are associated to the parent category and above in the hierarchy.

Parameters:
applicationId -
flexCode -
txn -
categoryCode -
Returns:
all the valid context code for the category

getAttributeNameFromELExp

public static java.lang.String getAttributeNameFromELExp(java.lang.String elExp)
gets the Attribute Name from an el expression. This is an internal method to ApplCore. Currently this el expressions are valid Header expressions or Sort Property expressions. We need to see if these can be used for other Expressions as well. The important method of finding the attribute name is that it is expected to be after the token - hints

Parameters:
elExp - el expression that contains the attribute name
Returns:
the attribute name

getSourceTargetSegmentContextList

public static java.util.List<java.util.List<java.lang.String>> getSourceTargetSegmentContextList(java.lang.String descriptiveFlexfieldCode)

getAutoSubmitSegmentContextList

public static java.util.List<java.lang.String> getAutoSubmitSegmentContextList(java.lang.String descriptiveFlexfieldCode)
gets the list of segments that need to be marked with autosubmit true based on the defaulting and valueset with binds logic. for the defaulting logic only the source is marked with this property, for the valueset with binds feature both the source and target is marked true

Parameters:
descriptiveFlexfieldCode - current descriptive flexfield code
Returns:
list of segment context combinations

getDescriptiveFlexfieldServiceAM

public static oracle.jbo.ApplicationModule getDescriptiveFlexfieldServiceAM()

releaseDescriptiveFlexfieldServiceAM

public static void releaseDescriptiveFlexfieldServiceAM(oracle.jbo.ApplicationModule am)

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.