public class UserXSLTHelper extends AmetysXSLTHelper
Modifier and Type | Field and Description |
---|---|
protected static SynchronizableContentsCollectionDAO |
_synchronizableContentsCollectionDAO
The DAO for synchronizable contents collections
|
protected static UserDirectoryHelper |
_userDirectoryHelper
The user directory helper
|
protected static UserDirectoryPageResolver |
_userDirectoryPageResolver
The resolver for user directory pages
|
_ametysObjectResolver, _contentHelper, _context, _cTypeExtensionPoint, _logger, _tagProviderExtPt
_currentUserProvider, _groupManager, _i18nUtils, _jsonUtils, _LOGGER, _rightManager, _userHelper, _versionHandler
Constructor and Description |
---|
UserXSLTHelper() |
Modifier and Type | Method and Description |
---|---|
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 |
getUserContent(String lang,
String userIdentity)
Gets the id of the content of the given user
|
static String |
getUserPage(String contentId)
Gets the id of the page of the user content
|
static String |
getUserPage(String contentId,
String siteName)
Gets the id of the page of the user content
|
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
protected static SynchronizableContentsCollectionDAO _synchronizableContentsCollectionDAO
protected static UserDirectoryPageResolver _userDirectoryPageResolver
protected static UserDirectoryHelper _userDirectoryHelper
public UserXSLTHelper()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AmetysXSLTHelper
ServiceException
public static String getUserContent(String lang, String userIdentity)
lang
- the content languageuserIdentity
- The user to get content (such as login#population)public static String getCurrentUserContent(String lang)
lang
- the content languagepublic static String getCurrentUserPage(String lang)
lang
- The languagepublic static String getUserPage(String contentId)
contentId
- The user content idpublic static String getUserPage(String contentId, String siteName)
contentId
- The user content idsiteName
- the site name