public class UserXSLTHelper extends AmetysXSLTHelper
Modifier and Type | Field and Description |
---|---|
protected static SynchronizableContentsCollectionDAO |
_synchronizableContentsCollectionDAO
The DAO for synchronizable contents collections
|
protected static UserDirectoryPageResolver |
_userDirectoryPageResolver
The resolver for user directory pages
|
_ametysObjectResolver, _contentHelper, _context, _cTypeExtensionPoint, _logger, _tagProviderExtPt
_currentUserProvider, _groupManager, _i18nUtils, _jsonUtils, _LOGGER, _userHelper, _userManager, _versionHandler
Constructor and Description |
---|
UserXSLTHelper() |
Modifier and Type | Method and Description |
---|---|
private static String |
_getXPathQuery(String collectionId,
String loginMetadataName,
String loginValue,
String lang) |
static String |
getCurrentUserContent(String lang)
Gets the id of the content of the current connected user
|
static String |
getCurrentUserPage(String lang)
Gets the id of the page of the current user
|
static String |
getUserPage(String contentId)
Gets the id of the page of the user content
|
void |
service(ServiceManager manager) |
absoluteSiteUriPrefix, absoluteSiteUriPrefix, absoluteUriPrefix, accessibleReferencedPages, breadcrumb, findPagesIdsByTag, findPagesIdsByTag, hasRightOnPage, hasRightOnPage, isCacheable, isEditionMode, lang, lang, pageHasRestrictedAccess, pageHasRestrictedAccess, pageId, pageIsVisible, pageIsVisible, pageLongTitle, pageLongTitle, pageMetadata, pageMetadata, pagePath, pagePath, pageSiteName, pageTitle, pageTitle, 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, zone, zoneItemId
contentAttachments, contentAttachments, contentMetadata, contentMetadata, contentMixinTypes, contentTags, contentTypes, contentTypeTags, contextualize, enableLogging, isReferenceTableContent, setCurrentContent, setCurrentContent, tagDescription, tagLabel, tagParent, tagPath, tagVisibility
absoluteUriPrefix, config, escapeJS, getAbsoluteUriPrefix, getUriPrefix, getValueFromJsonObject, getWorkspaceName, getWorkspacePrefix, groups, groups, groups, isDeveloperMode, requestParameter, splitText, splitText, translate, translate, uriPrefix, urlEncode, user, user, user, versions, workspaceName, workspacePrefix, workspaceTheme, workspaceThemeURL
protected static SynchronizableContentsCollectionDAO _synchronizableContentsCollectionDAO
protected static UserDirectoryPageResolver _userDirectoryPageResolver
public UserXSLTHelper()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AmetysXSLTHelper
ServiceException
public static String getCurrentUserContent(String lang)
lang
- the content languageprivate static String _getXPathQuery(String collectionId, String loginMetadataName, String loginValue, String lang)
public static String getCurrentUserPage(String lang)
lang
- The languagepublic static String getUserPage(String contentId)
contentId
- The user content id