Package org.ametys.web.clientsideelement
Class AbstractPagesContainerClientSideElement
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.ui.StaticFileImportsClientSideElement
org.ametys.core.ui.StaticClientSideElement
org.ametys.web.clientsideelement.AbstractPageClientSideElement
org.ametys.web.clientsideelement.AbstractPagesContainerClientSideElement
- All Implemented Interfaces:
ClientSideElement
,LogEnabled
,PluginAware
,Configurable
,Serviceable
- Direct Known Subclasses:
PageRobotsClientSideElement
Abstract client side element for pages or sitemap.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
-
Field Summary
Fields inherited from class org.ametys.web.clientsideelement.AbstractPageClientSideElement
_resolver, _synchronizeComponent
Fields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected I18nizableText
getAllRightPagesContainerDescription
(PagesContainer pagesContainer) Get i18n description for all right pages containerprotected I18nizableText
getAllRightSitemapDescription
(Sitemap sitemap) Get i18n description for all right sitemapprotected I18nizableText
getNoRightPagesContainerDescription
(PagesContainer pagesContainer) Get the description when user has no right on pages containerprotected I18nizableText
getNoRightSitemapDescription
(Sitemap sitemap) Get the description when user has no right on sitemapgetPagesContainerDefaultParameters
(PagesContainer pagesContainer) Get the default pages container's parametersgetSitemapDefaultParameters
(Sitemap sitemap) Get the default sitemap's parametersprotected I18nizableText
getSitemapTitle
(Sitemap sitemap) Get the sitemap's titleprotected boolean
hasRight
(PagesContainer pagesContainer) Determines if user has convenient right on pages containerprotected boolean
Determines if user has convenient right on sitemapvoid
service
(ServiceManager smanager) Methods inherited from class org.ametys.web.clientsideelement.AbstractPageClientSideElement
getAllRightPageDescription, getNoModifiablePageDescription, getNoRightPageDescription, getPageDefaultParameters, hasRight
Methods inherited from class org.ametys.core.ui.StaticClientSideElement
_configureClass, _configureParameters, _configureScript, configureInitialParameters
Methods inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
AbstractPagesContainerClientSideElement
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractPageClientSideElement
- Throws:
ServiceException
-
getPagesContainerDefaultParameters
Get the default pages container's parameters- Parameters:
pagesContainer
- The page or sitemap- Returns:
- The default parameters
-
getSitemapDefaultParameters
Get the default sitemap's parameters- Parameters:
sitemap
- The sitemap- Returns:
- The default parameters
-
getSitemapTitle
Get the sitemap's title- Parameters:
sitemap
- the sitemap- Returns:
- the sitemap's title
-
hasRight
Determines if user has convenient right on pages container- Parameters:
pagesContainer
- The page or sitemap- Returns:
- true if the user has convenient right
-
hasRight
Determines if user has convenient right on sitemap- Parameters:
sitemap
- The sitemap- Returns:
- true if the user has convenient right
-
getNoRightPagesContainerDescription
Get the description when user has no right on pages container- Parameters:
pagesContainer
- The page or sitemap- Returns:
- the description
-
getNoRightSitemapDescription
Get the description when user has no right on sitemap- Parameters:
sitemap
- The sitemap- Returns:
- the description
-
getAllRightPagesContainerDescription
Get i18n description for all right pages container- Parameters:
pagesContainer
- The page or sitemap- Returns:
- The
I18nizableText
description
-
getAllRightSitemapDescription
Get i18n description for all right sitemap- Parameters:
sitemap
- The sitemap- Returns:
- The
I18nizableText
description
-