public class UserDirectoryHelper extends AbstractLogEnabled implements Component, Serviceable
Modifier and Type | Field and Description |
---|---|
protected AmetysObjectResolver |
_resolver
The ametys object resolver
|
static String |
ROLE
The avalon role.
|
static String |
USER_DIRECTORY_ROOT_NODE
The root node name of the plugin
|
Constructor and Description |
---|
UserDirectoryHelper() |
Modifier and Type | Method and Description |
---|---|
AmetysObjectCollection |
getUserDirectoryRootContent()
Gets the root of user directory contents
|
AmetysObjectCollection |
getUserDirectoryRootContent(boolean create)
Gets the root of user directory contents
|
void |
service(ServiceManager manager) |
getLogger, setLogger
public static final String USER_DIRECTORY_ROOT_NODE
protected AmetysObjectResolver _resolver
public UserDirectoryHelper()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public AmetysObjectCollection getUserDirectoryRootContent()
public AmetysObjectCollection getUserDirectoryRootContent(boolean create)
create
- true
to create automatically the root when missing.