Class SitemapServiceMain

java.lang.Object
com.endurancetrio.business.common.service.SitemapServiceMain
All Implemented Interfaces:
SitemapService

@Service public class SitemapServiceMain extends Object implements SitemapService
The SitemapServiceMain builds the sitemap entries for the static pages and for every event and published article, each in both language variants.
  • Constructor Details

  • Method Details

    • getSitemapEntries

      @Transactional(readOnly=true) public List<SitemapEntry> getSitemapEntries(String baseUrl)
      Description copied from interface: SitemapService
      Returns every SitemapEntry of the sitemap, covering the static pages and all events and published articles, each in both language variants.
      Specified by:
      getSitemapEntries in interface SitemapService
      Parameters:
      baseUrl - the normalized site base URL (without a trailing slash)
      Returns:
      the sitemap entries