class: Navigation

public class: Navigation
Author: : Tobias Schraut, created 30.05.2007
Project: Phase: 1.0; Status: Proposed; Version: : $Revision: 1850 $ $LastChangedDate: 2008-12-17 1; Complexity: 1
Dates: Created: 16.07.2009 15:32:12; Modified: 16.07.2009 15:32:12;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {7D1AABED-3D7F-4e54-882D-7B2AEB9AE473}
Navigation.java Backing Bean for the Navigation side bar of pubman. Additionally there is some internationalization functionality (language switching).
 

Goto: Custom Properties, Fields, Methods

Extends: FacesBean

See also: ItemListSessionBean, FacesBean

Appears in: desktop

Connections
 
Custom Properties
 
Navigation Attributes
Attribute Details
public static const String
  BEAN_NAME
Initial: "Navigation"
private ItemListSessionBean
  itemListSessionBean
Initial: (ItemListSessionBean) getSessionBean(ItemListSessionBean.class)
Notes: identifier from the breadcrump component in the page
private static Logger
  logger
Initial: Logger.getLogger(Navigation.class)
private List
  navRules
private boolean
  showExportMenuOption
 
Navigation Methods
Operation Details
public
changeLanguage():String
Sequential
Notes: Changes the language within the application. Some classes have to be treated especially.
@return String navigation string (JSF navigation) to reload the page the user has been when changing the language
protected
getAdvancedSearchEdit():AdvancedSearchEdit
Sequential
Notes: Returns the AdvancedSearchEdit session bean.
@return AdvancedSearchEdit session bean.
protected
getAffiliationBean():AffiliationBean
Sequential
Notes: Returns the AffiliationSessionBean.
@return a reference to the scoped data bean (AffiliationSessionBean)
protected
getCollectionListSessionBean():ContextListSessionBean
Sequential
Notes: Returns the ContextListSessionBean.
@return a reference to the scoped data bean (ContextListSessionBean)
public static
getFacesParamValue(
   String name):String
Sequential
Notes: Gets the parameters out of the faces context.
@return The value
protected
getItemControllerSessionBean():ItemControllerSessionBean
Sequential
Notes: Returns a reference to the scoped data bean (the ItemControllerSessionBean).
@return a reference to the scoped data bean.
protected
getItemListSessionBean():ItemListSessionBean
Sequential
Notes: Returns the ItemListSessionBean.
@return a reference to the scoped data bean (ItemListSessionBean)
protected
getItemVersionSessionBean():ItemVersionListSessionBean
Sequential
Notes: Returns the ReleasesSessionBean.
@return a reference to the scoped data bean (ReleasesSessionBean)
protected
getRevisionListSessionBean():RelationListSessionBean
Sequential
Notes: Returns the RevisionListSessionBean.
@return a reference to the scoped data bean (RevisionListSessionBean)
protected
getSearchResultList():SearchResultList
Sequential
Notes: Returns the SearchResultList session bean.
@return AdvancedSearchEdit session bean.
public
getShowExportMenuOption():boolean
Sequential
public
init():void
Sequential
Notes: Callback method that is called whenever a page containing this page fragment is navigated to, either directly via a URL, or indirectly via page navigation.
public
loadAffiliationTree():String
Sequential
Notes: loads the affiliation tree page.
@return String navigation string (JSF navigation) to load the affiliation tree page.
public
loadHelp():String
Sequential
Notes: loads the help page.
@return String navigation string (JSF navigation) to load the help page.
public
loadHome():String
Sequential
Notes: loads the home page.
@return String navigation string (JSF navigation) to load the home page.
public
Navigation():
Sequential
Notes: Public constructor.
public
newSubmission():String
Sequential
Notes: Starts a new submission.
@return string, identifying the page that should be navigated to after this methodcall
public
setShowExportMenuOption(
   boolean showExportMenuOption):void
Sequential