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

E22562-01

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

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.AddTreeNodeHelper
              extended by oracle.apps.fnd.applcore.trees.ui.managed.AddTreeNodeHandler
All Implemented Interfaces:
java.io.Serializable

public class AddTreeNodeHandler
extends AddTreeNodeHelper

JSF managed bean for Adding Tree Node.

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

Nested Class Summary
 class AddTreeNodeHandler.ShuttleNode
          Shuttle Node Internal class for Node.
 
Constructor Summary
AddTreeNodeHandler()
          Populate the fields for Add Tree node UI.
 
Method Summary
 void cancel(javax.faces.event.ActionEvent actionEvent)
          Cancel Tree node addition.
 void confirmYes(javax.faces.event.ActionEvent actionEvent)
          Confirms the Value Node updation.
 void doCustomNodeSelectEvent(oracle.adf.view.rich.render.ClientEvent clientEvent)
          Server Listener for custom event generated through Select Order Shuttle Node selection.
 void dsValChg(javax.faces.event.ValueChangeEvent valueChangeEvent)
          Capture the Value Change Event for Data Source Selection Choice.
 java.util.List<javax.faces.model.SelectItem> getAvailableLabels()
          gets the available Labels for the nodes under selected Data Source.
 java.util.List<javax.faces.model.SelectItem> getAvailableNavigators()
          Get the avalible options for navigations of nodes in add value based node shuttle.
 java.util.List<javax.faces.model.SelectItem> getAvailableTreeCodes()
          populates the Tree Code items.
 java.util.List<javax.faces.model.SelectItem> getAvailableTreeVersions()
          gets the available Tree Version items.
 java.lang.String getConfirmMessage()
          Gets the Confirm Message need to be shown.
 java.lang.String getConfirmSearchMessage()
          Getter for Search Confirmation Message.
 java.util.List<javax.faces.model.SelectItem> getDsItems()
          populates the Data Source items.
 java.lang.String getNavigationLabel()
          Gets the navigation Label to be displayed.
 java.util.List<java.lang.String> getNodesListValue()
          Getter for Nodes List values.
 java.util.List<javax.faces.model.SelectItem> getNodeTypeItems()
          populates the Node Type items.
 java.lang.String getParentNodeDisplay()
          Gets the parent Node Display.
 java.util.List<javax.faces.model.SelectItem> getselectNodeItems()
          populates the Selected Node Items.
 java.util.List<javax.faces.model.SelectItem> getShuttleItems()
          populates the Shuttle Items from the selected Data Source Rows.
 AddTreeNodeHandler.ShuttleNode getShuttleNode()
          Getter for shuttle node bean.
 java.util.List<java.lang.String> getShuttleNodeValue()
          Gets the selected shuttle items.
 java.lang.String getTreePreviewText()
          Gets the Preview tree Header Text.
 void help(javax.faces.event.ActionEvent actionEvent)
          Show Help for Tree node addition.
 void launchSearchPage(javax.faces.event.ActionEvent actionEvent)
          Launcher Listener for Search page.
 void launchUpdatePage(javax.faces.event.ActionEvent actionEvent)
          Launch update page flow for the selected data source.
 void navigatorChg(javax.faces.event.ValueChangeEvent valueChangeEvent)
          Capture the Value Change Event for Navigator Change.
 void nodeTypeValChg(javax.faces.event.ValueChangeEvent valueChangeEvent)
          Capture the Value Change Event for Node Type Radio button.
 void populateAvailableTreeLabelsMap(boolean dsValChg)
          populates the available Tree Labels Map for the selected data source.
 void processAddFlowParameter()
          Process the Passed parameters and set them for Add Tree Node flow.
 void processUpdateFlowParameter()
          Process the Passed parameters and set them for Update Tree Node flow.
 void returnedfromSearchPage(org.apache.myfaces.trinidad.event.ReturnEvent returnEvent)
          Handle the flow after returning from Search Page of Data Source.
 void returnedfromUpdatePage(org.apache.myfaces.trinidad.event.ReturnEvent returnEvent)
          Handle the flow after returning from Update Page of Data Source.
 void save(javax.faces.event.ActionEvent actionEvent)
          Save the entered Tree node Information.
 void setConfirmMessage(java.lang.String msg)
          Sets the Confirmation Message to be displayed.
 void setNavigationLabel(java.lang.String navigationLabel)
          Sets the navigation Lable to be displayed.
 void setNodesListValue(java.util.List<java.lang.String> nodesListValue)
          Setter for NodesList Values.
 void setParentNodeDisplay(java.lang.String parentNodeDisplay)
          Sets the parent Node Display Value.
 void setShuttleNodeValue(java.util.List<java.lang.String> shuttleSelectedItems)
          Sets the values for shuttle items.
 void setTreePreviewText(java.lang.String treePreviewText)
          Sets the Preview tree Header Text.
 void treeCodeValChg(javax.faces.event.ValueChangeEvent valueChangeEvent)
          Refresh the Referenced Tree Preview for the selected tree Code and tree version for Tree Code selection choice event.
 void treeVersionValChg(javax.faces.event.ValueChangeEvent valueChangeEvent)
          Capture the Value Change Event for Tree Version selection choice.
 
Methods inherited from class oracle.apps.fnd.applcore.trees.ui.managed.AddTreeNodeHelper
getConfirmButtonLayout, getConfirmOKButton, getConfirmPanelGroupLayout, getConfirmSearchButtonLayout, getConfirmSearchOKButton, getConfirmSearchPanel, getDataSourceChoice, getDataSourcePanel, getLaunchSearchPageButton, getLaunchUpdatePageButton, getMainPanelGroupLayout, getNodeShuttlePanelLayout, getNodeTypeBasedOuterPanelLayout, getNodeTypeRadio, getOuterPanelGroupLayout, getPanelButtonLayout, getPrimaryKeyDetailPanelLayout, getRangeBasedNodeDisplayPanelLayout, getReferencedTree, getReferencedTreeBasedNodeDisplayPanelLayout, getReferencedTreeCodeChoice, getReferencedTreeOutputLabel, getReferencedTreePreviewPanelLayout, getReferencedTreeVersionChoice, getReferencedTreeVersionChoicePanelLayout, getReLaunchSearchPageButton, getReLaunchUpdatePageButton, getSelectedNodesList, getSelectLabelChoice, getSelectLabelPanel, getSelectNodeNavigator, getSelectOrderShuttle1, getTreePreviewPanelHeader, getValueBasedNodeDisplayPanelLayout, setConfirmButtonLayout, setConfirmOKButton, setConfirmPanelGroupLayout, setConfirmSearchButtonLayout, setConfirmSearchOKButton, setConfirmSearchPanel, setDataSourceChoice, setDataSourcePanel, setLaunchSearchPageButton, setLaunchUpdatePageButton, setMainPanelGroupLayout, setNodeShuttlePanelLayout, setNodeTypeBasedOuterPanelLayout, setNodeTypeRadio, setOuterPanelGroupLayout, setPanelButtonLayout, setPrimaryKeyDetailPanelLayout, setRangeBasedNodeDisplayPanelLayout, setReferencedTree, setReferencedTreeBasedNodeDisplayPanelLayout, setReferencedTreeCodeChoice, setReferencedTreeOutputLabel, setReferencedTreePreviewPanelLayout, setReferencedTreeVersionChoice, setReferencedTreeVersionChoicePanelLayout, setReLaunchSearchPageButton, setReLaunchUpdatePageButton, setSelectedNodesList, setSelectLabelChoice, setSelectLabelPanel, setSelectNodeNavigator, setSelectOrderShuttle1, setTreePreviewPanelHeader, setValueBasedNodeDisplayPanelLayout
 
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

AddTreeNodeHandler

public AddTreeNodeHandler()
Populate the fields for Add Tree node UI.

Method Detail

processUpdateFlowParameter

public void processUpdateFlowParameter()
Process the Passed parameters and set them for Update Tree Node flow.


processAddFlowParameter

public void processAddFlowParameter()
Process the Passed parameters and set them for Add Tree Node flow.


setShuttleNodeValue

public void setShuttleNodeValue(java.util.List<java.lang.String> shuttleSelectedItems)
Sets the values for shuttle items.

Parameters:
shuttleSelectedItems - the selected shuttle Items.

getShuttleNodeValue

public java.util.List<java.lang.String> getShuttleNodeValue()
Gets the selected shuttle items.

Returns:
the values for selected shuttle items

setParentNodeDisplay

public void setParentNodeDisplay(java.lang.String parentNodeDisplay)
Sets the parent Node Display Value.

Parameters:
parentNodeDisplay - the Parent Node

getParentNodeDisplay

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

Returns:
Parent Node Display Value

setTreePreviewText

public void setTreePreviewText(java.lang.String treePreviewText)
Sets the Preview tree Header Text.

Parameters:
treePreviewText - the Parent Node

getTreePreviewText

public java.lang.String getTreePreviewText()
Gets the Preview tree Header Text.

Returns:
TreePreviewText

getNodeTypeItems

public java.util.List<javax.faces.model.SelectItem> getNodeTypeItems()
populates the Node Type items.

Returns:
List of Select item for each data Source supported

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

getShuttleItems

public java.util.List<javax.faces.model.SelectItem> getShuttleItems()
populates the Shuttle Items from the selected Data Source Rows.

Returns:
List of available rows for selected data Source

getAvailableTreeCodes

public java.util.List<javax.faces.model.SelectItem> getAvailableTreeCodes()
populates the Tree Code items.

Returns:
List of Select item for each Tree Code available for a given Tree Structure

getAvailableTreeVersions

public java.util.List<javax.faces.model.SelectItem> getAvailableTreeVersions()
gets the available Tree Version items.

Returns:
List of Select item for each Tree Version available for a given Tree Structure and Tree Code

dsValChg

public void dsValChg(javax.faces.event.ValueChangeEvent valueChangeEvent)
Capture the Value Change Event for Data Source Selection Choice.

Parameters:
valueChangeEvent - Value Change Event

navigatorChg

public void navigatorChg(javax.faces.event.ValueChangeEvent valueChangeEvent)
Capture the Value Change Event for Navigator Change.

Parameters:
valueChangeEvent - Value Change Event

nodeTypeValChg

public void nodeTypeValChg(javax.faces.event.ValueChangeEvent valueChangeEvent)
Capture the Value Change Event for Node Type Radio button.

Parameters:
valueChangeEvent - Value Change Event

treeCodeValChg

public void treeCodeValChg(javax.faces.event.ValueChangeEvent valueChangeEvent)
Refresh the Referenced Tree Preview for the selected tree Code and tree version for Tree Code selection choice event.

Parameters:
valueChangeEvent - Value Change Event

treeVersionValChg

public void treeVersionValChg(javax.faces.event.ValueChangeEvent valueChangeEvent)
Capture the Value Change Event for Tree Version selection choice.

Parameters:
valueChangeEvent - Value Change Event

doCustomNodeSelectEvent

public void doCustomNodeSelectEvent(oracle.adf.view.rich.render.ClientEvent clientEvent)
Server Listener for custom event generated through Select Order Shuttle Node selection.

Parameters:
clientEvent - as Client Event

help

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

Parameters:
actionEvent - ActionEvent

cancel

public void cancel(javax.faces.event.ActionEvent actionEvent)
Cancel Tree node addition. Cancel the addition and return back

Parameters:
actionEvent - ActionEvent

save

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

Parameters:
actionEvent - ActionEvent

getAvailableNavigators

public java.util.List<javax.faces.model.SelectItem> getAvailableNavigators()
Get the avalible options for navigations of nodes in add value based node shuttle.

Returns:
List of navigation options

getAvailableLabels

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

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

populateAvailableTreeLabelsMap

public void populateAvailableTreeLabelsMap(boolean dsValChg)
populates the available Tree Labels Map for the selected data source.

Parameters:
dsValChg - boolean value to indicate data source change

launchUpdatePage

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

Parameters:
actionEvent - Action Event

returnedfromUpdatePage

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

Parameters:
returnEvent - Return Event

confirmYes

public void confirmYes(javax.faces.event.ActionEvent actionEvent)
Confirms the Value Node updation.

Parameters:
actionEvent - ActionEvent assoiciated Perform the updation and return back

setConfirmMessage

public void setConfirmMessage(java.lang.String msg)
Sets the Confirmation Message to be displayed.

Parameters:
msg - as String

getConfirmMessage

public java.lang.String getConfirmMessage()
Gets the Confirm Message need to be shown.

Returns:
Confirm message as String

setNavigationLabel

public void setNavigationLabel(java.lang.String navigationLabel)
Sets the navigation Lable to be displayed.

Parameters:
navigationLabel - as String

getNavigationLabel

public java.lang.String getNavigationLabel()
Gets the navigation Label to be displayed.

Returns:
navigation Label as String

launchSearchPage

public void launchSearchPage(javax.faces.event.ActionEvent actionEvent)
Launcher Listener for Search page.

Parameters:
actionEvent - as Action Event

returnedfromSearchPage

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

Parameters:
returnEvent - Return Event

getselectNodeItems

public java.util.List<javax.faces.model.SelectItem> getselectNodeItems()
populates the Selected Node Items.

Returns:
List of available rows for selected data Source

getConfirmSearchMessage

public java.lang.String getConfirmSearchMessage()
Getter for Search Confirmation Message.

Returns:
String as message

setNodesListValue

public void setNodesListValue(java.util.List<java.lang.String> nodesListValue)
Setter for NodesList Values.

Parameters:
nodesListValue - as List of values

getNodesListValue

public java.util.List<java.lang.String> getNodesListValue()
Getter for Nodes List values.

Returns:
List of String as values for Nodes List

getShuttleNode

public AddTreeNodeHandler.ShuttleNode getShuttleNode()
Getter for shuttle node bean.

Returns:
Shuttle bean instace for selected node

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

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.