Package org.ametys.web.clientsideelement
Class AbstractSitemapElementClientSideElement
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.AbstractSitemapElementClientSideElement
- All Implemented Interfaces:
ClientSideElement
,LogEnabled
,PluginAware
,Configurable
,Serviceable
- Direct Known Subclasses:
ConfigureViewParametersClientSideElement
,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
getAllRightSitemapDescription
(Sitemap sitemap) Get i18n description for all right sitemapprotected I18nizableText
getAllRightSitemapElementDescription
(SitemapElement sitemapElement) Get i18n description for all right sitemap elementprotected I18nizableText
getNoRightSitemapDescription
(Sitemap sitemap) Get the description when user has no right on sitemapprotected I18nizableText
getNoRightSitemapElementDescription
(SitemapElement sitemapElement) Get the description when user has no right on sitemap elementgetSitemapDefaultParameters
(Sitemap sitemap) Get the default sitemap's parametersgetSitemapElementDefaultParameters
(SitemapElement sitemapElement) Get the default sitemap element's parametersprotected I18nizableText
getSitemapTitle
(Sitemap sitemap) Get the sitemap's titlevoid
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
-
AbstractSitemapElementClientSideElement
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractPageClientSideElement
- Throws:
ServiceException
-
getSitemapElementDefaultParameters
Get the default sitemap element's parameters- Parameters:
sitemapElement
- 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
-
getNoRightSitemapElementDescription
Get the description when user has no right on sitemap element- Parameters:
sitemapElement
- 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
-
getAllRightSitemapElementDescription
Get i18n description for all right sitemap element- Parameters:
sitemapElement
- The page or sitemap- Returns:
- The
I18nizableText
description
-
getAllRightSitemapDescription
Get i18n description for all right sitemap- Parameters:
sitemap
- The sitemap- Returns:
- The
I18nizableText
description
-