Class ReadAccessHelper
java.lang.Object
org.ametys.cms.rights.solrchecking.ReadAccessHelper
- All Implemented Interfaces:
Component,Contextualizable,Serviceable
Helper for Read ACL
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Extension Point for doing additonal operations before and after callingRightManager.getReadAccessAllowedUsers(Object)protected RightManagerThe right managerstatic final StringAvalon role. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedUsers(AmetysObject ametysObject) Gets the allowed users for read-access to the given objectvoidcontextualize(Context context) voidservice(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:
servicein interfaceServiceable- Throws:
ServiceException
-
contextualize
- Specified by:
contextualizein 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
-