| Package | Description |
|---|---|
| org.jahia.services.seo.jcr |
| Modifier and Type | Method and Description |
|---|---|
VanityUrl |
VanityUrlManager.getVanityUrlForCurrentLocale(JCRNodeWrapper contentNode,
String siteKey,
JCRSessionWrapper session)
Gets a node's default vanity URL for the current locale or if none is default
then take the first mapping for the locale.
|
VanityUrl |
VanityUrlService.getVanityUrlForWorkspaceAndLocale(JCRNodeWrapper contentNode,
String workspace,
Locale locale,
String siteKey)
Gets a node's default vanity URL for the given locale and workspace.
|
VanityUrl |
VanityUrlService.getVanityUrlForWorkspaceAndLocale(String contentNodePath,
String workspace,
Locale locale,
String siteKey)
Gets a node's default vanity URL for the given locale and workspace.
|
| Modifier and Type | Method and Description |
|---|---|
List<VanityUrl> |
VanityUrlManager.findExistingVanityUrls(String url,
String site,
JCRSessionWrapper session)
Find any mappings for the given vanity URL.
|
List<VanityUrl> |
VanityUrlService.findExistingVanityUrls(String url,
String site,
String workspace)
Find any mappings for the given vanity URL.
|
List<VanityUrl> |
VanityUrlService.getVanityUrls(JCRNodeWrapper contentNode,
String languageCode,
JCRSessionWrapper session)
Gets all node's vanity URLs for the given locale
|
List<VanityUrl> |
VanityUrlManager.getVanityUrls(JCRNodeWrapper contentNode,
String languageCode,
JCRSessionWrapper session)
Gets all node's vanity URLs for the given locale
|
List<VanityUrl> |
VanityUrlService.getVanityUrlsForCurrentLocale(JCRNodeWrapper contentNode,
JCRSessionWrapper session)
Gets all node's vanity URLs for the current locale in the session
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
VanityUrlService.removeVanityUrlMapping(JCRNodeWrapper contentNode,
VanityUrl vanityUrl)
Completely delete a mapped vanity URL.
|
boolean |
VanityUrlManager.removeVanityUrlMapping(JCRNodeWrapper contentNode,
VanityUrl vanityUrl,
JCRSessionWrapper session)
Completely delete a mapped vanity URL.
|
boolean |
VanityUrlService.saveVanityUrlMapping(JCRNodeWrapper contentNode,
VanityUrl vanityUrl)
Add or update a vanity URL mapping belonging to a specific content node and identified either by the vanity URL node UUID or the
vanity URL value set in the VanityUrl bean.
|
boolean |
VanityUrlService.saveVanityUrlMapping(JCRNodeWrapper contentNode,
VanityUrl vanityUrl,
boolean save)
Add or update a vanity URL mapping belonging to a specific content node and identified either by the vanity URL node UUID or the
vanity URL value set in the VanityUrl bean.
|
boolean |
VanityUrlManager.saveVanityUrlMapping(JCRNodeWrapper contentNode,
VanityUrl vanityUrl,
JCRSessionWrapper session)
Add or update a vanity URL mapping belonging to a specific content node and identified either by the vanity URL node UUID or the
vanity URL value set in the VanityUrl bean.
|
boolean |
VanityUrlManager.saveVanityUrlMapping(JCRNodeWrapper contentNode,
VanityUrl vanityUrl,
JCRSessionWrapper session,
boolean save)
Add or update a vanity URL mapping belonging to a specific content node and identified either by the vanity URL node UUID or the
vanity URL value set in the VanityUrl bean.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
VanityUrlService.saveVanityUrlMappings(JCRNodeWrapper contentNode,
List<VanityUrl> vanityUrls,
Set<String> updatedLocales)
Add, update or delete all vanity URL mappings for a specific content node and the language codes set in the list of VanityUrl beans.
|
boolean |
VanityUrlManager.saveVanityUrlMappings(JCRNodeWrapper contentNode,
List<VanityUrl> vanityUrls,
Set<String> updatedLocales,
JCRSessionWrapper session)
Add, update or delete all vanity URL mappings for a specific content node and the language codes
set in the list of VanityUrl beans.
|
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.