com.filenet.wcm.apps.server.ui.select

Class SubscribedEventSelect

  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.WcmJSPModule
  7. extended bycom.filenet.wcm.toolkit.server.ui.WcmLayoutModule
  8. extended bycom.filenet.wcm.apps.server.ui.layout.WcmWorkplaceLayoutModule
  9. extended bycom.filenet.wcm.apps.server.ui.select.SubscribedEventSelect
All implemented interfaces:
com.filenet.wcm.toolkit.server.base.WcmModuleInterface, com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface

  1. public class SubscribedEventSelect
  2. extends WcmWorkplaceLayoutModule
Displays the Subscribed Events selection module. This module displays a list of subscribed events to choose from.

Field Summary

Modifier and Type Field and Description
  1. static
  2. int
CUSTOM_OBJECT_EVENT_TYPE
  1. static
  2. java.lang.String[]
customObjectExcludedEventIds
  1. static
  2. int
DOCUMENT_EVENT_TYPE
  1. static
  2. java.lang.String[]
documentExcludedEventIds
  1. static
  2. int
FOLDER_EVENT_TYPE
  1. static
  2. java.lang.String[]
folderExcludedEventIds
Fields inherited from class com.filenet.wcm.apps.server.ui.layout.WcmWorkplaceLayoutModule
bannerModule, contextMenu, footerLinksBarModule, footerModule, leftCSSClass, MAIN_MODE, multiSelectMenu, OPERATION_MODE, renderLeftBar, showFooterLinksBar, tabBarModule, treeModule
Fields inherited from class com.filenet.wcm.toolkit.server.ui.WcmLayoutModule
jspMode, layout
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
locale, NAME_DELIMITER

Constructor Summary

Constructor and Description
SubscribedEventSelect()
Constructor

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getFormName()
Returns the form name.
  1. void
initialize()
Initializes the class data.
  1. void
onAccept(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Saves changes to XML document.
  1. void
onAdd(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Adds the selected event to the selected event list.
  1. void
onAddAll(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Adds all available events to selected event list.
  1. void
onClose(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Cancels any changes and return to the previous page.
  1. void
onRemove(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Removes the selected events from the selected event list.
  1. void
onRemoveAll(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Adds all available evennts to selected event list.
  1. void
onStartPage(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Initialize data and xsl data.
  1. protected
  2. void
renderLayout(java.io.Writer w)
Renders the layout.
Methods inherited from class com.filenet.wcm.apps.server.ui.layout.WcmWorkplaceLayoutModule
addModule, addModule, addPrimaryPageAnchors, createLayout, getAnchorTree, getBannerBar, getFooter, getFooterLinksBar, getOperationTitle, getPageTabId, getPrimaryPageAnchors, getTabBar, isAdminLinkAvailable, registerAddedModules, resetPrimaryPageAnchors, setAddContextMenu, setMode, setOperationTitle, setOperationTitle, setOperationTitle, setOperationTitle, setRemoveTreeModule, setShowFooterLinksBar, setTabBarSelection
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmLayoutModule
getLayout, render, setJSP
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmJSPModule
getCurrentModule
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
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

DOCUMENT_EVENT_TYPE

  1. public static final int DOCUMENT_EVENT_TYPE
See Also:

FOLDER_EVENT_TYPE

  1. public static final int FOLDER_EVENT_TYPE
See Also:

CUSTOM_OBJECT_EVENT_TYPE

  1. public static final int CUSTOM_OBJECT_EVENT_TYPE
See Also:

documentExcludedEventIds

  1. public static final java.lang.String[] documentExcludedEventIds

folderExcludedEventIds

  1. public static final java.lang.String[] folderExcludedEventIds

customObjectExcludedEventIds

  1. public static final java.lang.String[] customObjectExcludedEventIds

Constructor Detail

SubscribedEventSelect

  1. public SubscribedEventSelect()
  2. throws java.lang.Exception
Constructor
Throws:
java.lang.Exception - and exception object

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:
Throws:
java.lang.Exception - If there are problems.

onStartPage

  1. public void onStartPage(javax.servlet.http.HttpServletRequest request,
  2. javax.servlet.http.HttpServletResponse response)
  3. throws java.lang.Exception
Initialize data and xsl data.
Specified by:
onStartPage in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
Overrides:
onStartPage in class com.filenet.wcm.toolkit.server.base.GlobalEventModule
Parameters:
request - The JSP request object HttpServletRequest
response - The JSP response object HttpServletResponse
Throws:
java.lang.Exception - If there are problems retrieving data.

getFormName

  1. public java.lang.String getFormName( )
Returns the form name.
Specified by:
getFormName in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
Overrides:
getFormName in class com.filenet.wcm.toolkit.server.base.WcmUiModule
Returns:
form name

renderLayout

  1. protected void renderLayout(java.io.Writer w)
  2. throws java.lang.Exception
Renders the layout.
Overrides:
Parameters:
w - Writer for writing to the response object.
Throws:
java.lang.Exception - If there are problems.

onAccept

  1. public void onAccept(javax.servlet.http.HttpServletRequest request,
  2. javax.servlet.http.HttpServletResponse response)
  3. throws java.lang.Exception
Saves changes to XML document.
Parameters:
request - The JSP request object HttpServletRequest
response - The JSP response object HttpServletResponse
Throws:
java.lang.Exception - and Exception object if something goes wrong

onClose

  1. public void onClose(javax.servlet.http.HttpServletRequest request,
  2. javax.servlet.http.HttpServletResponse response)
  3. throws java.lang.Exception
Cancels any changes and return to the previous page.
Parameters:
request - The JSP request object HttpServletRequest
response - The JSP response object HttpServletResponse
Throws:
java.lang.Exception - an Exception object if something goes wrong

onAddAll

  1. public void onAddAll(javax.servlet.http.HttpServletRequest request,
  2. javax.servlet.http.HttpServletResponse response)
  3. throws java.lang.Exception
Adds all available events to selected event list.
Parameters:
request - The JSP request object HttpServletRequest
response - The JSP response object HttpServletResponse
Throws:
java.lang.Exception - an Exception object if something goes wrong

onAdd

  1. public void onAdd(javax.servlet.http.HttpServletRequest request,
  2. javax.servlet.http.HttpServletResponse response)
  3. throws java.lang.Exception
Adds the selected event to the selected event list.
Parameters:
request - The JSP request object HttpServletRequest
response - The JSP response object HttpServletResponse
Throws:
java.lang.Exception - an Exception object if something goes wrong

onRemoveAll

  1. public void onRemoveAll(javax.servlet.http.HttpServletRequest request,
  2. javax.servlet.http.HttpServletResponse response)
  3. throws java.lang.Exception
Adds all available evennts to selected event list.
Parameters:
request - The JSP request object HttpServletRequest
response - The JSP response object HttpServletResponse
Throws:
java.lang.Exception - an Exception object if something goes wrong

onRemove

  1. public void onRemove(javax.servlet.http.HttpServletRequest request,
  2. javax.servlet.http.HttpServletResponse response)
  3. throws java.lang.Exception
Removes the selected events from the selected event list.
Parameters:
request - The JSP request object HttpServletRequest
response - The JSP response object HttpServletResponse
Throws:
java.lang.Exception - an Exception object if something goes wrong