public class SitemapUtil
extends Object
Constructor and Description |
---|
SitemapUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addURLElement(Element element,
String url,
UnicodeProperties typeSettingsProperties,
Date modifiedDate,
String canonicalURL,
Map<Locale,String> alternateURLs) |
static String |
encodeXML(String input) |
static Map<Locale,String> |
getAlternateURLs(String canonicalURL,
ThemeDisplay themeDisplay,
Layout layout) |
static Sitemap |
getSitemap() |
static String |
getSitemap(long groupId,
boolean privateLayout,
ThemeDisplay themeDisplay) |
static String |
getSitemap(String layoutUuid,
long groupId,
boolean privateLayout,
ThemeDisplay themeDisplay) |
public static void addURLElement(Element element, String url, UnicodeProperties typeSettingsProperties, Date modifiedDate, String canonicalURL, Map<Locale,String> alternateURLs)
public static String encodeXML(String input)
public static Map<Locale,String> getAlternateURLs(String canonicalURL, ThemeDisplay themeDisplay, Layout layout) throws PortalException
PortalException
public static Sitemap getSitemap()
public static String getSitemap(long groupId, boolean privateLayout, ThemeDisplay themeDisplay) throws PortalException
PortalException
public static String getSitemap(String layoutUuid, long groupId, boolean privateLayout, ThemeDisplay themeDisplay) throws PortalException
PortalException