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
public class RootContentHelper extends RootContentHelper implements Contextualizable
Helper for retrieving root of contents for web
-
-
Field Summary
Fields Modifier and Type Field Description protected Context
_context
The contextprotected SiteManager
_siteManager
The site manager-
Fields inherited from class org.ametys.cms.content.RootContentHelper
_resolver, ROLE
-
-
Constructor Summary
Constructors Constructor Description RootContentHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contextualize(Context context)
AmetysObjectCollection
getRootContent()
Gets the root of contentsvoid
service(ServiceManager manager)
-
Methods inherited from class org.ametys.cms.content.RootContentHelper
isChildOfRootContent
-
-
-
-
Field Detail
-
_siteManager
protected SiteManager _siteManager
The site manager
-
-
Constructor Detail
-
RootContentHelper
public RootContentHelper()
-
-
Method Detail
-
contextualize
public void contextualize(Context context) throws ContextException
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classRootContentHelper
- Throws:
ServiceException
-
getRootContent
public AmetysObjectCollection getRootContent()
Description copied from class:RootContentHelper
Gets the root of contents- Overrides:
getRootContent
in classRootContentHelper
- Returns:
- the root of contents
-
-