public class ContentAdministrationPortalMode extends ContentPublicationPortalMode
ContextValidatingPortalMode.PageChannelResolveResult
Constructor and Description |
---|
ContentAdministrationPortalMode(int id,
String name,
String description,
IPermissionProvider permissionProvider,
Class<? extends HTMLFragmentComponent> renderComponentClass,
String[] attributeNames,
Class<? extends AbstractLayoutFileMarkupFilter> markupFilterClass,
String modeRootUrl)
Constructor for the class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
validateAccess(IPortalMode currentMode,
HttpServletRequest httpServletRequest,
IPageWebResourceRequest webResourceRequest)
Checks whether the current user has access to the given portal mode.
|
resolve
webResourceExists
getAttributeNames, getDescription, getId, getMarkupFilterClass, getModeRootUrl, getName, getPermissionProvider, getRenderComponentClass
public ContentAdministrationPortalMode(int id, String name, String description, IPermissionProvider permissionProvider, Class<? extends HTMLFragmentComponent> renderComponentClass, String[] attributeNames, Class<? extends AbstractLayoutFileMarkupFilter> markupFilterClass, String modeRootUrl)
id
- the id of the current PortalModename
- the name of the current PortalMode.description
- the description of the current PortalMode.the
- portal mode url provider of the current PortalMode.attributeNames
- attribute names for the current PortalMode.markupFilterClass
- markup filter class for the current PortalMode.public boolean validateAccess(IPortalMode currentMode, HttpServletRequest httpServletRequest, IPageWebResourceRequest webResourceRequest) throws PortalException
IPortalModeSPI
validateAccess
in interface IPortalModeSPI
validateAccess
in class ContextValidatingPortalMode
currentMode
- the portal mode.httpServletRequest
- the HTTP servlet request.webResourceRequest
- the page web resource requestPortalException
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.