com.filenet.wcm.apps.server.ui.select
Class WcmSecurityAccessSelect
- java.lang.Object
com.filenet.wcm.toolkit.server.base.WcmDpContainer
com.filenet.wcm.toolkit.server.base.WcmModule
com.filenet.wcm.toolkit.server.base.GlobalEventModule
com.filenet.wcm.toolkit.server.base.WcmUiModule
com.filenet.wcm.toolkit.server.ui.WcmJSPModule
com.filenet.wcm.toolkit.server.ui.WcmLayoutModule
com.filenet.wcm.apps.server.ui.layout.WcmWorkplaceLayoutModule
com.filenet.wcm.apps.server.ui.select.WcmSecurityAccessSelect
- public class WcmSecurityAccessSelect
- extends WcmWorkplaceLayoutModule
WcmSecurityUtil,
WcmAuthoringDataProviderField Summary
| 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 |
|---|
WcmSecurityAccessSelect()
Create a new WcmSecurityAccessSelect object for displaying the selected
grantee's access rights.
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
cleanup()
Cleans up session data to reduce resource usage.
|
|
getFormName()
Returns the form name used by the WcmSecurityAccessSelect UI so that the
container object can use the same form name to submit events.\
|
getSecurityUtil()
Accessor method to return the WcmSecurityUtil object.
|
|
getTextLinksBar()
Accessor method to return the WcmTextLinksBar object.
|
|
|
getXSLModule()
Accessor method to return the WcmXSLModule object.
|
|
initialize()
Initializes data providers and XSL parameters.
|
|
onAccept(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Handles the Modify event triggered by the user selecting the Continue link.
|
|
onClose(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Handles the Cancel event triggered by the user selecting the Cancel link.
|
|
onSelectAccess(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Handles the Select Access event triggered by the user selecting one of the access
checkboxes.
|
|
onSelectView(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
The updated selected grantee's access right is saved to the Permission Object XML using the
WcmSecurityUtil module.
|
|
onStartPage(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Handles the Start Page event triggered by the controller.
|
|
onUpdate(javax.servlet.http.HttpServletRequest request,javax.servlet.http.HttpServletResponse response)
Handles the Update event triggered by the user selecting the Continue link on the warning page.
|
| 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, renderLayout, 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, 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, getDataStore, getModuleProperty, getName, getParent, persist, queryDataProvider, setController, setModuleProperty, setName, setParent |
Constructor Detail
WcmSecurityAccessSelect
- public WcmSecurityAccessSelect( )
- throws java.lang.Exception
java.lang.Exception - All errors. Method Detail
initialize
- public void initialize()
- throws java.lang.Exception
initialize in interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
initialize in class WcmWorkplaceLayoutModule
java.lang.Exception - All errors. WcmAuthoringDataProvidergetFormName
- public java.lang.String getFormName( )
getFormName in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
getFormName in class com.filenet.wcm.toolkit.server.base.WcmUiModule
onStartPage
- public void onStartPage(javax.servlet.http.HttpServletRequest request,
- javax.servlet.http.HttpServletResponse response)
- throws java.lang.Exception
Data is retrieved from the WcmAuthoringDataProvider class property and all XSL parameters are set for the XSL rendering process.
onStartPage in interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface
onStartPage in class com.filenet.wcm.toolkit.server.base.GlobalEventModule
request - The JSP request object. response - The JSP response object. java.lang.Exception - All errors. WcmAuthoringDataProvideronSelectView
- public void onSelectView(javax.servlet.http.HttpServletRequest request,
- javax.servlet.http.HttpServletResponse response)
- throws java.lang.Exception
The updated selected grantee's access right is saved to the Permission Object XML using the WcmSecurityUtil module. The module then redirects back to the calling page.
request - The JSP request object. response - The JSP response object. java.lang.Exception - All errors. onSelectAccess
- public void onSelectAccess(javax.servlet.http.HttpServletRequest request,
- javax.servlet.http.HttpServletResponse response)
- throws java.lang.Exception
The selected access level is granted or denied based on the user's selection using the WcmSecurityUtil module.
request - The JSP request object. response - The JSP response object. java.lang.Exception - All errors. onClose
- public void onClose(javax.servlet.http.HttpServletRequest request,
- javax.servlet.http.HttpServletResponse response)
- throws java.lang.Exception
Discards changes made to the grantee's security. Gets the return URL and redirect back to the calling page.
request - The JSP request object. response - The JSP response object. java.lang.Exception - All errors. onAccept
- public void onAccept(javax.servlet.http.HttpServletRequest request,
- javax.servlet.http.HttpServletResponse response)
- throws java.lang.Exception
The updated selected grantee's access right is saved to the Permission Object XML using the WcmSecurityUtil module. A warning page will be shown if an explicit deny entry existed and was set for the first time by the user. The user is then required to confirm the selection by clicking on the Continue link in the warning page.
request - The JSP request object. response - The JSP response object. java.lang.Exception - All errors. onUpdate
- public void onUpdate(javax.servlet.http.HttpServletRequest request,
- javax.servlet.http.HttpServletResponse response)
- throws java.lang.Exception
The updated selected grantee's access right is saved to the Permission Object XML using the WcmSecurityUtil module. The module then redirects back to the calling page.
request - The JSP request object. response - The JSP response object. java.lang.Exception - All errors. cleanup
- public void cleanup()
- throws java.lang.Exception
cleanup in interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
cleanup in class com.filenet.wcm.toolkit.server.base.WcmModule
java.lang.Exception - All errors. getTextLinksBar
- public WcmTextLinksBar getTextLinksBar( )
getSecurityUtil
- public WcmSecurityUtil getSecurityUtil( )
getXSLModule
- public com.filenet.wcm.toolkit.server.ui.WcmXSLModule getXSLModule( )