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

E22562-07

oracle.apps.fnd.applcore.customization.uiPublic.flex
Class FlexfieldChildNavigatorBean

java.lang.Object
  extended by oracle.apps.fnd.applcore.customization.uiPublic.flex.FlexfieldChildNavigatorBean
All Implemented Interfaces:
java.io.Serializable

public class FlexfieldChildNavigatorBean
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
static class FlexfieldChildNavigatorBean.Child
          Internal class represening each child of a component.
static class FlexfieldChildNavigatorBean.FlexfieldSegmentChild
           
static class FlexfieldChildNavigatorBean.SelectedComponent
          Holds each selected component and list of its children.
 
Constructor Summary
FlexfieldChildNavigatorBean()
           
 
Method Summary
 java.util.List<FlexfieldChildNavigatorBean.Child> getChildren()
          Returns list of children for the selected component as required in childnavigator.jspx.
 int getCount()
          Returns the num of children of selected component.
static FlexfieldChildNavigatorBean getCurrentInstance()
          Returns FlexfieldChildNavigatorBean instance
static java.lang.String getDisplayName(javax.faces.component.UIComponent comp)
           
 int getNumOfChildren()
          Returns num of children of selected component
 oracle.adf.view.rich.component.rich.data.RichTable getTable()
           
 void handleDownSelect(javax.faces.event.ActionEvent ae)
          Handles down selection in child navigator panel.
 void handleSave(java.util.Map<java.lang.String,FlexfieldDetail> idsFlexfieldXmlDefinitions, java.util.Map<java.lang.String,FlexfieldDetail> bindingsFlexfieldMetaDataDefinitions, FlexfieldDetail flexfieldDefaultDefinitions, FlexfieldCustomizationBean currentCustomization)
          Handles save event Each SelectedComponent has re-ordered flag.
 void handleUpDown(javax.faces.event.ActionEvent ae, boolean upPressed)
          Get the row Index on which up/down is pressed.
 void handleUpSelect(javax.faces.event.ActionEvent ae)
          Handles up selection in child navigator panel.
 void setTable(oracle.adf.view.rich.component.rich.data.RichTable _table)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlexfieldChildNavigatorBean

public FlexfieldChildNavigatorBean()
Method Detail

getCount

public int getCount()
Returns the num of children of selected component.

Returns:
Returns the num of children of selected component.

getChildren

public java.util.List<FlexfieldChildNavigatorBean.Child> getChildren()
Returns list of children for the selected component as required in childnavigator.jspx. First we check if the list of children are already cached. If cached return the list. If not get the facets and children. Traverse through each one and fill the children list for the selected component.


getDisplayName

public static java.lang.String getDisplayName(javax.faces.component.UIComponent comp)

getNumOfChildren

public int getNumOfChildren()
Returns num of children of selected component


handleSave

public void handleSave(java.util.Map<java.lang.String,FlexfieldDetail> idsFlexfieldXmlDefinitions,
                       java.util.Map<java.lang.String,FlexfieldDetail> bindingsFlexfieldMetaDataDefinitions,
                       FlexfieldDetail flexfieldDefaultDefinitions,
                       FlexfieldCustomizationBean currentCustomization)
Handles save event Each SelectedComponent has re-ordered flag. Based on the flag we traverse through the children and store the customization.


handleUpDown

public void handleUpDown(javax.faces.event.ActionEvent ae,
                         boolean upPressed)
Get the row Index on which up/down is pressed. Remove the children from the index and insert into previous or next row based on up/down

Parameters:
ae -
upPressed -

setTable

public void setTable(oracle.adf.view.rich.component.rich.data.RichTable _table)

getTable

public oracle.adf.view.rich.component.rich.data.RichTable getTable()

getCurrentInstance

public static FlexfieldChildNavigatorBean getCurrentInstance()
Returns FlexfieldChildNavigatorBean instance


handleUpSelect

public void handleUpSelect(javax.faces.event.ActionEvent ae)
Handles up selection in child navigator panel.

Parameters:
ae -

handleDownSelect

public void handleDownSelect(javax.faces.event.ActionEvent ae)
Handles down selection in child navigator panel.

Parameters:
ae -

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

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.