public class LinkDirectoryXSLTHelper extends AmetysXSLTHelper
Modifier and Type | Field and Description |
---|---|
private static LinkDirectoryColorsComponent |
_linkDirectoryColorsComponent |
_ametysObjectResolver, _contentHelper, _context, _cTypeExtensionPoint, _logger, _tagProviderExtPt
_currentUserProvider, _groupManager, _i18nUtils, _jsonUtils, _LOGGER, _rightManager, _userHelper, _versionHandler
Constructor and Description |
---|
LinkDirectoryXSLTHelper() |
Modifier and Type | Method and Description |
---|---|
static MapElement |
getColors()
Get all the colors for the current site
|
static MapElement |
getColors(String siteName)
Get all the colors for a site
|
static String |
getDefaultColorIndex()
Get the default color index for the current site
|
static String |
getDefaultColorIndex(String siteName)
Get the default color index for a site
|
void |
service(ServiceManager manager) |
absoluteSiteUriPrefix, absoluteSiteUriPrefix, absoluteUriPrefix, accessibleReferencedPages, breadcrumb, findContentsIdsByTag, findContentsIdsByTag, findPagesIdsByTag, findPagesIdsByTag, hasRightOnPage, hasRightOnPage, isCacheable, isEditionMode, lang, lang, pageExists, pageHasRestrictedAccess, pageHasRestrictedAccess, pageId, pageIsVisible, pageIsVisible, pageLongTitle, pageLongTitle, pageMetadata, pageMetadata, pagePath, pagePath, pageSiteName, pageTitle, pageTitle, pagination, pluginImageBase64, pluginResourceURL, referencedPages, renderingContext, resourceByPath, resourcesById, resourcesByPath, serviceParameter, serviceParameter, serviceParameters, site, site, sitemap, sitemap, sitemap, sitemap, siteParameter, siteParameter, siteUriPrefix, skin, skinBoundedImageURL, skinImageBase64, skinImageURL, skinResources, skinURL, template, templateURL, uriPrefix, urlPreview, userByMail, zone, zoneItemId
_contentTags, contentAttachments, contentAttachments, contentMetadata, contentMetadata, contentMixinTypes, contentTags, contentTags, contentTypes, contentTypeTags, contextualize, enableLogging, isReferenceTableContent, setCurrentContent, setCurrentContent, tagDescription, tagLabel, tagParent, tagPath, tagVisibility
absoluteUriPrefix, config, escapeJS, getAbsoluteUriPrefix, getUriPrefix, getValueFromJsonObject, getWorkspaceName, getWorkspacePrefix, groups, groups, groups, hasRight, isDeveloperMode, requestParameter, splitText, splitText, translate, translate, uriPrefix, urlEncode, user, user, user, userByMail, versions, workspaceName, workspacePrefix, workspaceTheme, workspaceThemeURL
private static LinkDirectoryColorsComponent _linkDirectoryColorsComponent
public LinkDirectoryXSLTHelper()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AmetysXSLTHelper
ServiceException
public static MapElement getColors()
public static MapElement getColors(String siteName)
siteName
- site to checkpublic static String getDefaultColorIndex()
public static String getDefaultColorIndex(String siteName)
siteName
- site to check