Interface SitemapManager


@ProviderType public interface SitemapManager
  • Field Details

  • Method Details

    • addURLElement

      default void addURLElement(com.liferay.portal.kernel.xml.Element element, String url, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, Date modifiedDate, String canonicalURL, Map<Locale,String> alternateURLs)
    • addURLElement

      void addURLElement(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)
    • deleteRegenerateSitemapScheduledJobs

      void deleteRegenerateSitemapScheduledJobs(long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • encodeXML

      String encodeXML(String input)
    • 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

      long getAssetTypeClassNameId(String assetTypeKey)
    • getAssetTypeKeys

      Map<Long,String> 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

      void scheduleRegenerateSitemap(String assetTypeKey, long companyId, long groupId, Date startDate)