public class RootContentHelper extends Object implements Component, Serviceable
| Modifier and Type | Field and Description |
|---|---|
protected AmetysObjectResolver |
_resolver
Ametys object resolver
|
static String |
ROLE
The component role.
|
| Constructor and Description |
|---|
RootContentHelper() |
| Modifier and Type | Method and Description |
|---|---|
AmetysObjectCollection |
getRootContent()
Gets the root of contents
|
boolean |
isChildOfRootContent(Content content)
Tests if the given content is child of the root of contents, i.e.
|
void |
service(ServiceManager manager) |
protected AmetysObjectResolver _resolver
public RootContentHelper()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic AmetysObjectCollection getRootContent()
public boolean isChildOfRootContent(Content content)
content - The content to test