Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

oracle.apps.fnd.applseed.rt.extract.util.taxonomy
Class ModuleIdHelperImpl

java.lang.Object
  extended by oracle.apps.fnd.applseed.rt.extract.util.taxonomy.AbstractPartitionHelper
      extended by oracle.apps.fnd.applseed.rt.extract.util.taxonomy.TaxonomyPartitionHelper
          extended by oracle.apps.fnd.applseed.rt.extract.util.taxonomy.ModuleIdHelperImpl
All Implemented Interfaces:
PartitionHelper

public class ModuleIdHelperImpl
extends TaxonomyPartitionHelper

This class is the concrete implementation for TaxonomyAttributeHelper for partitioning by ModuleId attributes.


Field Summary
 
Fields inherited from class oracle.apps.fnd.applseed.rt.extract.util.taxonomy.TaxonomyPartitionHelper
taxonomyAM, thePartitionKeyMap
 
Fields inherited from class oracle.apps.fnd.applseed.rt.extract.util.taxonomy.AbstractPartitionHelper
currentPartitionValue, partitionKeyAttribDef, theAM, theVO
 
Fields inherited from interface oracle.apps.fnd.applseed.rt.extract.util.taxonomy.PartitionHelper
APPLICATION_ID_ATTR, MODULE_ID_ATTR
 
Constructor Summary
ModuleIdHelperImpl(oracle.jbo.AttributeDef attr, oracle.jbo.ApplicationModule am, oracle.jbo.ViewObject vo)
          Constructor.
 
Method Summary
protected  java.lang.String getIdValueForTaxonomyRow(oracle.apps.fnd.applcore.taxonomy.taxonomyService.view.ApplTaxonomyFullDeliveryVORowImpl row)
          Given a Taxonomy row, return its id value.
 PartitionKeyMap getLBAPartitionKeyMap(PartitionKeyMap productKeyMap)
          From a given map of product Ids (moduleId or appid) return the PartitionKeyMap for all the seed enabled LBAs belonging to each.
 oracle.apps.fnd.applcore.taxonomy.taxonomyService.view.ApplTaxonomyFullDeliveryVORowImpl getTaxonomyModule(java.lang.String moduleId)
          Get the Taxonomy Module as a Row from Taxonomy Service based on ModuleId.
protected  java.util.Collection<java.lang.String> partitionIdsToModuleIds(java.util.Collection<java.lang.String> partitionIds)
          Get the module ids from the passed partition ids.
 
Methods inherited from class oracle.apps.fnd.applseed.rt.extract.util.taxonomy.TaxonomyPartitionHelper
buildTaxonomyPath, getPartitionKeyValues, getPartitionKeyValues, getPath, getProductCode, getProductCodeForModule, getProductPartitionKeyMap, getTaxonomyService, validateAndAddToMap, validateAndAddToMap
 
Methods inherited from class oracle.apps.fnd.applseed.rt.extract.util.taxonomy.AbstractPartitionHelper
getCurrentPartitionValue, getPartitioningVO, getPartitionKeyAttribName, getProductOwnerName, setCurrentPartitionValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModuleIdHelperImpl

public ModuleIdHelperImpl(oracle.jbo.AttributeDef attr,
                          oracle.jbo.ApplicationModule am,
                          oracle.jbo.ViewObject vo)
Constructor.

Parameters:
attr - AttributeDef of VO attribute serving as partitioning key
am - transactional ApplicationModule for taxonomy service
vo - ViewObject containing source taxonomy attribute
Method Detail

getTaxonomyModule

public oracle.apps.fnd.applcore.taxonomy.taxonomyService.view.ApplTaxonomyFullDeliveryVORowImpl getTaxonomyModule(java.lang.String moduleId)
Get the Taxonomy Module as a Row from Taxonomy Service based on ModuleId.

Specified by:
getTaxonomyModule in class TaxonomyPartitionHelper
Parameters:
moduleId - String ModuleId value
Returns:
ApplTaxonomyFullDeilveryVORowImpl taxonomy module row, null if not found

getIdValueForTaxonomyRow

protected java.lang.String getIdValueForTaxonomyRow(oracle.apps.fnd.applcore.taxonomy.taxonomyService.view.ApplTaxonomyFullDeliveryVORowImpl row)
Given a Taxonomy row, return its id value. For this case, ModuleId.

Specified by:
getIdValueForTaxonomyRow in class TaxonomyPartitionHelper
Parameters:
row - ApplTaxonomyFullDeliveryVORowImpl
Returns:
String ModuleId of the row

partitionIdsToModuleIds

protected java.util.Collection<java.lang.String> partitionIdsToModuleIds(java.util.Collection<java.lang.String> partitionIds)
Get the module ids from the passed partition ids.

Specified by:
partitionIdsToModuleIds in class TaxonomyPartitionHelper
Parameters:
partitionIds - Colleciton of partition id Strings
Returns:
Collection of ModuleId Strings

getLBAPartitionKeyMap

public PartitionKeyMap getLBAPartitionKeyMap(PartitionKeyMap productKeyMap)
From a given map of product Ids (moduleId or appid) return the PartitionKeyMap for all the seed enabled LBAs belonging to each.

Specified by:
getLBAPartitionKeyMap in interface PartitionHelper
Overrides:
getLBAPartitionKeyMap in class AbstractPartitionHelper
Parameters:
productKeyMap -
Returns:
PartitionKeyMap of the LBAs belonging to each product

Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.