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

E22564-02

oracle.apps.fnd.applseed.rt.extract.util.taxonomy
Interface PartitionHelper

All Known Implementing Classes:
AbstractPartitionHelper, ApplicationIdHelperImpl, AttributePartitionHelper, ModuleIdHelperImpl, SinglePartitionHelperImpl, TaxonomyPartitionHelper

public interface PartitionHelper

This interface defines the type and api for handling extract partitioning.


Field Summary
static java.lang.String APPLICATION_ID_ATTR
           
static java.lang.String MODULE_ID_ATTR
           
 
Method Summary
 java.lang.String getCurrentPartitionValue()
          Get the current partitioning value set for this helper implementation.
 PartitionKeyMap getLBAPartitionKeyMap(PartitionKeyMap productKeyMap)
          Get the PartitionKeyMap of all seed enabled LBAs for the given list of Products.
 oracle.jbo.ViewObject getPartitioningVO()
          Get the Partitioning VO used
 java.lang.String getPartitionKeyAttribName()
          Get the partition key attribute name for the concrete helper.
 PartitionKeyMap getPartitionKeyValues()
          Get the partition key value map found for the current view object.
 PartitionKeyMap getPartitionKeyValues(java.util.Collection<java.lang.String> partitionIds, java.util.Collection<java.lang.String> partitionNames)
          Get the partition key value map from the passed list of partitionId and/or partitionName values.
 java.lang.String getPath(java.lang.String keyValue)
          Get the taxonomy path for the named partition key value.
 java.lang.String getProductCode(java.lang.String keyValue)
           
 PartitionKeyMap getProductPartitionKeyMap()
          Get the PartitionKeyMap for available Products.
 

Field Detail

MODULE_ID_ATTR

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

APPLICATION_ID_ATTR

static final java.lang.String APPLICATION_ID_ATTR
See Also:
Constant Field Values
Method Detail

getCurrentPartitionValue

java.lang.String getCurrentPartitionValue()
Get the current partitioning value set for this helper implementation.

Returns:
String representing the current partitioning value, eg moduleid value

getPartitionKeyAttribName

java.lang.String getPartitionKeyAttribName()
Get the partition key attribute name for the concrete helper. eg ApplicationId, ModuleId, or none ("")

Returns:
String partition key attrib name

getPartitionKeyValues

PartitionKeyMap getPartitionKeyValues()
Get the partition key value map found for the current view object.

Returns:
PartitionKeyMap map of partition key values

getPartitionKeyValues

PartitionKeyMap getPartitionKeyValues(java.util.Collection<java.lang.String> partitionIds,
                                      java.util.Collection<java.lang.String> partitionNames)
Get the partition key value map from the passed list of partitionId and/or partitionName values. If both null/empty, builds complete list from all available partition key values in vo.

Parameters:
partitionIds - Collection of String partition id values, eg ModuleId or ApplicationId values
partitionNames - Collection of String partition names, App or LBA, eg FND
Returns:
PartitionKeyMap built from passed values or all available values if none

getPath

java.lang.String getPath(java.lang.String keyValue)
Get the taxonomy path for the named partition key value.

Parameters:
keyValue - taxonomy partition key value
Returns:
String taxonomy path built to the pre-defined taxonomy top node null if not found or invalid format

getProductCode

java.lang.String getProductCode(java.lang.String keyValue)

getProductPartitionKeyMap

PartitionKeyMap getProductPartitionKeyMap()
Get the PartitionKeyMap for available Products.

Returns:
PartitionKeyMap

getLBAPartitionKeyMap

PartitionKeyMap getLBAPartitionKeyMap(PartitionKeyMap productKeyMap)
Get the PartitionKeyMap of all seed enabled LBAs for the given list of Products. Only applicable to Taxonomy implementations.

Parameters:
productKeyMap - PartitionKeyMap contianing productss to find LBAs for
Returns:
PartitionKeyMap for the seed enabled LBAs belonging to each product

getPartitioningVO

oracle.jbo.ViewObject getPartitioningVO()
Get the Partitioning VO used

Returns:
ViewObject

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

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.