com.filenet.wcm.apps.server.ui.nav
Class ShortcutNavigation

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.presentation.ui.GenericListView
                          extended bycom.filenet.wcm.apps.server.ui.WcmGenericListView
                              extended bycom.filenet.wcm.apps.server.ui.WcmNavigationListView
                                  extended bycom.filenet.wcm.apps.server.ui.nav.ShortcutNavigation
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
Direct Known Subclasses:
SelectOperation.SelectionShortcutNavigation

public class ShortcutNavigation
extends WcmNavigationListView


Field Summary
protected  WcmUserPrefs.Category category
           
protected  com.filenet.wcm.toolkit.server.base.WcmController controller
           
static java.lang.String CURRENT_CATEGORY_KEY
           
protected  ObjectStoreAccessUtil osAccessUtil
           
protected  com.filenet.wcm.apps.server.presentation.ui.PathView path
           
protected  WcmSitePrefs sitePrefs
           
protected  WcmUserPrefs userPrefs
           
static com.filenet.wcm.toolkit.util.WcmString wsAllShortcuts
           
 
Fields inherited from class com.filenet.wcm.apps.server.ui.WcmNavigationListView
contextMenuHelper
 
Fields inherited from class com.filenet.wcm.apps.server.ui.WcmGenericListView
config
 
Fields inherited from class com.filenet.wcm.toolkit.server.ui.WcmXSLModule
transformUtil
 
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
locale, NAME_DELIMITER
 
Constructor Summary
ShortcutNavigation()
           
 
Method Summary
protected  java.lang.String generateXML()
           
 void initialize()
           
 void onReset(com.filenet.wcm.toolkit.server.util.event.GlobalEvent evt)
          global even handler.
 void onSelectBucket(com.filenet.wcm.toolkit.server.util.event.GlobalEvent e)
           
 void onSelectShortcutsRoot(com.filenet.wcm.toolkit.server.util.event.GlobalEvent e)
           
 void onStartPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void render(java.io.Writer w)
           
 void setCategory(WcmUserPrefs.Category b)
           
protected  void writeCategoriesXML(java.lang.StringBuffer sb, java.util.List categories)
           
 void writeItemXML(WcmShortcut s, java.lang.StringBuffer sb, java.lang.String eventURL, java.lang.String currentCategory)
           
protected  void writeShortcutsXML(java.util.Collection shortcuts, java.lang.String currentCategory, java.lang.StringBuffer sb)
           
 
Methods inherited from class com.filenet.wcm.apps.server.ui.WcmNavigationListView
setColumns, setExtraURLParameters, setFormSubmitName, setMaxRows, setShowContextMenu, setShowNoItemsMessage, setTitle, setTitle
 
Methods inherited from class com.filenet.wcm.apps.server.ui.WcmGenericListView
configNameProperties, configNameProperties, configNameProperties, configNameProperties, setCustomObjectNameProperty, setCustomObjectNameProperty, setDocumentNameProperty, setDocumentNameProperty, setFolderNameProperty, setFolderNameProperty
 
Methods inherited from class com.filenet.wcm.apps.server.presentation.ui.GenericListView
getCurrentPage, getXSLTemplate, onPageChange, setCurrentPage, setFirstDisplayedItem, setItemsCount, setLastDisplayedItem, setNameProperty, setNoItemsText, setNotItemsTextString, setPageSize, setPagingLabel, setSelectedObjects
 
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, getFormName, 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

CURRENT_CATEGORY_KEY

public static final java.lang.String CURRENT_CATEGORY_KEY
See Also:
Constant Field Values

wsAllShortcuts

public static final com.filenet.wcm.toolkit.util.WcmString wsAllShortcuts

userPrefs

protected WcmUserPrefs userPrefs

sitePrefs

protected WcmSitePrefs sitePrefs

path

protected com.filenet.wcm.apps.server.presentation.ui.PathView path

controller

protected com.filenet.wcm.toolkit.server.base.WcmController controller

category

protected WcmUserPrefs.Category category

osAccessUtil

protected ObjectStoreAccessUtil osAccessUtil
Constructor Detail

ShortcutNavigation

public ShortcutNavigation()
Method Detail

setCategory

public void setCategory(WcmUserPrefs.Category b)
                 throws java.lang.Exception
Throws:
java.lang.Exception

initialize

public void initialize()
                throws java.lang.Exception
Specified by:
initialize in interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
Overrides:
initialize in class WcmNavigationListView
Throws:
java.lang.Exception

onReset

public void onReset(com.filenet.wcm.toolkit.server.util.event.GlobalEvent evt)
             throws java.lang.Exception
global even handler. indicates that user clicked their Home Link so this page needs to be reset to the top level and state information cleared.

Parameters:
evt - - GlobalEven handler
Throws:
java.lang.Exception

onSelectShortcutsRoot

public void onSelectShortcutsRoot(com.filenet.wcm.toolkit.server.util.event.GlobalEvent e)
                           throws java.lang.Exception
Throws:
java.lang.Exception

onSelectBucket

public void onSelectBucket(com.filenet.wcm.toolkit.server.util.event.GlobalEvent e)
                    throws java.lang.Exception
Throws:
java.lang.Exception

render

public void render(java.io.Writer w)
            throws java.lang.Exception
Specified by:
render in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
Overrides:
render in class WcmNavigationListView
Throws:
java.lang.Exception

generateXML

protected java.lang.String generateXML()
                                throws java.lang.Exception
Throws:
java.lang.Exception

onStartPage

public void onStartPage(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws java.lang.Exception
Throws:
java.lang.Exception

writeShortcutsXML

protected void writeShortcutsXML(java.util.Collection shortcuts,
                                 java.lang.String currentCategory,
                                 java.lang.StringBuffer sb)
                          throws java.lang.Exception
Throws:
java.lang.Exception

writeCategoriesXML

protected void writeCategoriesXML(java.lang.StringBuffer sb,
                                  java.util.List categories)
                           throws java.lang.Exception
Throws:
java.lang.Exception

writeItemXML

public void writeItemXML(WcmShortcut s,
                         java.lang.StringBuffer sb,
                         java.lang.String eventURL,
                         java.lang.String currentCategory)
                  throws java.lang.Exception
Throws:
java.lang.Exception


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