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_contextThe contextprotected SiteManager_siteManagerThe 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 private String_getSiteName()voidcontextualize(Context context)AmetysObjectCollectiongetRootContent()Gets the root of contentsvoidservice(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:
 contextualizein interfaceContextualizable- Throws:
 ContextException
 
- 
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
 servicein interfaceServiceable- Overrides:
 servicein classRootContentHelper- Throws:
 ServiceException
 
- 
getRootContent
public AmetysObjectCollection getRootContent()
Description copied from class:RootContentHelperGets the root of contents- Overrides:
 getRootContentin classRootContentHelper- Returns:
 - the root of contents
 
 
- 
_getSiteName
private String _getSiteName()
 
 - 
 
 -