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

E22562-03

oracle.apps.fnd.applcore.flex.runtime.util.common
Class CategoryDefManagerImpl

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.runtime.util.common.CategoryDefManagerImpl
Direct Known Subclasses:
CategoryContextDefManagerImpl

public class CategoryDefManagerImpl
extends java.lang.Object

This class gets all necessary category metadata TODO: We shouldn't have this class. Move all methods out of it.

Since:
2008-07-18
Author:
ssarnoba

Field Summary
static java.lang.String MASTER
           
static java.lang.String REUSE
           
 
Constructor Summary
protected CategoryDefManagerImpl()
           
 
Method Summary
static CategoryDef buildCategoryDef(java.lang.String applicationId, java.lang.String categoryCode, java.lang.String dffCode, ApplicationResources connUrl, EffCustomizations customizations, CategoryDef parentCategoryDef, CategoryConfig categoryConfig)
          Builds View Objects at each flex usage level (i.e.
static void buildCategoryDefFromAdfbcUsageRows(java.util.Map<oracle.jbo.Row,java.lang.String> adfbcUsageRowToUsageType, CategoryDef cDef)
           
static CategoryDef buildCategoryDefHierarchy(java.lang.String applicationId, java.lang.String categoryCode, java.lang.String dffCode, ApplicationResources connUrl, EffCustomizations customizations, CategoryConfig categoryConfig)
           
static void cloneCategoryDefArtifacts(CategoryDef srcCategoryDef, CategoryDef targetCdef)
           
static CategoryDef cloneCategoryDefHeader(CategoryDef cDef, java.lang.String categoryCodeClone, CategoryDef parentCategoryDef)
           
static oracle.jbo.Row findCategoryMetadataVoRow(java.lang.String categoryCode, oracle.jbo.ApplicationModule categoryAm)
          Gets the row in the VO for FND_DF_CATEGORIES that contains all the info related to categoryCode
static java.lang.String getAppIdFromShortName(java.lang.String applicationShortName, java.lang.String connUrl)
          Deprecated.  
static oracle.jbo.ApplicationModule getCategoryAMSingleton(java.lang.String connectionURL)
          Deprecated. - do not allow static access to service AMs
static oracle.jbo.ApplicationModule getDffMetadataAMSingleton(java.lang.String connectionURL)
          Deprecated. - do not allow static access to service AMs
static java.lang.String getParentCategoryCode(java.lang.String categoryCode, oracle.jbo.ApplicationModule categoryAm)
           
static oracle.apps.fnd.applcore.flex.runtime.util.common.ServiceProvider getServiceProviderSingleton(java.lang.String connectionURL)
          Deprecated. - do not allow static access to service AMs
static void printDefObjects()
           
static void printRowDetails(oracle.jbo.Row r, java.lang.String tableName)
           
static java.lang.String wsGetCategoryVoDefFullName(java.lang.String packageName, java.lang.String prefixName, boolean isProgrammaticallyDefined)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MASTER

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

REUSE

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

CategoryDefManagerImpl

protected CategoryDefManagerImpl()
Method Detail

buildCategoryDefFromAdfbcUsageRows

public static void buildCategoryDefFromAdfbcUsageRows(java.util.Map<oracle.jbo.Row,java.lang.String> adfbcUsageRowToUsageType,
                                                      CategoryDef cDef)

buildCategoryDefHierarchy

public static CategoryDef buildCategoryDefHierarchy(java.lang.String applicationId,
                                                    java.lang.String categoryCode,
                                                    java.lang.String dffCode,
                                                    ApplicationResources connUrl,
                                                    EffCustomizations customizations,
                                                    CategoryConfig categoryConfig)

buildCategoryDef

public static CategoryDef buildCategoryDef(java.lang.String applicationId,
                                           java.lang.String categoryCode,
                                           java.lang.String dffCode,
                                           ApplicationResources connUrl,
                                           EffCustomizations customizations,
                                           CategoryDef parentCategoryDef,
                                           CategoryConfig categoryConfig)
Builds View Objects at each flex usage level (i.e. data level)

Parameters:
categoryCode - - The Descriptive Flexfield Category unique identifer
dffCode - - The value that corresponds to DESCRIPTIVE_FLEXFIELD_CODE in the database tables (e.g. EGO_ITEM_UDA)
parentCategoryDef - - Could be null

printDefObjects

public static void printDefObjects()

printRowDetails

public static void printRowDetails(oracle.jbo.Row r,
                                   java.lang.String tableName)
Parameters:
r -

wsGetCategoryVoDefFullName

public static java.lang.String wsGetCategoryVoDefFullName(java.lang.String packageName,
                                                          java.lang.String prefixName,
                                                          boolean isProgrammaticallyDefined)

getAppIdFromShortName

public static java.lang.String getAppIdFromShortName(java.lang.String applicationShortName,
                                                     java.lang.String connUrl)
Deprecated. 

This method is deprecated. Use ApplicationIdentifier class instead.

Parameters:
applicationShortName - the application short name
connUrl - the connection URL
Returns:
See Also:
ApplicationIdentifier

getParentCategoryCode

public static java.lang.String getParentCategoryCode(java.lang.String categoryCode,
                                                     oracle.jbo.ApplicationModule categoryAm)
Parameters:
categoryCode - - The Descriptive Flexfield Category unique identifer
categoryAm - - The Service Application Module used to obtain definition data about Descriptive Flexfield categories, contexts and other constructs.
Returns:
The category code of the parent of categoryCode

findCategoryMetadataVoRow

public static oracle.jbo.Row findCategoryMetadataVoRow(java.lang.String categoryCode,
                                                       oracle.jbo.ApplicationModule categoryAm)
                                                throws BCModelerException
Gets the row in the VO for FND_DF_CATEGORIES that contains all the info related to categoryCode

Parameters:
categoryCode - - The Descriptive Flexfield Category unique identifer
categoryAm - - The Service Application Module used to obtain definition data about Descriptive Flexfield categories.
Returns:
- The row representing FND_DF_CATEGORIES
Throws:
BCModelerException

getServiceProviderSingleton

public static oracle.apps.fnd.applcore.flex.runtime.util.common.ServiceProvider getServiceProviderSingleton(java.lang.String connectionURL)
Deprecated. - do not allow static access to service AMs


getDffMetadataAMSingleton

public static oracle.jbo.ApplicationModule getDffMetadataAMSingleton(java.lang.String connectionURL)
Deprecated. - do not allow static access to service AMs


getCategoryAMSingleton

public static oracle.jbo.ApplicationModule getCategoryAMSingleton(java.lang.String connectionURL)
Deprecated. - do not allow static access to service AMs


cloneCategoryDefHeader

public static CategoryDef cloneCategoryDefHeader(CategoryDef cDef,
                                                 java.lang.String categoryCodeClone,
                                                 CategoryDef parentCategoryDef)

cloneCategoryDefArtifacts

public static void cloneCategoryDefArtifacts(CategoryDef srcCategoryDef,
                                             CategoryDef targetCdef)

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

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.