Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.dt.patterns.metadata.creator.masterdetail
Class ApplicationsMasterDetailWizardModel

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.patterns.metadata.creator.masterdetail.ApplicationsMasterDetailWizardModel

public class ApplicationsMasterDetailWizardModel
extends java.lang.Object

Class that acts as a provider for the applicationsMasterDetail wizard. It supplies everything needed for the wizard to run.


Nested Class Summary
static class ApplicationsMasterDetailWizardModel.MasterDetailMultiType
          Sub-classifications of the "MULTI" detail type allowing various output rendering.
static class ApplicationsMasterDetailWizardModel.MasterDetailType
          Types of master and detail.
 
Constructor Summary
ApplicationsMasterDetailWizardModel(oracle.adfdt.ADFDesignTimeContext dtContext, org.w3c.dom.Element insertionSubtreeRoot, oracle.adfdt.model.objects.DataControl dataControl, oracle.binding.meta.NamedDefinition master, oracle.binding.meta.NamedDefinition detail, org.w3c.dom.Document document)
          Data first constructor.
ApplicationsMasterDetailWizardModel(oracle.bali.xml.gui.jdev.JDevXmlContext context, org.w3c.dom.Document document, boolean isCreation, ApplicationsMasterDetailPageProvider pageProvider)
          Component first constructor.
 
Method Summary
 boolean canFinish()
          Get the finish flag.
 void commit()
          This method is used to generate the metadata for the applicationsMasterDetail component.
 org.w3c.dom.DocumentFragment getCreationFragment()
          Obtain the DocumentFragment to return to JDev infrastructure after a commit() has been performed.
 void reCreateContent(int pageIndex)
          Re create page content at page pageIndex.
 void setCanFinish(boolean canFinish)
          Set the finish flag.
 void setDataControl(oracle.adfdt.model.objects.DataControl dataControl)
          Set the data control.
 void setPageProvider(ApplicationsMasterDetailPageProvider pageProvider)
          Set the page provider of the wizard this model is for.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationsMasterDetailWizardModel

public ApplicationsMasterDetailWizardModel(oracle.bali.xml.gui.jdev.JDevXmlContext context,
                                           org.w3c.dom.Document document,
                                           boolean isCreation,
                                           ApplicationsMasterDetailPageProvider pageProvider)
Component first constructor.

Parameters:
context - context
document - Dom document.
isCreation - are we creation.
pageProvider - provider of pages.

ApplicationsMasterDetailWizardModel

public ApplicationsMasterDetailWizardModel(oracle.adfdt.ADFDesignTimeContext dtContext,
                                           org.w3c.dom.Element insertionSubtreeRoot,
                                           oracle.adfdt.model.objects.DataControl dataControl,
                                           oracle.binding.meta.NamedDefinition master,
                                           oracle.binding.meta.NamedDefinition detail,
                                           org.w3c.dom.Document document)
Data first constructor.

Parameters:
dtContext - context
insertionSubtreeRoot - Element we are being dragged under.
dataControl - data control detail Collection was dropped from.
master - master collection.
detail - detail collection.
document - Dom Document.
Method Detail

setPageProvider

public void setPageProvider(ApplicationsMasterDetailPageProvider pageProvider)
Set the page provider of the wizard this model is for.

Parameters:
pageProvider - the page provider.

reCreateContent

public void reCreateContent(int pageIndex)
Re create page content at page pageIndex. This is done in a late-creation method as we probably do not know the content at wizard creation time.

Parameters:
pageIndex - 0 based page index.

commit

public void commit()
            throws java.lang.Exception
This method is used to generate the metadata for the applicationsMasterDetail component.

Throws:
java.lang.Exception - Throw exception if any.

getCreationFragment

public org.w3c.dom.DocumentFragment getCreationFragment()
Obtain the DocumentFragment to return to JDev infrastructure after a commit() has been performed.

Returns:
DocumentFragment representing JSF component tree.

setDataControl

public void setDataControl(oracle.adfdt.model.objects.DataControl dataControl)
Set the data control.

Parameters:
dataControl - dc.

setCanFinish

public void setCanFinish(boolean canFinish)
Set the finish flag.

Parameters:
canFinish - finish flag.

canFinish

public boolean canFinish()
Get the finish flag.

Returns:
finish flag.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.