ilog.rules.teamserver.web.beans

Class NavigationBean

  • java.lang.Object
    • ilog.rules.teamserver.web.beans.NavigationBean
  • All Implemented Interfaces:
    ilog.rules.teamserver.web.navigation.IlrNavigationConstants, java.io.Serializable


    public class NavigationBean
    extends java.lang.Object
    implements java.io.Serializable, ilog.rules.teamserver.web.navigation.IlrNavigationConstants
    Navigation bean.
    See Also:
    Serialized Form
    • Constructor Detail

      • NavigationBean

        public NavigationBean()
    • Method Detail

      • getBreadCrumbs

        public java.util.List<ilog.rules.teamserver.web.beans.NavigationBean.BreadCrumb> getBreadCrumbs()
      • isDepProjectInfoValueRendered

        public boolean isDepProjectInfoValueRendered()
      • getDependentProject

        public java.lang.String getDependentProject()
      • setDependentProject

        public void setDependentProject(java.lang.String projectName)
      • dependentProjectChanged

        public void dependentProjectChanged(javax.faces.event.ValueChangeEvent evt)
      • getInstance

        public static NavigationBean getInstance()
        Gets the instance of the bean in the current Faces context.

        Returns:
        An instance of NavigationBean.
      • home

        public java.lang.String home()
        Navigates to the Home page.
        Returns:
        A navigation constant.
      • explore

        public java.lang.String explore()
        Navigates to the Explore page.
        Returns:
        A navigation constant.
      • compose

        public java.lang.String compose()
        Navigates to the Compose page.
        Returns:
        A navigation constant.
      • query

        public java.lang.String query()
        Navigates to the Query page.
        Returns:
        A navigation constant.
      • configure

        public java.lang.String configure()
        Navigates to the Configure page.
        Returns:
        A navigation constant.
      • analyze

        public java.lang.String analyze()
        Navigates to the Analyze page.
        Returns:
        A navigation constant.
      • project

        public java.lang.String project()
        Navigates to the Project page.
        Returns:
        A navigation constant.
      • back

        public java.lang.String back()
        Navigates to the previous page.
        Returns:
        A navigation constant.
      • error

        public java.lang.String error(java.lang.String title,
                             java.lang.String message)
        Navigates to the error page with the given title and message.
        Parameters:
        title - The title to display in the error page.
        message - The detailed message to display in the error page.
        Returns:
        A navigation constant to the error page.
      • error

        public java.lang.String error(java.lang.String title,
                             java.lang.String message,
                             java.lang.Throwable throwable,
                             boolean logout)
        Navigates to the error page with the given title and message.
        Parameters:
        title - The title to display in the error page.
        message - The detailed message to display in the error page
        throwable - The exception to display in the error page or null if none.
        logout - If true, a logout button is displayed; a back is displayed otherwise.
        Returns:
        A navigation constant to the error page.
      • isReportEnabled

        public boolean isReportEnabled()
        Tells whether the 'Report' tab is enabled.
      • isConfigureEnabled

        public boolean isConfigureEnabled()
        Tells whether the 'Configure' tab is enabled.
      • isAnalyzeEnabled

        public boolean isAnalyzeEnabled()
        Tells whether the 'Analyze' tab is enabled.
      • isProjectEnabled

        public boolean isProjectEnabled()
        Tells whether the 'Project' tab is enabled.

© Copyright IBM Corp. 1987, 2015