com.filenet.wcm.apps.server.ui

Class WcmInfoModule

  1. java.lang.Object
  2. extended bycom.filenet.wcm.toolkit.server.base.WcmDpContainer
  3. extended bycom.filenet.wcm.toolkit.server.base.WcmModule
  4. extended bycom.filenet.wcm.toolkit.server.base.GlobalEventModule
  5. extended bycom.filenet.wcm.toolkit.server.base.WcmUiModule
  6. extended bycom.filenet.wcm.toolkit.server.ui.WcmMultiPanelModule
  7. extended bycom.filenet.wcm.toolkit.server.ui.WcmMultiPanelViewModule
  8. extended bycom.filenet.wcm.apps.server.ui.WcmInfoModule
All implemented interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
Direct known subclasses:
ComponentRelationshipInfo, MultiTransferElementInfo, PrefBootstrapInfo, PrefSiteInfo, PrefUserInfo, StepInfo, WcmLaunchProcessorInfo, WcmMilestoneInfo, WcmObjectInfo, WcmQueueInfo, WcmSelectedObjectInfo, WcmStepProcessorInfo, WcmWorkflowInfo, WcmWorkflowStepInfo

  1. public class WcmInfoModule
  2. extends com.filenet.wcm.toolkit.server.ui.WcmMultiPanelViewModule

Field Summary

Modifier and Type Field and Description
  1. protected
  2. java.util.List
actionButtons
  1. protected
  2. WcmPageBanner
bannerModule
  1. protected
  2. boolean
collapseInstructions
  1. protected
  2. WcmWorkplaceConfig
config
  1. protected
  2. com.filenet.wcm.toolkit.server.base.WcmController
controller
  1. protected
  2. boolean
displayDefaultButtons
  1. protected
  2. com.filenet.wcm.apps.server.presentation.ui.FooterLinksBar
footerLinksBarModule
  1. protected
  2. WcmFooter
footerModule
  1. protected
  2. boolean
HideApplyButton
  1. protected
  2. WcmInstruction
instructionsModule
  1. protected
  2. java.lang.String
instructionsText
  1. protected
  2. boolean
isPrimaryTitle
  1. protected
  2. com.filenet.wcm.apps.server.presentation.util.WorkplaceLayout
layout
  1. protected
  2. com.filenet.wcm.apps.server.presentation.ui.PathView
pathModule
  1. protected
  2. boolean
renderBannerModule
  1. protected
  2. boolean
renderFooterLinksBarModule
  1. protected
  2. boolean
renderFooterModule
  1. protected
  2. boolean
renderTopTabBarModule
  1. protected
  2. boolean
renderTreeView
  1. protected
  2. WcmSitePrefs
sitePrefs
  1. protected
  2. java.lang.String
sObjectTypeLabel
  1. protected
  2. WcmTextLinksBar
textLinksBarModule
  1. protected
  2. WcmLayoutTitleBar
titleBarModule
  1. protected
  2. TabsLayoutTitle
topTabBarModule
  1. protected
  2. WcmTreeView
treeModule
  1. protected
  2. com.filenet.wcm.toolkit.server.util.ui.WcmTreeNode
viewsNode
  1. protected static
  2. com.filenet.wcm.toolkit.util.WcmString
wsClickApply
  1. protected static
  2. com.filenet.wcm.toolkit.util.WcmString
wsClickSelectProperties
Fields inherited from class com.filenet.wcm.toolkit.server.ui.WcmMultiPanelViewModule
modified, MODIFIED_FLAGS_KEY
Fields inherited from class com.filenet.wcm.toolkit.server.ui.WcmMultiPanelModule
currentModule, currentPanel, currentPanelNumber, panelList
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
locale, NAME_DELIMITER

Constructor Summary

Constructor and Description
WcmInfoModule()

Method Summary

Modifier and Type Method and Description
  1. void
addActionButton(com.filenet.wcm.toolkit.server.util.ui.WcmAnchor oAnchor)
Adds a button to the toolbar.
  1. void
addActionButton(com.filenet.wcm.toolkit.util.WcmString wsLabel,java.lang.String sIconURL,java.lang.String eventName,java.lang.String requestParams)
Adds a button to the toolbar.
  1. protected
  2. void
addActionButtons()
  1. protected
  2. void
addApplyButton()
  1. protected
  2. void
addDefaultButtons()
  1. protected
  2. void
addFooterModules(com.filenet.wcm.apps.server.presentation.util.WorkplaceLayout layout)
  1. protected
  2. void
addPanelSelectionAnchor(int panelNumber)
  1. protected
  2. void
addSelectPropertiesButton()
  1. protected
  2. void
addTabBar()
  1. protected
  2. void
configRootViewsNode()
  1. protected
  2. void
configureTreeView()
Overwrite this method in your subclass.
  1. boolean
getDefaultInstructionsMode()
  1. com.filenet.wcm.apps.server.presentation.ui.PathView
getPathView()
  1. void
initialize()
Initializes the class data.
  1. void
onCollapse(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Triggers an event when a user collapses the instruction module.
  1. void
onExpand(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Triggers an event when a user expands the instruction module.
  1. void
onStartPage(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
  1. void
render(java.io.Writer w)
Renders the tab bar, instructions text, path view, toolbar, selected panel, and button bar.
  1. protected
  2. void
setCurrentPanelSelection(int panelNumber)
  1. void
setDefaultInstructionsMode(boolean bCollapsed)
Sets the default instruction module mode as collapsed or expanded.
  1. void
setDisplayDefaultButtons(boolean on)
Sets whether the default buttons are to be displayed.
  1. protected
  2. void
setExitLinkText(com.filenet.wcm.toolkit.util.WcmString wsLinkText)
Sets the exit link text.
  1. void
setHideApplyButton(boolean on)
  1. void
setInstructionsText(java.lang.String instructions)
  1. void
setInstructionsText(com.filenet.wcm.toolkit.util.WcmString instructions)
  1. void
setMultiPanelModuleTitle(java.lang.String mainTitle,boolean primaryTitle)
  1. void
setMultiPanelModuleTitle(com.filenet.wcm.toolkit.util.WcmString mainTitle,boolean primaryTitle)
  1. void
setPath(java.lang.String pathItemLabel)
Configures the contained WcmPathView module to have one non-clickable anchor with the specified label
  1. void
setPath(java.lang.String sPathItemLabel,java.lang.String pathTitle,java.lang.String sIconURL,java.lang.String url)
  1. void
setPath(java.lang.String sPathItemLabel,com.filenet.wcm.toolkit.util.WcmString pathTitle,java.lang.String sIconURL,java.lang.String url)
Configures the contained WcmPathView module to have one non-clickable anchor with the specified label and icon.
  1. void
setRenderBannerModule(boolean on)
  1. void
setRenderFooterLinksBarModule(boolean on)
  1. void
setRenderFooterModule(boolean on)
  1. void
setRenderTopTabBarModule(boolean on)
  1. void
setRenderTreeView(boolean on)
  1. protected
  2. void
setRootNodeLabel(com.filenet.wcm.toolkit.util.WcmString wsLabel)
Sets the tree module root node label.
  1. void
setTopTabBarLinks(java.lang.String currentTab,com.filenet.wcm.toolkit.util.WcmString title)
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmMultiPanelViewModule
getCurrentViewPanel, isPanelModified, onApply, selectPanel, setPanelModified
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmMultiPanelModule
addPanel, addPanel, addPanel, addPanel, getCurrentModule, getCurrentPanel, getFormName, getModule, getMultiPanelModuleTitle, getMultiPanelModuleTitleString, getPanel, onExit, onSelectPanel, selectPanel, setMultiPanelModuleTitle, setMultiPanelModuleTitle
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

wsClickApply

  1. protected static final com.filenet.wcm.toolkit.util.WcmString wsClickApply

wsClickSelectProperties

  1. protected static final com.filenet.wcm.toolkit.util.WcmString wsClickSelectProperties

textLinksBarModule

  1. protected WcmTextLinksBar textLinksBarModule

topTabBarModule

  1. protected TabsLayoutTitle topTabBarModule

instructionsModule

  1. protected WcmInstruction instructionsModule

pathModule

  1. protected com.filenet.wcm.apps.server.presentation.ui.PathView pathModule

treeModule

  1. protected WcmTreeView treeModule

titleBarModule

  1. protected WcmLayoutTitleBar titleBarModule

bannerModule

  1. protected WcmPageBanner bannerModule

footerModule

  1. protected WcmFooter footerModule

footerLinksBarModule

  1. protected com.filenet.wcm.apps.server.presentation.ui.FooterLinksBar footerLinksBarModule

instructionsText

  1. protected java.lang.String instructionsText

collapseInstructions

  1. protected boolean collapseInstructions

displayDefaultButtons

  1. protected boolean displayDefaultButtons

renderTreeView

  1. protected boolean renderTreeView

renderBannerModule

  1. protected boolean renderBannerModule

renderFooterLinksBarModule

  1. protected boolean renderFooterLinksBarModule

renderFooterModule

  1. protected boolean renderFooterModule

renderTopTabBarModule

  1. protected boolean renderTopTabBarModule

viewsNode

  1. protected com.filenet.wcm.toolkit.server.util.ui.WcmTreeNode viewsNode

actionButtons

  1. protected java.util.List actionButtons

isPrimaryTitle

  1. protected boolean isPrimaryTitle

sObjectTypeLabel

  1. protected java.lang.String sObjectTypeLabel

HideApplyButton

  1. protected boolean HideApplyButton

layout

  1. protected com.filenet.wcm.apps.server.presentation.util.WorkplaceLayout layout

config

  1. protected WcmWorkplaceConfig config

sitePrefs

  1. protected WcmSitePrefs sitePrefs

controller

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

Constructor Detail

WcmInfoModule

  1. public WcmInfoModule()

Method Detail

initialize

  1. public void initialize()
  2. throws java.lang.Exception
Initializes the class data.
Specified by:
initialize in interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
Overrides:
initialize in class com.filenet.wcm.toolkit.server.ui.WcmMultiPanelViewModule
Throws:
java.lang.Exception

onStartPage

  1. public void onStartPage(javax.servlet.http.HttpServletRequest request,
  2. javax.servlet.http.HttpServletResponse response)
  3. throws java.lang.Exception
Description copied from class: com.filenet.wcm.toolkit.server.ui.WcmMultiPanelViewModule
Event that is fired for all UI modules before the page is rendered.
Specified by:
onStartPage in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
Overrides:
onStartPage in class com.filenet.wcm.toolkit.server.ui.WcmMultiPanelViewModule
Parameters:
request - HttpServletRequest object
response - HttpServletResponse object
Throws:
java.lang.Exception - If any errors occured

setDefaultInstructionsMode

  1. public void setDefaultInstructionsMode( boolean bCollapsed)
Sets the default instruction module mode as collapsed or expanded.
Parameters:
bCollapsed - true if collapsed, false if expanded

getDefaultInstructionsMode

  1. public boolean getDefaultInstructionsMode( )

  1. public void setTopTabBarLinks(java.lang.String currentTab,
  2. com.filenet.wcm.toolkit.util.WcmString title)
  3. throws java.lang.Exception
Throws:
java.lang.Exception

setDisplayDefaultButtons

  1. public void setDisplayDefaultButtons( boolean on)
Sets whether the default buttons are to be displayed. Currently, the Exit button is the only default button.
Parameters:
on - boolean flag to display default buttons

addActionButton

  1. public void addActionButton(com.filenet.wcm.toolkit.server.util.ui.WcmAnchor oAnchor)
Adds a button to the toolbar.
Parameters:
oAnchor - WcmAnchor to add

addActionButton

  1. public void addActionButton(com.filenet.wcm.toolkit.util.WcmString wsLabel,
  2. java.lang.String sIconURL,
  3. java.lang.String eventName,
  4. java.lang.String requestParams)
  5. throws java.lang.Exception
Adds a button to the toolbar.
Parameters:
wsLabel - button label
sIconURL - button icon URL
eventName - eventName for the button
requestParams - additional request parameters
Throws:
java.lang.Exception

setPath

  1. public void setPath(java.lang.String pathItemLabel)
Configures the contained WcmPathView module to have one non-clickable anchor with the specified label
Parameters:
pathItemLabel - label displayed in the WcmPathView module

setPath

  1. public void setPath(java.lang.String sPathItemLabel,
  2. com.filenet.wcm.toolkit.util.WcmString pathTitle,
  3. java.lang.String sIconURL,
  4. java.lang.String url)
Configures the contained WcmPathView module to have one non-clickable anchor with the specified label and icon.
Parameters:
sPathItemLabel - label displayed in the WcmPathView module
pathTitle - Title displayed in the WcmPathView module
sIconURL - icon to be displayed in the WcmPathView module
url - The URL for the icon.

setPath

  1. public void setPath(java.lang.String sPathItemLabel,
  2. java.lang.String pathTitle,
  3. java.lang.String sIconURL,
  4. java.lang.String url)

setRenderTreeView

  1. public void setRenderTreeView(boolean on)

setRenderTopTabBarModule

  1. public void setRenderTopTabBarModule( boolean on)

setRenderBannerModule

  1. public void setRenderBannerModule( boolean on)

setRenderFooterLinksBarModule

  1. public void setRenderFooterLinksBarModule( boolean on)

setRenderFooterModule

  1. public void setRenderFooterModule( boolean on)

getPathView

  1. public com.filenet.wcm.apps.server.presentation.ui.PathView getPathView( )

setInstructionsText

  1. public void setInstructionsText( com.filenet.wcm.toolkit.util.WcmString instructions)

setInstructionsText

  1. public void setInstructionsText( java.lang.String instructions)

addPanelSelectionAnchor

  1. protected void addPanelSelectionAnchor( int panelNumber)
  2. throws java.lang.Exception
Description copied from class: com.filenet.wcm.toolkit.server.ui.WcmMultiPanelModule
Implements to construct any panel selection anchors needed to select panels.

Specified by:
addPanelSelectionAnchor in class com.filenet.wcm.toolkit.server.ui.WcmMultiPanelModule
Parameters:
panelNumber - The panel number of the current panel.
Throws:
java.lang.Exception - All errors.

setCurrentPanelSelection

  1. protected void setCurrentPanelSelection( int panelNumber)
Description copied from class: com.filenet.wcm.toolkit.server.ui.WcmMultiPanelModule
Implements the behavior of the panel selection anchors.

Specified by:
setCurrentPanelSelection in class com.filenet.wcm.toolkit.server.ui.WcmMultiPanelModule
Parameters:
panelNumber - The panel number of the current panel.

addActionButtons

  1. protected void addActionButtons( )
  2. throws java.lang.Exception
Throws:
java.lang.Exception

render

  1. public void render(java.io.Writer w)
  2. throws java.lang.Exception
Renders the tab bar, instructions text, path view, toolbar, selected panel, and button bar.
Specified by:
render in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
Overrides:
render in class com.filenet.wcm.toolkit.server.ui.WcmMultiPanelModule
Parameters:
w - Writer object
Throws:
java.lang.Exception

addFooterModules

  1. protected void addFooterModules( com.filenet.wcm.apps.server.presentation.util.WorkplaceLayout layout)
  2. throws java.lang.Exception
Throws:
java.lang.Exception

onCollapse

  1. public void onCollapse(javax.servlet.http.HttpServletRequest request,
  2. javax.servlet.http.HttpServletResponse response)
  3. throws java.lang.Exception
Triggers an event when a user collapses the instruction module.
Throws:
java.lang.Exception

onExpand

  1. public void onExpand(javax.servlet.http.HttpServletRequest request,
  2. javax.servlet.http.HttpServletResponse response)
  3. throws java.lang.Exception
Triggers an event when a user expands the instruction module.
Throws:
java.lang.Exception

addDefaultButtons

  1. protected void addDefaultButtons( )
  2. throws java.lang.Exception
Throws:
java.lang.Exception

addApplyButton

  1. protected void addApplyButton()
  2. throws java.lang.Exception
Throws:
java.lang.Exception

addSelectPropertiesButton

  1. protected void addSelectPropertiesButton( )
  2. throws java.lang.Exception
Throws:
java.lang.Exception

setExitLinkText

  1. protected void setExitLinkText( com.filenet.wcm.toolkit.util.WcmString wsLinkText)
Sets the exit link text. The default value is Exit.
Parameters:
wsLinkText - WcmString The new tree module root node label

setRootNodeLabel

  1. protected void setRootNodeLabel( com.filenet.wcm.toolkit.util.WcmString wsLabel)
Sets the tree module root node label. The default value is Information.
Parameters:
wsLabel - WcmString The new tree module root node label

setMultiPanelModuleTitle

  1. public void setMultiPanelModuleTitle( java.lang.String mainTitle,
  2. boolean primaryTitle)

setMultiPanelModuleTitle

  1. public void setMultiPanelModuleTitle( com.filenet.wcm.toolkit.util.WcmString mainTitle,
  2. boolean primaryTitle)

addTabBar

  1. protected void addTabBar()
  2. throws java.lang.Exception
Throws:
java.lang.Exception

configureTreeView

  1. protected void configureTreeView( )
  2. throws java.lang.Exception
Overwrite this method in your subclass.
Throws:
java.lang.Exception

setHideApplyButton

  1. public void setHideApplyButton( boolean on)
  2. throws java.lang.Exception
Throws:
java.lang.Exception

configRootViewsNode

  1. protected void configRootViewsNode( )