Class SitemapService

    • Method Detail

      • isCacheable

        public boolean isCacheable​(Page currentPage,
                                   ZoneItem zoneItem)
        Description copied from interface: Service
        Returns true if the result of this service may be cached, depending on the ZoneItem containing an instance of this service.
        Specified by:
        isCacheable in interface Service
        Overrides:
        isCacheable in class StaticService
        Parameters:
        currentPage - the current Page containing the service.
        zoneItem - the ZoneItem containing an instance of this service.
        N.B: The ZoneItem can belong to a page that is not the current page, when it is inherited.
        Returns:
        true if the result of this service may be cached.