Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.trees.ui.managed
Class CreateTreeNodeHandler

java.lang.Object
  extended by oracle.apps.fnd.applcore.trees.ui.managed.TreeBackingBean
      extended by oracle.apps.fnd.applcore.trees.ui.managed.BaseHierarchyBean
          extended by oracle.apps.fnd.applcore.trees.ui.managed.CreateTreeNodeHandler
All Implemented Interfaces:
java.io.Serializable

public class CreateTreeNodeHandler
extends BaseHierarchyBean

JSF managed bean for Creation of Tree Node.

Author:
Abhay K Kumar <abhay.k.kumar&064;oracle.com>
See Also:
Serialized Form

Constructor Summary
CreateTreeNodeHandler()
          Populate the fields for Create Tree node UI.
 
Method Summary
 void cancel(javax.faces.event.ActionEvent actionEvent)
          Cancel Tree node creation.
 java.util.List<javax.faces.model.SelectItem> getAvailableLabels()
          gets the available Labels for the Nodes for current Data Source.
 java.lang.String getCreateMessage()
          Getter for Create Node page message.
 oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout getCreateTreeNodeOuterPanelLayout()
          Getter for Create Tree Node page's outer Panel Layout.
 oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getDataSourceChoice()
          Gets the dataSource Choices.
 java.lang.String getDisableOkButton()
          Getter for Disable OK button String value.
 java.util.List<javax.faces.model.SelectItem> getDsItems()
          populates the Data Source items.
 oracle.adf.view.rich.component.rich.nav.RichCommandButton getLaunchCreatePageButton()
          Getter for the Launch Create Page button.
 java.lang.String getParentNodeDisplay()
          Gets the parent Node Display.
 oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout getPrimaryKeyDetailPanelLayout()
          Getter for Panel Layout displaying primary keys details of newly added node.
 oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getSelectLabelChoice()
          Getter for select Label dropdown.
 void help(javax.faces.event.ActionEvent actionEvent)
          Show Help for Tree node creation.
 void launchCreatePage(javax.faces.event.ActionEvent actionEvent)
          Launch create page flow for the selected data source.
 void returnedfromCreatePage(org.apache.myfaces.trinidad.event.ReturnEvent returnEvent)
          Handle the flow after returning from Create Page of Data Source.
 void save(javax.faces.event.ActionEvent actionEvent)
          Save the entered Tree node Information.
 void setCreateMessage(java.lang.String createMessage)
          Setter for Create Node page message.
 void setCreateTreeNodeOuterPanelLayout(oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout createTreeNodeOuterPanelLayout)
          Setter for Create Tree Node page's outer Panel Layout.
 void setDataSourceChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice dataSourceChoice)
          Sets the Data Source Choice.
 void setLaunchCreatePageButton(oracle.adf.view.rich.component.rich.nav.RichCommandButton launchCreatePageButton)
          Setter for the Launch Create Page button.
 void setPrimaryKeyDetailPanelLayout(oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout primaryKeyDetailPanelLayout)
          Setter for Panel Layout displaying primary keys details of newly added node.
 void setSelectLabelChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice selectLabelChoice)
          Setter for select Label dropdown.
 
Methods inherited from class oracle.apps.fnd.applcore.trees.ui.managed.BaseHierarchyBean
clearNodeParameter, getDisplayableMessage, getSelectedTreeComponetNodes, populateTreeNodeHierarchy, populateTreeStructure, putDialogParameters, setPrimaryKeysEndVal, setPrimaryKeysStartVal, sortDynaBeanNodes, validateTreeNode
 
Methods inherited from class oracle.apps.fnd.applcore.trees.ui.managed.TreeBackingBean
evaluateExpr, getBindingContainer, getCentralTreeNodeAM, getCreateTreeAM, getHierarchyAM, getRootAM, getTreeStructureAM, getTreeStructureAuditAM, noActionMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateTreeNodeHandler

public CreateTreeNodeHandler()
Populate the fields for Create Tree node UI. Constructor for Create Tree Node Handler

Method Detail

setDataSourceChoice

public void setDataSourceChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice dataSourceChoice)
Sets the Data Source Choice.

Parameters:
dataSourceChoice - the available Data Sources

getDataSourceChoice

public oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getDataSourceChoice()
Gets the dataSource Choices.

Returns:
SelectionChoice for Data Source

setLaunchCreatePageButton

public void setLaunchCreatePageButton(oracle.adf.view.rich.component.rich.nav.RichCommandButton launchCreatePageButton)
Setter for the Launch Create Page button.

Parameters:
launchCreatePageButton - RichCommandButton

getLaunchCreatePageButton

public oracle.adf.view.rich.component.rich.nav.RichCommandButton getLaunchCreatePageButton()
Getter for the Launch Create Page button.

Returns:
the launchCreatePageButton RichCommandButton

getDsItems

public java.util.List<javax.faces.model.SelectItem> getDsItems()
populates the Data Source items.

Returns:
List of Select item for each data Source supported

getParentNodeDisplay

public java.lang.String getParentNodeDisplay()
Gets the parent Node Display.

Returns:
Parent Node Display Value

launchCreatePage

public void launchCreatePage(javax.faces.event.ActionEvent actionEvent)
Launch create page flow for the selected data source.

Parameters:
actionEvent - Action Event

returnedfromCreatePage

public void returnedfromCreatePage(org.apache.myfaces.trinidad.event.ReturnEvent returnEvent)
Handle the flow after returning from Create Page of Data Source.

Parameters:
returnEvent - Return Event

help

public void help(javax.faces.event.ActionEvent actionEvent)
Show Help for Tree node creation. show help for creation of tree Node

Parameters:
actionEvent - ActionEvent

cancel

public void cancel(javax.faces.event.ActionEvent actionEvent)
Cancel Tree node creation.

Parameters:
actionEvent - ActionEvent

save

public void save(javax.faces.event.ActionEvent actionEvent)
Save the entered Tree node Information. Save all the Tree Node information entered and Add it in the Tree Node Table

Parameters:
actionEvent - ActionEvent

setCreateTreeNodeOuterPanelLayout

public void setCreateTreeNodeOuterPanelLayout(oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout createTreeNodeOuterPanelLayout)
Setter for Create Tree Node page's outer Panel Layout.

Parameters:
createTreeNodeOuterPanelLayout - RichPanelGroupLayout

getCreateTreeNodeOuterPanelLayout

public oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout getCreateTreeNodeOuterPanelLayout()
Getter for Create Tree Node page's outer Panel Layout.

Returns:
createTreeNodeOuterPanelLayout RichPanelGroupLayout

setPrimaryKeyDetailPanelLayout

public void setPrimaryKeyDetailPanelLayout(oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout primaryKeyDetailPanelLayout)
Setter for Panel Layout displaying primary keys details of newly added node.

Parameters:
primaryKeyDetailPanelLayout - RichPanelGroupLayout

getPrimaryKeyDetailPanelLayout

public oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout getPrimaryKeyDetailPanelLayout()
Getter for Panel Layout displaying primary keys details of newly added node.

Returns:
primaryKeyDetailPanelLayout RichPanelGroupLayout

setCreateMessage

public void setCreateMessage(java.lang.String createMessage)
Setter for Create Node page message.

Parameters:
createMessage - String for Message to be set

getCreateMessage

public java.lang.String getCreateMessage()
Getter for Create Node page message.

Returns:
createMessage String for Message to be set

getAvailableLabels

public java.util.List<javax.faces.model.SelectItem> getAvailableLabels()
gets the available Labels for the Nodes for current Data Source.

Returns:
List of Labels as Select item for this Data Source

setSelectLabelChoice

public void setSelectLabelChoice(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice selectLabelChoice)
Setter for select Label dropdown.

Parameters:
selectLabelChoice - RichSelectOneChoice

getSelectLabelChoice

public oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getSelectLabelChoice()
Getter for select Label dropdown.

Returns:
selectLabelChoice RichSelectOneChoice

getDisableOkButton

public java.lang.String getDisableOkButton()
Getter for Disable OK button String value.

Returns:
"Y" if OK button should be disabled

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.