com.ibm.mmconsole.extension.er
Class LaunchPagesImpl

java.lang.Object
  extended by com.ibm.mmconsole.extension.er.BaseExtensionPointImpl
      extended by com.ibm.mmconsole.extension.er.LaunchPagesImpl
All Implemented Interfaces:
IBaseExtensionPoint, ILaunchPages

public class LaunchPagesImpl
extends BaseExtensionPointImpl
implements ILaunchPages

This is the launch pages extension point for Express Runtime. ILaunchPages.


Constructor Summary
LaunchPagesImpl()
          Default constructor
LaunchPagesImpl(java.util.Locale userLocale)
          A constructor that takes a Locale object.
 
Method Summary
 void destroy()
          Clean up objects
 void init()
          This init method must be called during the portlet class init.
 void launchAuthenticationPage(javax.portlet.ActionRequest launchRequest, javax.portlet.ActionResponse launchResponse, javax.portlet.PortletConfig config, BusinessApplication application, java.lang.String currentPageNavId, java.lang.String currentPageTitle)
          Launches the authentication page to verify that the SSL certificate and prompt for credentials for the resources in the business application.
 void launchBusinessApplicationProperties(javax.portlet.ActionRequest launchRequest, javax.portlet.ActionResponse launchResponse, javax.portlet.PortletConfig config, BusinessApplication application)
          Launches the business application properties page for the specified application.
 void launchDashboard(javax.portlet.ActionRequest launchRequest, javax.portlet.ActionResponse launchResponse, javax.portlet.PortletConfig config)
          Launches the dashboard for the Express Runtime console.
 void launchPageRequest(javax.portlet.ActionRequest launchRequest, javax.portlet.ActionResponse launchResponse, javax.portlet.PortletConfig config, java.lang.String navElementId, java.util.Hashtable context)
          Launch the specified page.
 void launchResourceProperties(javax.portlet.ActionRequest launchRequest, javax.portlet.ActionResponse launchResponse, javax.portlet.PortletConfig config, BusinessApplication application, Resource resource)
          Launches the resource properties page for the specified resource within an application.
 
Methods inherited from class com.ibm.mmconsole.extension.er.BaseExtensionPointImpl
getUserLocale, setUserLocale
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.mmconsole.extension.IBaseExtensionPoint
getUserLocale, setUserLocale
 

Constructor Detail

LaunchPagesImpl

public LaunchPagesImpl()
Default constructor


LaunchPagesImpl

public LaunchPagesImpl(java.util.Locale userLocale)
A constructor that takes a Locale object.

Parameters:
userLocale - - - The Locale object representing the user's locale (which is also known as the browser's locale).
Method Detail

init

public void init()
This init method must be called during the portlet class init. This initialize all the necessary object for portlet launching.

Specified by:
init in interface ILaunchPages

destroy

public void destroy()
Clean up objects

Specified by:
destroy in interface IBaseExtensionPoint
Overrides:
destroy in class BaseExtensionPointImpl

launchPageRequest

public void launchPageRequest(javax.portlet.ActionRequest launchRequest,
                              javax.portlet.ActionResponse launchResponse,
                              javax.portlet.PortletConfig config,
                              java.lang.String navElementId,
                              java.util.Hashtable context)
Launch the specified page.

Specified by:
launchPageRequest in interface ILaunchPages
Parameters:
launchRequest - An instance of the ActionRequest
launchResponse - an instance of the ActionResponse
config - An instance of the PortletConfig
navElementId - The navigation ID of the page to launch.
context - Any context data to pass to the page in a Hashtable object. This value can be null.

launchDashboard

public void launchDashboard(javax.portlet.ActionRequest launchRequest,
                            javax.portlet.ActionResponse launchResponse,
                            javax.portlet.PortletConfig config)
Launches the dashboard for the Express Runtime console. The dashboard is the main entry point into the Express Runtime console.

Specified by:
launchDashboard in interface ILaunchPages
Parameters:
launchRequest - - An instance of the ActionRequest.
launchResponse - - An instance of the ActionResponse.
config - - An instance of the PortletConfig.

launchBusinessApplicationProperties

public void launchBusinessApplicationProperties(javax.portlet.ActionRequest launchRequest,
                                                javax.portlet.ActionResponse launchResponse,
                                                javax.portlet.PortletConfig config,
                                                BusinessApplication application)
Launches the business application properties page for the specified application.

Specified by:
launchBusinessApplicationProperties in interface ILaunchPages
Parameters:
launchRequest - - An instance of the ActionRequest.
launchResponse - - An instance of the ActionResponse.
config - - An instance of the PortletConfig.
application - - An instance of BusinessApplication.

launchResourceProperties

public void launchResourceProperties(javax.portlet.ActionRequest launchRequest,
                                     javax.portlet.ActionResponse launchResponse,
                                     javax.portlet.PortletConfig config,
                                     BusinessApplication application,
                                     Resource resource)
Launches the resource properties page for the specified resource within an application.

Specified by:
launchResourceProperties in interface ILaunchPages
Parameters:
launchRequest - - An instance of the ActionRequest.
launchResponse - - An instance of the ActionResponse.
config - - An instance of the PortletConfig.
application - - An instance of BusinessApplication.
resource - - An instance of Resource.

launchAuthenticationPage

public void launchAuthenticationPage(javax.portlet.ActionRequest launchRequest,
                                     javax.portlet.ActionResponse launchResponse,
                                     javax.portlet.PortletConfig config,
                                     BusinessApplication application,
                                     java.lang.String currentPageNavId,
                                     java.lang.String currentPageTitle)
Launches the authentication page to verify that the SSL certificate and prompt for credentials for the resources in the business application. The method also takes information on the current task so that when the authentication process is done it can come back to the current task.

Specified by:
launchAuthenticationPage in interface ILaunchPages
Parameters:
launchRequest - - An instance of the ActionRequest.
launchResponse - - An instance of the ActionResponse.
config - - An instance of the PortletConfig.
application - - An instance of BusinessApplication.
currentPageNavId - - The navigation ID of the current page.
currentPageTitle - - The title of the current page.