Interface PageRenderingService

  • All Known Implementing Classes:
    DefaultPageRenderingService

    public interface PageRenderingService
    Interface responsible for retrieving page for rendering purposes.
    • Method Detail

      • getPageRenderingData

        AbstractPageData getPageRenderingData​(java.lang.String pageTypeCode,
                                              java.lang.String pageLabelOrId,
                                              java.lang.String code)
                                       throws CMSItemNotFoundException
        Returns AbstractPageData object based on pageLabelOrId or code.
        Parameters:
        pageTypeCode - the page type
        pageLabelOrId - the page label or id. This field is used only when the page type is ContentPage.
        code - the code depends on the page type. If the page type is ProductPage then the code should be a product code. If the page type is CategoryPage then the code should be a category code. If the page type is CatalogPage then the code should be a catalog page.
        Returns:
        the AbstractPageData object.
        Throws:
        CMSItemNotFoundException - if the page does not exists.