Interface PageTemplateFacade
- All Known Implementing Classes:
DefaultPageTemplateFacade
public interface PageTemplateFacade
Component facade interface which deals with methods related to page operations.
-
Method Summary
Modifier and TypeMethodDescriptiondefault PageTemplateDatafindPageTemplateByPageUuid(String pageUuid) Retrieves the page template matching the given page.findPageTemplates(PageTemplateDTO pageTemplateDTO) Retrieves the list of page templates matching the given filters and filtered by type.
-
Method Details
-
findPageTemplates
Retrieves the list of page templates matching the given filters and filtered by type. If the user does not have access to the provided page typeCode, thenTypePermissionExceptionis thrown.- Parameters:
pageTemplateDTO- dto containing search restrictions- Returns:
- a list of
PageTemplateData
-
findPageTemplateByPageUuid
Retrieves the page template matching the given page.- Parameters:
pageUuid- the uuid of a page- Returns:
PageTemplateData
-