Decision Center API

ilog.rules.teamserver.web.beans
Class NavigationBean

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

public class NavigationBean
extends Object
implements Serializable, ilog.rules.teamserver.web.navigation.IlrNavigationConstants

Navigation bean.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface ilog.rules.teamserver.web.navigation.IlrNavigationConstants
ANALYZE, ARCHIVE_REPORT_PAGE, BACK, BACK_TWICE_NAV, CHECK_EVENT_PROJECT, CLONEBASELINETOBRANCH_NAV, CLONEDEPLOYMENTBASELINETOBRANCH_NAV, COBOL_BACK, COBOL_FAIL, COBOL_INIT, COBOL_SUCCESS, COMPAREREPORTWITH_NAV, COMPOSE, COMPOSE_SIMULATION, COMPOSE_TEST_SUITE, CONFIGURE, CONFIRM_CHANGE_BASELINE_IN_USE, CONFIRM_CHANGE_EDITOR_IN_USE, CONFIRM_COMPOSE, CONFIRM_COMPOSE_CONTAINER, CONFIRM_NEW, COPY, COPY_VERSION, COPYBASELINE_NAV, COPYDEPLOYMENTBASELINE_NAV, DELETE, DELETEBASELINE_NAV, DELETEBRANCH_NAV, DELETEDEPLOYMENTBASELINE_NAV, DELETEMERGEREPORT_NAV, DELETEREPORT_NAV, DELETESERVER_NAV, DEPLOY_EVENTS, DEPLOY_EVENTS_FAIL, DEPLOY_EVENTS_SUCCESS, DETAILS_DELETE, DETAILSREPORT_NAV, DIAGNOSTIC, DISCONNECTED_PUBLISH_WIZARD_NAV, DISPLAY_MERGE_REPORTS, DOWNLOAD_MERGE_REPORT, DOWNLOAD_PROJECT, DOWNLOAD_REPORT, DOWNLOAD_RULEAPP, DOWNLOAD_RULEAPP_GENERATION_ERROR, DOWNLOAD_RULESET, DOWNLOAD_RULESET_GENERATION_ERROR, DOWNLOAD_SCENARIOSUITE, DOWNLOAD_SCENARIOSUITE_GENERATION_ERROR, DOWNLOAD_TEMPLATE_ANALYZE, DOWNLOAD_TEMPLATE_COMPOSE, EDIT_EXTRACTORS_PAGE, EDITPROJECTDEPENDENCIES_NAV, EDITSERVER_NAV, ERROR, EVENTSERVERCONFIGLOGINPASSWORD_NAV, EXECUTE_SCENARIOSUITE_GENERATION_ERROR, EXECUTE_SCENARIOSUITE_NAV, EXPLORE, EXPLORE_DELETE, EXPLORE_VERSION, FREEZEBASELINE_NAV, FREEZEDEPBASELINE_NAV, GENERATE_TEMPLATE_ANALYZE, GENERATE_TEMPLATE_COMPOSE, HANDLE_RESTORE_BASELINE_CONFLICTS, HANDLE_RESTORE_CONFLICTS, HISTORY, HOME, INFO, INSTALL_CONFIGURATION_PARAMETERS, INSTALL_LOG_PAGE, INSTALL_MESSAGES_FILES, INSTALL_NEW_CONFIGURATION_PARAMETER, INSTALL_NEW_MESSAGES_FILE, INSTALL_NEW_ROLE, INSTALL_SETUP_PERSISTENCE_CALENDAR, INSTALL_SETUP_PERSISTENCE_LOCALE, INSTALL_SETUP_ROLES, INSTALL_TABLES, INSTALL_WELCOME, LOCK, LOGIN, LOGOUT, MANAGEJOBS_NAV, MANAGERELEASES_NAV, MANAGERULEDOCSLOCATIONS_NAV, MANAGESERVERS_NAV, NAVIGATION_SUFFIX, NEW, NO_COMPATIBLE_REPORT_NAV, NOT_IMPLEMENTED, OPTIONS, PLEASE_WAIT, PROJECT, PROJECT_OPTIONS, QUERY, QUERY_RESULTS, REDEPLOY_EVENTS, REFACTORING, RENAMEBASELINE_NAV, RENAMEBRANCH_NAV, RENAMEDEPLOYMENTBASELINE_NAV, RENAMEMERGEREPORT_NAV, REPORT_GENERATION_CANCELLED, REPORT_GENERATION_ERROR, RESTORE_VERSION, RESTOREBASELINE_NAV, RSO_PUBLISH_WIZARD_NAV, RSO_UPDATE_WIZARD_NAV, RTS_PUBLISH_WIZARD_NAV, RULEAPP_DEPLOY, RULEAPP_DEPLOY_FAIL, RULEAPP_DEPLOY_SUCCESS, RULEAPP_QUICK_DEPLOY, RULEAPP_REDEPLOY, RULEAPP_TARGET, RULEAPPS, SCENARIO_SUITE_REPORT, SECURITY, SERVERCONFIG_NAV, SERVERCONFIGLOGINPASSWORD_NAV, SUCCESS, TRACK_CHANGES, UNLOCK, UPDATE_BASELINES, VERSIONING_POLICY, VIEW_DETAILS, VIEW_VERSION_DETAILS, VIEWBOM_NAV, VIEWBOMPATH_NAV, VIEWPARAMETERS_NAV, VIEWREPORTS_NAV
 
Constructor Summary
NavigationBean()
           
 
Method Summary
 String analyze()
          Navigates to the Analyze page.
 String back()
          Navigates to the previous page.
 String compose()
          Navigates to the Compose page.
 String configure()
          Navigates to the Configure page.
 void dependentProjectChanged(javax.faces.event.ValueChangeEvent evt)
           
 String error(String title, String message)
          Navigates to the error page with the given title and message.
 String error(String title, String message, Throwable throwable, boolean logout)
          Navigates to the error page with the given title and message.
 String explore()
          Navigates to the Explore page.
 List<ilog.rules.teamserver.web.beans.NavigationBean.BreadCrumb> getBreadCrumbs()
           
 String getCurrentActivityName()
           
 String getCurrentDecisionServiceName()
           
 String getCurrentReleaseName()
           
 String getCurrentSnapshotName()
           
 String getDependentProject()
           
 List<javax.faces.model.SelectItem> getDependentProjects()
           
static NavigationBean getInstance()
          Gets the instance of the bean in the current Faces context.
static IlrBaseline getMainDSBranch(IlrManagedBranch baseline)
           
 String home()
          Navigates to the Home page.
 boolean isAnalyzeEnabled()
          Tells whether the 'Analyze' tab is enabled.
 boolean isConfigureEnabled()
          Tells whether the 'Configure' tab is enabled.
 boolean isDecisionServiceActivityRendered()
           
 boolean isDecisionServiceSnapshotRendered()
           
 boolean isDecisionServiceValueRendered()
           
 boolean isDependentProjectSelected()
           
 boolean isDepProjectInfoValueRendered()
           
 boolean isProjectDecisionService()
           
 boolean isProjectEnabled()
          Tells whether the 'Project' tab is enabled.
 boolean isReportEnabled()
          Tells whether the 'Report' tab is enabled.
 String project()
          Navigates to the Project page.
 String query()
          Navigates to the Query page.
 void setCurrentActivityName(String input)
           
 void setCurrentDecisionServiceName(String input)
           
 void setCurrentReleaseName(String input)
           
 void setCurrentSnapshotName(String input)
           
 void setDependentProject(String projectName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigationBean

public NavigationBean()
Method Detail

getBreadCrumbs

public List<ilog.rules.teamserver.web.beans.NavigationBean.BreadCrumb> getBreadCrumbs()

isDecisionServiceValueRendered

public boolean isDecisionServiceValueRendered()
                                       throws IlrApplicationException
Throws:
IlrApplicationException

getCurrentDecisionServiceName

public String getCurrentDecisionServiceName()
                                     throws IlrApplicationException
Throws:
IlrApplicationException

setCurrentDecisionServiceName

public void setCurrentDecisionServiceName(String input)
                                   throws IlrApplicationException
Throws:
IlrApplicationException

getCurrentReleaseName

public String getCurrentReleaseName()
                             throws IlrApplicationException
Throws:
IlrApplicationException

setCurrentReleaseName

public void setCurrentReleaseName(String input)
                           throws IlrApplicationException
Throws:
IlrApplicationException

isDecisionServiceActivityRendered

public boolean isDecisionServiceActivityRendered()
                                          throws IlrApplicationException
Throws:
IlrApplicationException

getCurrentActivityName

public String getCurrentActivityName()
                              throws IlrApplicationException
Throws:
IlrApplicationException

setCurrentActivityName

public void setCurrentActivityName(String input)
                            throws IlrApplicationException
Throws:
IlrApplicationException

isDecisionServiceSnapshotRendered

public boolean isDecisionServiceSnapshotRendered()
                                          throws IlrApplicationException
Throws:
IlrApplicationException

getCurrentSnapshotName

public String getCurrentSnapshotName()
                              throws IlrApplicationException
Throws:
IlrApplicationException

setCurrentSnapshotName

public void setCurrentSnapshotName(String input)
                            throws IlrApplicationException
Throws:
IlrApplicationException

isDepProjectInfoValueRendered

public boolean isDepProjectInfoValueRendered()

getDependentProject

public String getDependentProject()

setDependentProject

public void setDependentProject(String projectName)

dependentProjectChanged

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

getDependentProjects

public List<javax.faces.model.SelectItem> getDependentProjects()
                                                        throws IlrApplicationException
Throws:
IlrApplicationException

isDependentProjectSelected

public boolean isDependentProjectSelected()
                                   throws IlrApplicationException
Throws:
IlrApplicationException

getMainDSBranch

public static IlrBaseline getMainDSBranch(IlrManagedBranch baseline)
                                   throws IlrApplicationException
Throws:
IlrApplicationException

getInstance

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

Returns:
An instance of NavigationBean.

home

public String home()
Navigates to the Home page.

Returns:
A navigation constant.

explore

public String explore()
Navigates to the Explore page.

Returns:
A navigation constant.

compose

public String compose()
Navigates to the Compose page.

Returns:
A navigation constant.

query

public String query()
Navigates to the Query page.

Returns:
A navigation constant.

configure

public String configure()
Navigates to the Configure page.

Returns:
A navigation constant.

analyze

public String analyze()
Navigates to the Analyze page.

Returns:
A navigation constant.

project

public String project()
Navigates to the Project page.

Returns:
A navigation constant.

back

public String back()
Navigates to the previous page.

Returns:
A navigation constant.

error

public String error(String title,
                    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 String error(String title,
                    String message,
                    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.


isProjectDecisionService

public boolean isProjectDecisionService()
                                 throws IlrApplicationException
Throws:
IlrApplicationException

Decision Center API

© Copyright IBM Corp. 1987, 2013