Package org.ametys.web.sitemap
Class SitemapIcon
java.lang.Object
org.ametys.web.sitemap.SitemapIcon
- Direct Known Subclasses:
SitemapDecorator
A icon for page in sitemap
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration, String iconPathPrefix) Configure decorationgetIcon()
The icon pathThe icon decoratorThe icon glyphGet metadataGet the metadata conditionint
getOrder()
Get orderThe page typeGet propertiesGet the metadata conditiongetTags()
The tagsThe tags conditionboolean
isLive()
Determines the live versionboolean
Determines the limited access
-
Constructor Details
-
SitemapIcon
public SitemapIcon()Constructor
-
-
Method Details
-
configure
public void configure(Configuration configuration, String iconPathPrefix) throws ConfigurationException Configure decoration- Parameters:
configuration
- the configurationiconPathPrefix
- The prfeix of icon path- Throws:
ConfigurationException
- if configuration is invalid
-
getIcon
The icon path- Returns:
- The icon path. Can be null.
-
getIconGlyph
The icon glyph- Returns:
- The icon glyph. Can be null.
-
getIconDecorator
The icon decorator- Returns:
- The icon decorator
-
getMetadataCondition
Get the metadata condition- Returns:
- the metadata condition
-
getTagsCondition
The tags condition- Returns:
- The tags condition
-
getPropertiesCondition
Get the metadata condition- Returns:
- the metadata condition
-
getTags
The tags- Returns:
- The tags
-
getPageType
The page type- Returns:
- The page type
-
isLive
Determines the live version- Returns:
- true if this icon is for live version
-
isRestricted
Determines the limited access- Returns:
- true if this icon is for page with limited access
-
getMetadata
Get metadata- Returns:
- the metadata
-
getProperties
Get properties- Returns:
- the properties
-
getOrder
Get order- Returns:
- the order of this icon
-