public interface IPortalModeSPI extends IPortalMode
IPortalMode
implementations must also implement this interface.Modifier and Type | Method and Description |
---|---|
Set<String> |
getAttributeNames()
Returns the set of attribute names for the current PortalMode.
|
Class<? extends AbstractLayoutFileMarkupFilter> |
getMarkupFilterClass()
Returns markup filter for parser to use to render page.
|
IPermissionProvider |
getPermissionProvider()
Returns the permission provider of the current mode.
|
Class<? extends HTMLFragmentComponent> |
getRenderComponentClass()
Returns the component render.
|
boolean |
validateAccess(IPortalMode currentMode,
HttpServletRequest httpServletRequest,
IPageWebResourceRequest webResourceRequest)
Checks whether the current user has access to the given portal mode.
|
getDescription, getId, getModeRootUrl, getName
IPermissionProvider getPermissionProvider()
Set<String> getAttributeNames()
Class<? extends HTMLFragmentComponent> getRenderComponentClass()
Class<? extends AbstractLayoutFileMarkupFilter> getMarkupFilterClass()
boolean validateAccess(IPortalMode currentMode, HttpServletRequest httpServletRequest, IPageWebResourceRequest webResourceRequest) throws PortalException
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.