Package com.liferay.site.manager
Interface SitemapManager
@ProviderType
public interface SitemapManager
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddURLElement(com.liferay.portal.kernel.xml.Element element, String url, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, Date modifiedDate, String canonicalURL, Map<Locale, String> alternateURLs) voidaddURLElement(com.liferay.portal.kernel.xml.Element element, String url, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, Date modifiedDate, String canonicalURL, Map<Locale, String> alternateURLs, long groupId) voiddeleteRegenerateSitemapScheduledJobs(long companyId) getAlternateURLs(String canonicalURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout) longgetAssetTypeClassNameId(String assetTypeKey) getNextRegenerateSitemapDate(long companyId) getSitemap(long groupId, boolean privateLayout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getSitemap(long assetTypeClassNameId, String layoutUuid, long groupId, boolean privateLayout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getSitemap(long assetTypeClassNameId, String layoutUuid, long groupId, int page, boolean privateLayout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getSitemap(String layoutUuid, long groupId, boolean privateLayout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) getSitemapInputStream(String assetTypeKey, String layoutUuid, long groupId, int page, boolean privateLayout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) booleanisRegenerateSitemapInProgress(long companyId) voidregenerateSitemap(String assetTypeKey, long companyId, long groupId) voidscheduleRegenerateSitemap(String assetTypeKey, long companyId, long groupId, Date startDate)
-
Field Details
-
MAXIMUM_ENTRIES
static final int MAXIMUM_ENTRIES- See Also:
-
-
Method Details
-
addURLElement
-
addURLElement
-
deleteRegenerateSitemapScheduledJobs
void deleteRegenerateSitemapScheduledJobs(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
encodeXML
-
getAlternateURLs
Map<Locale,String> getAlternateURLs(String canonicalURL, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.Layout layout) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAssetTypeClassNameId
-
getAssetTypeKeys
-
getNextRegenerateSitemapDate
Date getNextRegenerateSitemapDate(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSitemap
String getSitemap(long groupId, boolean privateLayout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSitemap
String getSitemap(long assetTypeClassNameId, String layoutUuid, long groupId, boolean privateLayout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSitemap
String getSitemap(long assetTypeClassNameId, String layoutUuid, long groupId, int page, boolean privateLayout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSitemap
String getSitemap(String layoutUuid, long groupId, boolean privateLayout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getSitemapInputStream
InputStream getSitemapInputStream(String assetTypeKey, String layoutUuid, long groupId, int page, boolean privateLayout, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
isRegenerateSitemapInProgress
boolean isRegenerateSitemapInProgress(long companyId) -
regenerateSitemap
void regenerateSitemap(String assetTypeKey, long companyId, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
scheduleRegenerateSitemap
-