com.filenet.wcm.apps.server.ui.info.webcontent
Class FavoritesInfoPage

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
              extended bycom.filenet.wcm.toolkit.server.base.WcmUiModule
                  extended bycom.filenet.wcm.toolkit.server.ui.WcmXSLModule
                      extended bycom.filenet.wcm.apps.server.ui.info.webcontent.InfoPage
                          extended bycom.filenet.wcm.apps.server.ui.info.webcontent.FavoritesInfoPage
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface

public class FavoritesInfoPage
extends InfoPage


Field Summary
protected  SelectedCategoriesListView favoritesListView
           
protected  java.lang.String formName
           
protected  SelectedCategoriesListView selectedListView
           
protected static com.filenet.wcm.toolkit.util.WcmString wsCurrentFavorites
           
protected static com.filenet.wcm.toolkit.util.WcmString wsFavoritesLabel
           
protected static com.filenet.wcm.toolkit.util.WcmString wsNoTemplates
           
protected static com.filenet.wcm.toolkit.util.WcmString wsRemoveFavorites
           
 
Fields inherited from class com.filenet.wcm.apps.server.ui.info.webcontent.InfoPage
adp, config, controller, domTempSelectedCategories, latestXML, locale, ndp, rdp, state, WCM_PROPERTIES, wsAddToSelection, wsAddToShortcuts, wsBrowseLabel, wsRemove
 
Fields inherited from class com.filenet.wcm.toolkit.server.ui.WcmXSLModule
transformUtil
 
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
NAME_DELIMITER
 
Constructor Summary
FavoritesInfoPage()
          public Constructor sets the default type, the name and creates the WcmPropertiesUtil object.
 
Method Summary
 java.lang.String getFormName()
          return form name.
protected  org.w3c.dom.Document getWCMCategoriesFavoritesXML()
          return favorites data in xml format.
 void initialize()
          Initializes the data providers and the display objects.
 void onStartPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Initialize the Classes
 void render(java.io.Writer w)
          Renders the class data.
 void setFormName(java.lang.String formName)
          set form name
 
Methods inherited from class com.filenet.wcm.apps.server.ui.info.webcontent.InfoPage
onAddToSelection, onAddToShortcuts, onRemove, onRemoveFavorites
 
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmXSLModule
convertToNodeList, getXML, getXSLParameter, renderXSL, setXML, setXML, setXML, setXML, setXSL, setXSLParameter, setXSLParameter, setXSLParameter, setXSLParameter, setXSLParameter, setXSLParameter
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmUiModule
getActive, getBasePath, getBaseUrl, getBaseURLBuilder, getControllerEventUrl, getControllerEventUrl, getEventFormFields, getEventFormFields, getEventFormTag, getEventFormTag, getEventUrl, getEventUrl, getEventUrl, getEventUrl, getFormSubmitUrl, getFormSubmitUrl, getGlobalEventUrl, getGlobalEventUrl, getPageUrl, getPageUrl, getPageUrl, getPageUrl, getUiParent, peekEvent, renderJSP, routeEvent, routeEvent, serverSideInclude, serverSideInclude, setActive, setJSP
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.GlobalEventModule
subscribeGlobalEvent
 
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, 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, cleanup, getDataStore, getModuleProperty, getName, getParent, persist, queryDataProvider, setController, setModuleProperty, setName, setParent
 

Field Detail

wsCurrentFavorites

protected static final com.filenet.wcm.toolkit.util.WcmString wsCurrentFavorites

wsNoTemplates

protected static final com.filenet.wcm.toolkit.util.WcmString wsNoTemplates

wsFavoritesLabel

protected static final com.filenet.wcm.toolkit.util.WcmString wsFavoritesLabel

wsRemoveFavorites

protected static final com.filenet.wcm.toolkit.util.WcmString wsRemoveFavorites

favoritesListView

protected SelectedCategoriesListView favoritesListView

selectedListView

protected SelectedCategoriesListView selectedListView

formName

protected java.lang.String formName
Constructor Detail

FavoritesInfoPage

public FavoritesInfoPage()
                  throws java.lang.Exception
public Constructor sets the default type, the name and creates the WcmPropertiesUtil object. Used internally.

Throws:
java.lang.Exception
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Initializes the data providers and the display objects.

Specified by:
initialize in interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
Overrides:
initialize in class InfoPage
Throws:
java.lang.Exception

onStartPage

public void onStartPage(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws java.lang.Exception
Initialize the Classes

Parameters:
request - HttpServletRequest object
response - HttpServletResponse object
Throws:
java.lang.Exception

render

public void render(java.io.Writer w)
            throws java.lang.Exception
Renders the class data.

Parameters:
w - Writer for writing to the response object.
Throws:
java.lang.Exception - If there are problems.

getWCMCategoriesFavoritesXML

protected org.w3c.dom.Document getWCMCategoriesFavoritesXML()
                                                     throws java.lang.Exception
return favorites data in xml format.

Returns:
Throws:
java.lang.Exception

setFormName

public void setFormName(java.lang.String formName)
set form name

Parameters:
formName - Form name

getFormName

public java.lang.String getFormName()
return form name. If there is no form name the use default

Returns:
Form name


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