Interface PageRenderingService
-
- All Known Implementing Classes:
DefaultPageRenderingService
public interface PageRenderingService
Interface responsible for retrieving page for rendering purposes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbstractPageData
getPageRenderingData(java.lang.String pageId)
ReturnsAbstractPageData
object based on pageId.AbstractPageData
getPageRenderingData(java.lang.String pageTypeCode, java.lang.String pageLabelOrId, java.lang.String code)
ReturnsAbstractPageData
object based on pageLabelOrId or code.
-
-
-
Method Detail
-
getPageRenderingData
AbstractPageData getPageRenderingData(java.lang.String pageTypeCode, java.lang.String pageLabelOrId, java.lang.String code) throws CMSItemNotFoundException
ReturnsAbstractPageData
object based on pageLabelOrId or code.- Parameters:
pageTypeCode
- the page typepageLabelOrId
- 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.
-
getPageRenderingData
AbstractPageData getPageRenderingData(java.lang.String pageId) throws CMSItemNotFoundException
ReturnsAbstractPageData
object based on pageId.- Parameters:
pageId
- the page id- Returns:
- the
AbstractPageData
object. - Throws:
CMSItemNotFoundException
- if the page does not exists.
-
-