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

E22562-07

oracle.apps.fnd.applcore.socialnetwork.ui.managed
Class SocialNetworkBackingBean

java.lang.Object
  extended by oracle.apps.fnd.applcore.socialnetwork.ui.managed.SocialNetworkBackingBean
All Implemented Interfaces:
java.io.Serializable

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

Backing Bean to hold all of the binding information, etc for the Social Network Setup page.

Since:
11.1.1.7.0
Version:
$Header: atgpf/applcore/applications/SocialNetwork/ViewController/src/oracle/apps/fnd/applcore/socialnetwork/ui/managed/SocialNetworkBackingBean.java /st_atgpf_pt-11.1.1.7.0/4 2013/03/29 17:42:58 pacross Exp $
See Also:
Serialized Form

Constructor Summary
SocialNetworkBackingBean()
          Default Constructor.
 
Method Summary
 void attributeAddListener(javax.faces.event.ActionEvent actionEvent)
          Listener executed when the user clicks the plus button in the attributes table.
 void attributeDetailsPopupFetchAction(oracle.adf.view.rich.event.PopupFetchEvent popupFetchEvent)
          Fetch action to allow for the Attribute Details popup to display the correct information.
 void attributesDeleteListener(javax.faces.event.ActionEvent actionEvent)
          Listener triggered when the user clicks the remove attribute button.
 void attributesPopupDialogListener(oracle.adf.view.rich.event.DialogEvent dialogEvent)
          Listener fired when the user clicks the OK button.
 void attributesPopupFetchListener(oracle.adf.view.rich.event.PopupFetchEvent popupFetchEvent)
          Listener fired when the attributes popup is to be displayed.
 void attributeTableSelectionListener(org.apache.myfaces.trinidad.event.SelectionEvent selectionEvent)
          Listener that fires when a row is selected in the attribute table.
 void disableOsnListener(javax.faces.event.ActionEvent actionEvent)
          Disables the currently selected view object.
 oracle.adf.view.rich.component.rich.RichPopup getAttributeAddPopup()
          Gets the binding for the add attribute popup.
 oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent getAttributesFndTable()
          Binding retrieval for the fnd table for the attributes table.
 oracle.adf.view.rich.component.rich.data.RichTreeTable getAttributesPopupTreeTable()
          Gets the binding for the add attribute popup tree table.
 oracle.adf.view.rich.component.rich.data.RichTable getAttributesTable()
          Binding retrieval for the af table for the attributes table.
 java.util.List<SocialNetworkEnabledItem> getCurrentAttributeDetails()
          Retrieve the additional information for the attribute being hovered over in the UI.
 java.util.List<javax.faces.model.SelectItem> getCurrentNodeAllAttributeSelectedItems()
          Provide a list of the translated values for the Enabled Items that the user can select for Customer Enabled field.
 java.lang.Boolean getCurrentNodeMandatory()
          Determine if the currenlty selected node is mandatory.
 java.util.List<javax.faces.model.SelectItem> getEnabledItemsList()
          Provide a list of the translated values for the Enabled Items that the user can select for Customer Enabled field.
 oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent getObjectsFndTreeTable()
          Binding retrieval for the fnd tree table.
 oracle.adf.view.rich.component.rich.data.RichTreeTable getObjectsTreeTable()
          Binding retrieval for the af tree table.
 boolean getOsnEnabledPopupAutomatic()
          Gets the customer enabled flag on the View Object defintion in the model.
 boolean getOsnEnabledPopupManual()
          Gets the customer enabled flag on the View Object defintion in the model.
 boolean getOsnEnabledPopupNo()
          Gets the customer enabled flag on the View Object defintion in the model.
 boolean isDisableOSNButtonDisabled()
          Determines if the Disable OSN button should be disabled.
 boolean isEnableOSNButtonDisabled()
          Determines if the Enable OSN button should be disabled.
 void objectTreeSelectionListener(org.apache.myfaces.trinidad.event.SelectionEvent selectionEvent)
          Tree table listener for the object tree.
 void osnEnabledPopupDialogListener(oracle.adf.view.rich.event.DialogEvent dialogEvent)
          The listeneter that is fired when the user clicks the Ok or Cancel button on the OSN Enabled popup.
 void osnEnabledPopupFetchListener(oracle.adf.view.rich.event.PopupFetchEvent popupFetchEvent)
          Called when the Enable OSN button is pressed to show the popup.
 void setAttributeAddPopup(oracle.adf.view.rich.component.rich.RichPopup attributeAddPopup)
          Sets the binding for the add attribute popup.
 void setAttributesFndTable(oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent attributesFndTable)
          Binding storage for the fnd table for the attributes table.
 void setAttributesPopupTreeTable(oracle.adf.view.rich.component.rich.data.RichTreeTable attributesPopupTreeTable)
          Sets the binding for the add attribute popup tree table.
 void setAttributesTable(oracle.adf.view.rich.component.rich.data.RichTable attributesTable)
          Binding storage for the af table for the attributes table.
 void setObjectsFndTreeTable(oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent objectsFndTreeTable)
          Binding storage for the fnd tree table.
 void setObjectsTreeTable(oracle.adf.view.rich.component.rich.data.RichTreeTable objectsTreeTable)
          Binding storage for the af tree table.
 void setOsnEnabledPopupAutomatic(boolean automatic)
          Sets the customer enabled flag on the View Object defintion in the model.
 void setOsnEnabledPopupManual(boolean manual)
          Sets the customer enabled flag on the View Object defintion in the model.
 void setOsnEnabledPopupNo(boolean no)
          Sets the customer enabled flag on the View Object defintion in the model.
 void warningMessagePopupFetchAction(oracle.adf.view.rich.event.PopupFetchEvent popupFetchEvent)
          Fetch action to allow for the Warning Message popup to display the correct warning message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialNetworkBackingBean

public SocialNetworkBackingBean()
Default Constructor.

Method Detail

setObjectsFndTreeTable

public void setObjectsFndTreeTable(oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent objectsFndTreeTable)
Binding storage for the fnd tree table.

Parameters:
objectsFndTreeTable - the fnd tree table.

getObjectsFndTreeTable

public oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent getObjectsFndTreeTable()
Binding retrieval for the fnd tree table.

Returns:
the fnd tree table.

setObjectsTreeTable

public void setObjectsTreeTable(oracle.adf.view.rich.component.rich.data.RichTreeTable objectsTreeTable)
Binding storage for the af tree table.

Parameters:
objectsTreeTable - the af tree table.

getObjectsTreeTable

public oracle.adf.view.rich.component.rich.data.RichTreeTable getObjectsTreeTable()
Binding retrieval for the af tree table.

Returns:
the af tree table.

objectTreeSelectionListener

public void objectTreeSelectionListener(org.apache.myfaces.trinidad.event.SelectionEvent selectionEvent)
Tree table listener for the object tree.

Parameters:
selectionEvent - the selection event.

isEnableOSNButtonDisabled

public boolean isEnableOSNButtonDisabled()
Determines if the Enable OSN button should be disabled.

Returns:
true if the tree row selected is not a VO node.

isDisableOSNButtonDisabled

public boolean isDisableOSNButtonDisabled()
Determines if the Disable OSN button should be disabled.

Returns:
true if the tree row selected is not a VO node or the selected row has a cusomer enabled value of No/false.

osnEnabledPopupFetchListener

public void osnEnabledPopupFetchListener(oracle.adf.view.rich.event.PopupFetchEvent popupFetchEvent)
Called when the Enable OSN button is pressed to show the popup. It is used to load the Enable OSN value into pageflow scope.


setOsnEnabledPopupManual

public void setOsnEnabledPopupManual(boolean manual)
Sets the customer enabled flag on the View Object defintion in the model.

Parameters:
manual - the value ADF wants to set the flag to.

getOsnEnabledPopupManual

public boolean getOsnEnabledPopupManual()
Gets the customer enabled flag on the View Object defintion in the model.

Returns:
true if the OSN enabled value of Manual.

setOsnEnabledPopupAutomatic

public void setOsnEnabledPopupAutomatic(boolean automatic)
Sets the customer enabled flag on the View Object defintion in the model.

Parameters:
automatic - the value ADF wants to set the flag to.

getOsnEnabledPopupAutomatic

public boolean getOsnEnabledPopupAutomatic()
Gets the customer enabled flag on the View Object defintion in the model.

Returns:
true if the OSN enabled value of Automatic.

setOsnEnabledPopupNo

public void setOsnEnabledPopupNo(boolean no)
Sets the customer enabled flag on the View Object defintion in the model.

Parameters:
no - the value ADF wants to set the flag to.

getOsnEnabledPopupNo

public boolean getOsnEnabledPopupNo()
Gets the customer enabled flag on the View Object defintion in the model.

Returns:
true if the OSN enabled value of No.

osnEnabledPopupDialogListener

public void osnEnabledPopupDialogListener(oracle.adf.view.rich.event.DialogEvent dialogEvent)
The listeneter that is fired when the user clicks the Ok or Cancel button on the OSN Enabled popup. Copy the Customer Enabled value from the pageflow bean and put it back into the model.


setAttributesFndTable

public void setAttributesFndTable(oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent attributesFndTable)
Binding storage for the fnd table for the attributes table.

Parameters:
attributesFndTable - the fnd table.

getAttributesFndTable

public oracle.adf.view.rich.component.rich.fragment.RichDeclarativeComponent getAttributesFndTable()
Binding retrieval for the fnd table for the attributes table.

Returns:
the attributes fnd table.

setAttributesTable

public void setAttributesTable(oracle.adf.view.rich.component.rich.data.RichTable attributesTable)
Binding storage for the af table for the attributes table.

Parameters:
attributesTable - the af table.

getAttributesTable

public oracle.adf.view.rich.component.rich.data.RichTable getAttributesTable()
Binding retrieval for the af table for the attributes table.

Returns:
the attributes af table.

getEnabledItemsList

public java.util.List<javax.faces.model.SelectItem> getEnabledItemsList()
Provide a list of the translated values for the Enabled Items that the user can select for Customer Enabled field.

Returns:
the list of items to display.

disableOsnListener

public void disableOsnListener(javax.faces.event.ActionEvent actionEvent)
Disables the currently selected view object.

Parameters:
actionEvent - the button click event.

setAttributeAddPopup

public void setAttributeAddPopup(oracle.adf.view.rich.component.rich.RichPopup attributeAddPopup)
Sets the binding for the add attribute popup.

Parameters:
attributeAddPopup - popup reference.

getAttributeAddPopup

public oracle.adf.view.rich.component.rich.RichPopup getAttributeAddPopup()
Gets the binding for the add attribute popup.

Returns:
popup reference.

attributeAddListener

public void attributeAddListener(javax.faces.event.ActionEvent actionEvent)
Listener executed when the user clicks the plus button in the attributes table. Used to pop up the Add Attributes popup.

Parameters:
actionEvent - the event.

getCurrentNodeAllAttributeSelectedItems

public java.util.List<javax.faces.model.SelectItem> getCurrentNodeAllAttributeSelectedItems()
Provide a list of the translated values for the Enabled Items that the user can select for Customer Enabled field. This will filter off any mandatory attributes.

Returns:
the list of items to display.

attributesPopupFetchListener

public void attributesPopupFetchListener(oracle.adf.view.rich.event.PopupFetchEvent popupFetchEvent)
Listener fired when the attributes popup is to be displayed. This will filter off any mandatory attributes.

Parameters:
popupFetchEvent - the popup event.

attributesPopupDialogListener

public void attributesPopupDialogListener(oracle.adf.view.rich.event.DialogEvent dialogEvent)
Listener fired when the user clicks the OK button. On OK update the attributes data model with the new selections.

Parameters:
dialogEvent - the dialog event.

getCurrentNodeMandatory

public java.lang.Boolean getCurrentNodeMandatory()
Determine if the currenlty selected node is mandatory.

Returns:
true if node must always exist.

attributesDeleteListener

public void attributesDeleteListener(javax.faces.event.ActionEvent actionEvent)
Listener triggered when the user clicks the remove attribute button.

Parameters:
actionEvent - the event.

warningMessagePopupFetchAction

public void warningMessagePopupFetchAction(oracle.adf.view.rich.event.PopupFetchEvent popupFetchEvent)
Fetch action to allow for the Warning Message popup to display the correct warning message.

Parameters:
popupFetchEvent - the popup event.

setAttributesPopupTreeTable

public void setAttributesPopupTreeTable(oracle.adf.view.rich.component.rich.data.RichTreeTable attributesPopupTreeTable)
Sets the binding for the add attribute popup tree table.

Parameters:
attributesPopupTreeTable - attribute popup tree table reference.

getAttributesPopupTreeTable

public oracle.adf.view.rich.component.rich.data.RichTreeTable getAttributesPopupTreeTable()
Gets the binding for the add attribute popup tree table.

Returns:
attributeAddPopup attribute popup tree table reference.

attributeDetailsPopupFetchAction

public void attributeDetailsPopupFetchAction(oracle.adf.view.rich.event.PopupFetchEvent popupFetchEvent)
Fetch action to allow for the Attribute Details popup to display the correct information.

Parameters:
popupFetchEvent - the popup event.

getCurrentAttributeDetails

public java.util.List<SocialNetworkEnabledItem> getCurrentAttributeDetails()
Retrieve the additional information for the attribute being hovered over in the UI.

Returns:
the list of attribute details.

attributeTableSelectionListener

public void attributeTableSelectionListener(org.apache.myfaces.trinidad.event.SelectionEvent selectionEvent)
Listener that fires when a row is selected in the attribute table. It is required to pass the selection event onto the table as well as store the selected attribute for later use.

Parameters:
selectionEvent - the selection event.

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

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.