Class PageContentModelProvider
java.lang.Object
ch.tocco.nice2.optional.cms.impl.publish.model.PageContentModelProvider
- All Implemented Interfaces:
PageModelProvider<PageContent>
@Component
public class PageContentModelProvider
extends Object
implements PageModelProvider<PageContent>
This class provides the main content of a page. For this purpose
the tree context of the given node is regarded (admin or public).
-
Constructor Summary
ConstructorDescriptionPageContentModelProvider
(PageContentService pageContentService, RequestService requestService, SecurityManager securityManager, ClientType clientType, org.slf4j.Logger log) -
Method Summary
-
Constructor Details
-
PageContentModelProvider
public PageContentModelProvider(PageContentService pageContentService, RequestService requestService, SecurityManager securityManager, ClientType clientType, org.slf4j.Logger log)
-
-
Method Details
-
getId
- Specified by:
getId
in interfacePageModelProvider<PageContent>
-
getModel
- Specified by:
getModel
in interfacePageModelProvider<PageContent>
-