Class ReadAccessHelper
java.lang.Object
org.ametys.cms.rights.solrchecking.ReadAccessHelper
- All Implemented Interfaces:
Component
,Contextualizable
,Serviceable
Helper for Read ACL
-
Field Summary
Modifier and TypeFieldDescriptionThe Extension Point for doing additonal operations before and after callingRightManager.getReadAccessAllowedUsers(Object)
protected RightManager
The right managerstatic final String
Avalon role. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallowedUsers
(AmetysObject ametysObject) Gets the allowed users for read-access to the given objectvoid
contextualize
(Context context) void
service
(ServiceManager manager)
-
Field Details
-
ROLE
Avalon role. -
_rightManager
The right manager -
_allowedUsersActionAdditionalOperationsEP
protected AllowedUsersActionAdditionalOperationsExtensionPoint _allowedUsersActionAdditionalOperationsEPThe Extension Point for doing additonal operations before and after callingRightManager.getReadAccessAllowedUsers(Object)
-
-
Constructor Details
-
ReadAccessHelper
public ReadAccessHelper()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
contextualize
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
allowedUsers
Gets the allowed users for read-access to the given object- Parameters:
ametysObject
- The object to test- Returns:
- the allowed users for read-access to the given object
-