Package org.ametys.web.content
Class RootContentHelper
java.lang.Object
org.ametys.cms.content.RootContentHelper
org.ametys.web.content.RootContentHelper
- All Implemented Interfaces:
Component,Contextualizable,Serviceable
Helper for retrieving root of contents for web
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ContextThe contextprotected SiteManagerThe site managerFields inherited from class org.ametys.cms.content.RootContentHelper
_resolver, ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcontextualize(Context context) Gets the root of contentsvoidservice(ServiceManager manager) Methods inherited from class org.ametys.cms.content.RootContentHelper
isChildOfRootContent
-
Field Details
-
_siteManager
The site manager -
_context
The context
-
-
Constructor Details
-
RootContentHelper
public RootContentHelper()
-
-
Method Details
-
contextualize
- Specified by:
contextualizein interfaceContextualizable- Throws:
ContextException
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classRootContentHelper- Throws:
ServiceException
-
getRootContent
Description copied from class:RootContentHelperGets the root of contents- Overrides:
getRootContentin classRootContentHelper- Returns:
- the root of contents
-