com.filenet.wcm.toolkit.server.base
Class GlobalEventModule

java.lang.Object
  extended bycom.filenet.wcm.toolkit.server.base.WcmDpContainer
      extended bycom.filenet.wcm.toolkit.server.base.WcmModule
          extended bycom.filenet.wcm.toolkit.server.base.GlobalEventModule
All Implemented Interfaces:
WcmModuleInterface
Direct Known Subclasses:
WcmUiModule

public class GlobalEventModule
extends WcmModule


Field Summary
 
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
locale, NAME_DELIMITER
 
Constructor Summary
GlobalEventModule()
           
 
Method Summary
 void onStartPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Event that is fired for all UI modules before the page is rendered
 void subscribeGlobalEvent(java.lang.String eventName)
          Subscribe to a registered global event.
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
addChild, addChild, addChild, cleanup, debugTrace, getClassProperty, getClassProperty, getClassPropertyKeys, getConfiguration, getController, getDataStore, getModuleProperty, getModuleProperty, getModuleProperty, getModuleProperty, getModulePropertyKeys, getName, getParent, getWindowProperty, getWindowProperty, initialize, persist, queryDataProvider, setClassProperty, setClassProperty, setController, setModuleProperty, setModuleProperty, setName, setParent, setPortletParent, setWindowProperty
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmDpContainer
addDataProvider, addDataProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
addDataProvider
 

Constructor Detail

GlobalEventModule

public GlobalEventModule()
Method Detail

subscribeGlobalEvent

public void subscribeGlobalEvent(java.lang.String eventName)
                          throws java.lang.Exception
Subscribe to a registered global event.

Parameters:
eventName - - The global event name.
Throws:
java.lang.Exception

onStartPage

public void onStartPage(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws java.lang.Exception
Event that is fired for all UI modules before the page is rendered

Parameters:
request - HttpServletRequest
response - HttpServletResponse
Throws:
java.lang.Exception - If any errors occured


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.