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

E22564-02

oracle.apps.fnd.applseed.config.ui.wiz
Class SeedConfiguration

java.lang.Object
  extended by oracle.apps.fnd.applseed.config.ui.wiz.SeedConfiguration

public final class SeedConfiguration
extends java.lang.Object

Utility class consisting of static methods to handle configuration wizard tasks. Method also contains constant declarations required for configuration.


Field Summary
static java.lang.String ROWID
          String constants that are used for validation.
static java.lang.String UROWID
          String constants that are used for validation.
 
Method Summary
static java.util.List<oracle.jbo.dt.objects.JboKey> getAlternateKeyList(oracle.jbo.dt.objects.JboViewReference vRef, oracle.jbo.dt.objects.JboAppModule am)
          Method returns alternateKeyList for viewreference.
static java.util.List getExtractList(oracle.jbo.dt.objects.JboAppModule am, java.lang.String rootViewName)
          Method returns list of attributes that will be extracted.
static java.lang.String getTypeName()
          Method retuns Seed Configuration Module short name.
static java.util.List getUpdatedTables(javax.swing.tree.DefaultMutableTreeNode node, oracle.jbo.dt.objects.JboAppModule am)
          Method returns List of tables that are updated during Seed configuration upload of the data for the node.
static java.util.List getViews(oracle.jbo.dt.objects.JboAppModule am)
          Method returns List of View Objects that exist in the am.
static int setConfigurationNumber(SDWizard wiz)
          Method compares the extract attributes of the Seed Configuration with the original extract attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROWID

public static final java.lang.String ROWID
String constants that are used for validation.

See Also:
Constant Field Values

UROWID

public static final java.lang.String UROWID
String constants that are used for validation.

See Also:
Constant Field Values
Method Detail

getExtractList

public static java.util.List getExtractList(oracle.jbo.dt.objects.JboAppModule am,
                                            java.lang.String rootViewName)
Method returns list of attributes that will be extracted. The extracted attributes will not include surrogate attributes.

Parameters:
am - Seed configuration application module
rootViewName - View Name
Returns:
ArrayList of extracted Attributes

getAlternateKeyList

public static java.util.List<oracle.jbo.dt.objects.JboKey> getAlternateKeyList(oracle.jbo.dt.objects.JboViewReference vRef,
                                                                               oracle.jbo.dt.objects.JboAppModule am)
Method returns alternateKeyList for viewreference.

Parameters:
vRef - View Reference
am - Application Module
Returns:
List of valid alternate keys

getViews

public static java.util.List getViews(oracle.jbo.dt.objects.JboAppModule am)
Method returns List of View Objects that exist in the am.

Parameters:
am - Application Module being edited
Returns:
List of View Objects referenced in the am

getTypeName

public static java.lang.String getTypeName()
Method retuns Seed Configuration Module short name.

Returns:
returns the Seed Configuration short name

getUpdatedTables

public static java.util.List getUpdatedTables(javax.swing.tree.DefaultMutableTreeNode node,
                                              oracle.jbo.dt.objects.JboAppModule am)
Method returns List of tables that are updated during Seed configuration upload of the data for the node. The returned list contains a list of lists. The inner list contains the table name, name of the view that contains the table, and a string field indicating that the data is sourced by the model.

Parameters:
node - Tree Node for which list of tables is required
am - Application Module being edited
Returns:
List of List of updated tables

setConfigurationNumber

public static int setConfigurationNumber(SDWizard wiz)
Method compares the extract attributes of the Seed Configuration with the original extract attributes. If the extract attributes have changed, the cvn (compatibility version number) of the configuration is incremented. If the configuratoin does not contain a cvn, a cvn property with value of 1 is added.

Parameters:
wiz - wizard editing the Seed Configuration.
Returns:
the new cvn of the Seed Configuration.

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

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.