public class SeoHelper extends Object
| Constructor and Description |
|---|
SeoHelper() |
| Modifier and Type | Method and Description |
|---|---|
List<org.jahia.ajax.gwt.client.data.seo.GWTJahiaUrlMapping> |
getUrlMappings(org.jahia.ajax.gwt.client.data.node.GWTJahiaNode gwtNode,
String locale,
JCRSessionWrapper session)
Returns a list of URL mapping for the specified node and language.
|
void |
saveUrlMappings(org.jahia.ajax.gwt.client.data.node.GWTJahiaNode gwtNode,
Map<String,List<org.jahia.ajax.gwt.client.data.seo.GWTJahiaUrlMapping>> mappings,
JCRSessionWrapper session) |
void |
setUrlService(VanityUrlService urlService) |
public List<org.jahia.ajax.gwt.client.data.seo.GWTJahiaUrlMapping> getUrlMappings(org.jahia.ajax.gwt.client.data.node.GWTJahiaNode gwtNode, String locale, JCRSessionWrapper session) throws javax.jcr.ItemNotFoundException, javax.jcr.RepositoryException
gwtNode - the node to get mappings forlocale - the language to get mappingssession - current JCR sessionjavax.jcr.ItemNotFoundException - in case the node cannot be foundjavax.jcr.RepositoryException - in case of an errorpublic void saveUrlMappings(org.jahia.ajax.gwt.client.data.node.GWTJahiaNode gwtNode,
Map<String,List<org.jahia.ajax.gwt.client.data.seo.GWTJahiaUrlMapping>> mappings,
JCRSessionWrapper session)
throws javax.jcr.ItemNotFoundException,
javax.jcr.RepositoryException,
javax.validation.ConstraintViolationException
javax.jcr.ItemNotFoundExceptionjavax.jcr.RepositoryExceptionjavax.validation.ConstraintViolationExceptionpublic void setUrlService(VanityUrlService urlService)
urlService - the urlService to setCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.