Class AllowedUsersActionAdditionalOperationsExtensionPoint
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<AllowedUsersActionAdditionalOperations>
-
- org.ametys.cms.rights.solrchecking.AllowedUsersActionAdditionalOperationsExtensionPoint
-
- All Implemented Interfaces:
LogEnabled,ExtensionPoint<AllowedUsersActionAdditionalOperations>,Disposable,Initializable,Component,Contextualizable,Serviceable,ThreadSafe
public class AllowedUsersActionAdditionalOperationsExtensionPoint extends AbstractThreadSafeComponentExtensionPoint<AllowedUsersActionAdditionalOperations>
Extension point used byAllowedUsersByObjectActionbefore (beforeGettingAllowedUsers(AmetysObject, Request)) and after (afterGettingAllowedUsers(AmetysObject, Request)) callingRightManager.getReadAccessAllowedUsers(Object)for doing additional operations (for instance, setting some request attributes needed by theRightManager).
-
-
Field Summary
Fields Modifier and Type Field Description static StringROLEAvalon Role-
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
-
Constructor Summary
Constructors Constructor Description AllowedUsersActionAdditionalOperationsExtensionPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidafterGettingAllowedUsers(AmetysObject ametysObject, Request request)Do additional operations afterAllowedUsersByObjectActioncallsRightManager.getReadAccessAllowedUsers(Object)(package private) voidbeforeGettingAllowedUsers(AmetysObject ametysObject, Request request)Do additional operations beforeAllowedUsersByObjectActioncallsRightManager.getReadAccessAllowedUsers(Object)-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions, service
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
AllowedUsersActionAdditionalOperationsExtensionPoint
public AllowedUsersActionAdditionalOperationsExtensionPoint()
-
-
Method Detail
-
beforeGettingAllowedUsers
void beforeGettingAllowedUsers(AmetysObject ametysObject, Request request)
Do additional operations beforeAllowedUsersByObjectActioncallsRightManager.getReadAccessAllowedUsers(Object)- Parameters:
ametysObject- The AmetysObject which will be passed toRightManager.getReadAccessAllowedUsers(Object)request- The current request
-
afterGettingAllowedUsers
void afterGettingAllowedUsers(AmetysObject ametysObject, Request request)
Do additional operations afterAllowedUsersByObjectActioncallsRightManager.getReadAccessAllowedUsers(Object)- Parameters:
ametysObject- The AmetysObject which will be passed toRightManager.getReadAccessAllowedUsers(Object)request- The current request
-
-