public abstract class AbstractPortalMode extends Object implements IPortalModeSPI
Constructor and Description |
---|
AbstractPortalMode(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 |
---|---|
Set<String> |
getAttributeNames()
Returns the set of attribute names for the current PortalMode.
|
String |
getDescription()
Returns the description of the current PortalMode.
|
int |
getId()
Returns the id of the current PortalMode.
|
Class<? extends AbstractLayoutFileMarkupFilter> |
getMarkupFilterClass()
Returns markup filter for parser to use to render page.
|
String |
getModeRootUrl() |
String |
getName()
Returns the name of the current PortalMode.
|
IPermissionProvider |
getPermissionProvider()
Returns the permission provider of the current PortalMode.
|
Class<? extends HTMLFragmentComponent> |
getRenderComponentClass()
Returns the render component
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validateAccess
public AbstractPortalMode(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 Set<String> getAttributeNames()
getAttributeNames
in interface IPortalModeSPI
public String getDescription()
getDescription
in interface IPortalMode
public int getId()
getId
in interface IPortalMode
public String getName()
getName
in interface IPortalMode
public IPermissionProvider getPermissionProvider()
getPermissionProvider
in interface IPortalModeSPI
public Class<? extends HTMLFragmentComponent> getRenderComponentClass()
getRenderComponentClass
in interface IPortalModeSPI
public Class<? extends AbstractLayoutFileMarkupFilter> getMarkupFilterClass()
IPortalModeSPI
getMarkupFilterClass
in interface IPortalModeSPI
public String getModeRootUrl()
getModeRootUrl
in interface IPortalMode
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.