|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.apps.fnd.applseed.config.util.SDModelUtil
public final class SDModelUtil
Static utility class to help SDDataModelPanel. Class contains static methods that are Data Model specific and are not meant to be used in other contexts.
| Method Summary | |
|---|---|
static boolean |
checkDuplicateViewUsage(oracle.jbo.dt.objects.JboAppModule am,
java.util.List refs,
java.util.List viewLinkUsages,
oracle.jbo.dt.ui.main.dlg.DtuWizardPanel panel,
java.lang.String qryRefName,
boolean reportErrs)
Method checks for duplicate usages of view. |
static boolean |
checkSeedDataValidations(oracle.jbo.dt.ui.main.dlg.DtuWizardPanel panel,
oracle.jbo.dt.ui.main.tree.DtuDataModelTree modelTree,
boolean currResult,
oracle.jbo.dt.objects.JboBaseObject baseObj,
boolean reportErrs)
Method validates model for seed data checks. |
static oracle.jbo.dt.objects.JboViewReference |
findHomeForChild(java.util.List refs,
java.util.List viewLinkUsages,
oracle.jbo.dt.objects.JboViewLink candidateViewLink)
find the object named name in the ArrayList of objects specified. |
static boolean |
isDetailViewRef(java.util.List viewLinkUsages,
oracle.jbo.dt.objects.JboViewReference ref)
Method returns true if candidate view is at top level of tree. |
static boolean |
processDetailView(java.util.List modelList,
boolean reportErrs,
boolean existingView,
oracle.jbo.dt.objects.JboView candidateView,
oracle.jbo.dt.objects.JboViewLink qa,
java.util.List refs,
java.util.List viewLinkUsages)
Method validates detail view selection. |
static boolean |
queryIfOtherHomeIsOK(oracle.jbo.dt.objects.JboNamedObject newHome,
oracle.jbo.dt.objects.JboNamedObject oldHome,
oracle.jbo.dt.objects.JboNamedObject candidateObject)
Confirm with user if the alternate location for the view object is acceptable. |
static boolean |
validateNonAppModuleSelection(oracle.jbo.dt.ui.main.tree.DtuDataModelTree modelTree,
oracle.jbo.dt.ui.main.tree.AMViewTree queryTree,
boolean currentResult,
oracle.jbo.dt.objects.JboView candidateView,
boolean existingView)
Method validates model elections that are not of type JboAppModule. |
static void |
validatePanel(oracle.jbo.dt.ui.main.dlg.DtuWizardPanel panel,
javax.swing.tree.DefaultMutableTreeNode node)
Method validates view objects for seed data conformance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean checkSeedDataValidations(oracle.jbo.dt.ui.main.dlg.DtuWizardPanel panel,
oracle.jbo.dt.ui.main.tree.DtuDataModelTree modelTree,
boolean currResult,
oracle.jbo.dt.objects.JboBaseObject baseObj,
boolean reportErrs)
panel - Data Model panelmodelTree - the model tree that has been selectedcurrResult - previous validations resultbaseObj - Selected objectreportErrs - Report errors in UI
public static boolean checkDuplicateViewUsage(oracle.jbo.dt.objects.JboAppModule am,
java.util.List refs,
java.util.List viewLinkUsages,
oracle.jbo.dt.ui.main.dlg.DtuWizardPanel panel,
java.lang.String qryRefName,
boolean reportErrs)
am - Application Module being editedrefs - List of refereces in the panelviewLinkUsages - List of ViewLinkUsages in the panelpanel - DataModel PanelqryRefName - name of the referencereportErrs - report errors in dialog box
public static boolean validateNonAppModuleSelection(oracle.jbo.dt.ui.main.tree.DtuDataModelTree modelTree,
oracle.jbo.dt.ui.main.tree.AMViewTree queryTree,
boolean currentResult,
oracle.jbo.dt.objects.JboView candidateView,
boolean existingView)
modelTree - model treequeryTree - tree of available objectscurrentResult - validation result of previous validationscandidateView - selected viewexistingView - previously selected view
public static void validatePanel(oracle.jbo.dt.ui.main.dlg.DtuWizardPanel panel,
javax.swing.tree.DefaultMutableTreeNode node)
panel - data model panelnode - View Object node
public static boolean processDetailView(java.util.List modelList,
boolean reportErrs,
boolean existingView,
oracle.jbo.dt.objects.JboView candidateView,
oracle.jbo.dt.objects.JboViewLink qa,
java.util.List refs,
java.util.List viewLinkUsages)
modelList - List of model and available object trees.reportErrs - show errors in dialogexistingView - previously existing viewcandidateView - view being consideredqa - view referencerefs - list of referencesviewLinkUsages - list of viewLinkUsages
public static oracle.jbo.dt.objects.JboViewReference findHomeForChild(java.util.List refs,
java.util.List viewLinkUsages,
oracle.jbo.dt.objects.JboViewLink candidateViewLink)
refs - List of referencesviewLinkUsages - List of ViewLink UsagescandidateViewLink - link to be located
public static boolean isDetailViewRef(java.util.List viewLinkUsages,
oracle.jbo.dt.objects.JboViewReference ref)
viewLinkUsages - List of view Link Usagesref - reference to be tested.
public static boolean queryIfOtherHomeIsOK(oracle.jbo.dt.objects.JboNamedObject newHome,
oracle.jbo.dt.objects.JboNamedObject oldHome,
oracle.jbo.dt.objects.JboNamedObject candidateObject)
newHome - new proposed home for candidateoldHome - old proposed home for candidatecandidateObject - candidate object
|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||