public class ReadAccessHelper extends Object implements Component, Serviceable, Contextualizable
| Modifier and Type | Field and Description |
|---|---|
protected AllowedUsersActionAdditionalOperationsExtensionPoint |
_allowedUsersActionAdditionalOperationsEP
The Extension Point for doing additonal operations before and after calling
RightManager.getReadAccessAllowedUsers(Object) |
private Context |
_context |
protected RightManager |
_rightManager
The right manager
|
static String |
ROLE
Avalon role.
|
| Constructor and Description |
|---|
ReadAccessHelper() |
| Modifier and Type | Method and Description |
|---|---|
AllowedUsers |
allowedUsers(AmetysObject ametysObject)
Gets the allowed users for read-access to the given object
|
void |
contextualize(Context context) |
void |
service(ServiceManager manager) |
protected RightManager _rightManager
protected AllowedUsersActionAdditionalOperationsExtensionPoint _allowedUsersActionAdditionalOperationsEP
RightManager.getReadAccessAllowedUsers(Object)public ReadAccessHelper()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionpublic AllowedUsers allowedUsers(AmetysObject ametysObject)
ametysObject - The object to test