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

E22562-03

oracle.apps.fnd.applcore.favRecentItems.ui.bean
Class FavoritesBean

java.lang.Object
  extended by oracle.apps.fnd.applcore.favRecentItems.ui.bean.FavoritesBean

public class FavoritesBean
extends java.lang.Object


Constructor Summary
FavoritesBean()
           
 
Method Summary
 oracle.adf.view.rich.component.rich.RichPopup getAddFavoritesPopup()
           
 oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getAddtoFavChoiceList()
           
 oracle.adf.view.rich.component.rich.nav.RichCommandMenuItem getAddToFavLink()
           
 java.util.List<FavFolderObj> getFolders()
          This method returns the favorite folders and the links created in the folders
 oracle.adf.view.rich.component.rich.RichPopup getInvalidTfLaunch()
           
 oracle.adf.view.rich.component.rich.RichPopup getManagePopup()
          Get managed popup object.
 oracle.adf.view.rich.component.rich.nav.RichCommandButton getNewFolderBtn()
           
 oracle.adf.view.rich.component.rich.RichPopup getNewFolderPopup()
           
 java.util.List<FavItemObj> getParentItems()
          This method returns the parent level favorite items list
 boolean isAreFavoriteItems()
          (bug 8418715) This method enables/disables the manage favorites links depending upon if there are any favorites registered.
 void lauchedSelectedFavoriteItem(javax.faces.event.ActionEvent actionEvent, java.lang.String rowIdAttr)
          This method contains the common code for launching a favorite either from insdie folder or from favorites at root level.
 void onCancelIconManageFavorites(oracle.adf.view.rich.event.PopupCanceledEvent popupCanceledEvent)
          This method is called when popup is dismissed
 void OnClickAddFavorites(javax.faces.event.ActionEvent actionEvent)
          This method gets called when add to favorites link is clicked
 void OnClickCancelAddFavorites(javax.faces.event.ActionEvent actionEvent)
          This method get invoked when ok cancel button of Add to Favorites ok button pressed
 void OnClickCancelCreateNewFolder(javax.faces.event.ActionEvent actionEvent)
          This method gets invokded when create new folder dialog Cancel button is pressed
 void OnClickChildFavoriteItems(javax.faces.event.ActionEvent actionEvent)
           
 void onClickCreateNewFolder(javax.faces.event.ActionEvent actionEvent)
          This method gets invokded when create new folder dialog Create button is pressed
 void OnClickFavoriteItems(javax.faces.event.ActionEvent actionEvent)
          This method gets invoked when a root level favorite item is clicked.
 void OnclickNewFolderButton(javax.faces.event.ActionEvent actionEvent)
          This method invokes a popup to create a new folder.
 void OnClickOkAddFavorites(javax.faces.event.ActionEvent actionEvent)
          This method get invoked when ok cancel button of Add to Favorites ok button pressed
 void OnClickOkManageFavorites(javax.faces.event.ActionEvent actionEvent)
          This method saves the changes made in manage favorites UI.
 void setAddFavoritesPopup(oracle.adf.view.rich.component.rich.RichPopup addFavoritesPopup)
           
 void setAddtoFavChoiceList(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice addtoFavChoiceList)
           
 void setAddToFavLink(oracle.adf.view.rich.component.rich.nav.RichCommandMenuItem addToFavLink)
           
 void setAreFavoriteItems(boolean areFavoriteItems)
          (bug 8418715)
 void setFolders(java.util.List<FavFolderObj> folders)
           
 void setInvalidTfLaunch(oracle.adf.view.rich.component.rich.RichPopup invalidTfLaunch)
           
 void setManagePopup(oracle.adf.view.rich.component.rich.RichPopup managePopup)
          Set managed popup
 void setNewFolderBtn(oracle.adf.view.rich.component.rich.nav.RichCommandButton newFolderBtn)
           
 void setNewFolderPopup(oracle.adf.view.rich.component.rich.RichPopup newFolderPopup)
           
 void setParentItems(java.util.List<FavItemObj> parentItems)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FavoritesBean

public FavoritesBean()
Method Detail

OnClickAddFavorites

public void OnClickAddFavorites(javax.faces.event.ActionEvent actionEvent)
This method gets called when add to favorites link is clicked

Parameters:
actionEvent -

OnclickNewFolderButton

public void OnclickNewFolderButton(javax.faces.event.ActionEvent actionEvent)
This method invokes a popup to create a new folder.

Parameters:
actionEvent -

OnClickOkAddFavorites

public void OnClickOkAddFavorites(javax.faces.event.ActionEvent actionEvent)
This method get invoked when ok cancel button of Add to Favorites ok button pressed

Parameters:
actionEvent -

OnClickCancelAddFavorites

public void OnClickCancelAddFavorites(javax.faces.event.ActionEvent actionEvent)
This method get invoked when ok cancel button of Add to Favorites ok button pressed

Parameters:
actionEvent -

onClickCreateNewFolder

public void onClickCreateNewFolder(javax.faces.event.ActionEvent actionEvent)
This method gets invokded when create new folder dialog Create button is pressed

Parameters:
actionEvent -

OnClickCancelCreateNewFolder

public void OnClickCancelCreateNewFolder(javax.faces.event.ActionEvent actionEvent)
This method gets invokded when create new folder dialog Cancel button is pressed

Parameters:
actionEvent -

setAddtoFavChoiceList

public void setAddtoFavChoiceList(oracle.adf.view.rich.component.rich.input.RichSelectOneChoice addtoFavChoiceList)

getAddtoFavChoiceList

public oracle.adf.view.rich.component.rich.input.RichSelectOneChoice getAddtoFavChoiceList()

setNewFolderPopup

public void setNewFolderPopup(oracle.adf.view.rich.component.rich.RichPopup newFolderPopup)

getNewFolderPopup

public oracle.adf.view.rich.component.rich.RichPopup getNewFolderPopup()

setNewFolderBtn

public void setNewFolderBtn(oracle.adf.view.rich.component.rich.nav.RichCommandButton newFolderBtn)

getNewFolderBtn

public oracle.adf.view.rich.component.rich.nav.RichCommandButton getNewFolderBtn()

setAddFavoritesPopup

public void setAddFavoritesPopup(oracle.adf.view.rich.component.rich.RichPopup addFavoritesPopup)

getAddFavoritesPopup

public oracle.adf.view.rich.component.rich.RichPopup getAddFavoritesPopup()

setAddToFavLink

public void setAddToFavLink(oracle.adf.view.rich.component.rich.nav.RichCommandMenuItem addToFavLink)

getAddToFavLink

public oracle.adf.view.rich.component.rich.nav.RichCommandMenuItem getAddToFavLink()

OnClickOkManageFavorites

public void OnClickOkManageFavorites(javax.faces.event.ActionEvent actionEvent)
This method saves the changes made in manage favorites UI.

Parameters:
actionEvent -

setParentItems

public void setParentItems(java.util.List<FavItemObj> parentItems)

getParentItems

public java.util.List<FavItemObj> getParentItems()
This method returns the parent level favorite items list

Returns:

setFolders

public void setFolders(java.util.List<FavFolderObj> folders)

getFolders

public java.util.List<FavFolderObj> getFolders()
This method returns the favorite folders and the links created in the folders

Returns:

OnClickChildFavoriteItems

public void OnClickChildFavoriteItems(javax.faces.event.ActionEvent actionEvent)

lauchedSelectedFavoriteItem

public void lauchedSelectedFavoriteItem(javax.faces.event.ActionEvent actionEvent,
                                        java.lang.String rowIdAttr)
                                 throws java.lang.Exception
This method contains the common code for launching a favorite either from insdie folder or from favorites at root level.

Parameters:
actionEvent - Action event object
rowIdAttr -
Throws:
java.lang.Exception - object

OnClickFavoriteItems

public void OnClickFavoriteItems(javax.faces.event.ActionEvent actionEvent)
This method gets invoked when a root level favorite item is clicked.

Parameters:
actionEvent - action event object

setManagePopup

public void setManagePopup(oracle.adf.view.rich.component.rich.RichPopup managePopup)
Set managed popup

Parameters:
managePopup - popup object

getManagePopup

public oracle.adf.view.rich.component.rich.RichPopup getManagePopup()
Get managed popup object.

Returns:
popup object

setAreFavoriteItems

public void setAreFavoriteItems(boolean areFavoriteItems)
(bug 8418715)

Parameters:
areFavoriteItems - true if there are favorite items; false, otherwise

isAreFavoriteItems

public boolean isAreFavoriteItems()
(bug 8418715) This method enables/disables the manage favorites links depending upon if there are any favorites registered.

Returns:
true if there are favorie(s) registered; false, otherwise

setInvalidTfLaunch

public void setInvalidTfLaunch(oracle.adf.view.rich.component.rich.RichPopup invalidTfLaunch)

getInvalidTfLaunch

public oracle.adf.view.rich.component.rich.RichPopup getInvalidTfLaunch()

onCancelIconManageFavorites

public void onCancelIconManageFavorites(oracle.adf.view.rich.event.PopupCanceledEvent popupCanceledEvent)
This method is called when popup is dismissed

Parameters:
popupCanceledEvent -

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

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.