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 SinglePartitionHelperImpl

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

public class SinglePartitionHelperImpl
extends AbstractPartitionHelper

This concrete class implements the PartitionHelper for cases where there is no partition key, where all extract data should fall under a single partitioned file, defined by the AM product owner name.


Field Summary
 
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
SinglePartitionHelperImpl(oracle.jbo.ApplicationModule am, oracle.jbo.ViewObject vo)
          Constructor.
 
Method Summary
 PartitionKeyMap getPartitionKeyValues()
          Get the set of partition key values, always a single value, the product owner name of the AM module.
 PartitionKeyMap getPartitionKeyValues(java.util.Collection<java.lang.String> partitionIds, java.util.Collection<java.lang.String> partitionNames)
          Implement the interface method by simply returning the single partition value.
 java.lang.String getPath(java.lang.String keyValue)
          Get the taxonomy path, in this case, always the partition key value, which is the AM product owner.
 
Methods inherited from class oracle.apps.fnd.applseed.rt.extract.util.taxonomy.AbstractPartitionHelper
getCurrentPartitionValue, getLBAPartitionKeyMap, getPartitioningVO, getPartitionKeyAttribName, getProductCode, getProductOwnerName, getProductPartitionKeyMap, setCurrentPartitionValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SinglePartitionHelperImpl

public SinglePartitionHelperImpl(oracle.jbo.ApplicationModule am,
                                 oracle.jbo.ViewObject vo)
Constructor.

Parameters:
am - ApplicationModule
Method Detail

getPartitionKeyValues

public PartitionKeyMap getPartitionKeyValues()
Get the set of partition key values, always a single value, the product owner name of the AM module.

Specified by:
getPartitionKeyValues in interface PartitionHelper
Specified by:
getPartitionKeyValues in class AbstractPartitionHelper
Returns:
single value String map containing the product owner name

getPath

public java.lang.String getPath(java.lang.String keyValue)
Get the taxonomy path, in this case, always the partition key value, which is the AM product owner.

Specified by:
getPath in interface PartitionHelper
Specified by:
getPath in class AbstractPartitionHelper
Parameters:
keyValue - String partition key value
Returns:
String passed keyValue

getPartitionKeyValues

public PartitionKeyMap getPartitionKeyValues(java.util.Collection<java.lang.String> partitionIds,
                                             java.util.Collection<java.lang.String> partitionNames)
Implement the interface method by simply returning the single partition value.

Specified by:
getPartitionKeyValues in interface PartitionHelper
Specified by:
getPartitionKeyValues in class AbstractPartitionHelper
Parameters:
partitionIds - not used
partitionNames - not used
Returns:
PartitionKeyMap of single partition value

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

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.