public class AllowedUsersActionAdditionalOperationsExtensionPoint extends AbstractThreadSafeComponentExtensionPoint<AllowedUsersActionAdditionalOperations>
AllowedUsersByObjectAction
before (beforeGettingAllowedUsers(AmetysObject, Request)
)
and after (afterGettingAllowedUsers(AmetysObject, Request)
) calling RightManager.getReadAccessAllowedUsers(Object)
for doing additional operations (for instance, setting some request attributes needed by the RightManager
).Modifier and Type | Field and Description |
---|---|
static String |
ROLE
Avalon Role
|
_cocoonManager, _context, _manager
Constructor and Description |
---|
AllowedUsersActionAdditionalOperationsExtensionPoint() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
afterGettingAllowedUsers(AmetysObject ametysObject,
Request request)
Do additional operations after
AllowedUsersByObjectAction calls RightManager.getReadAccessAllowedUsers(Object) |
(package private) void |
beforeGettingAllowedUsers(AmetysObject ametysObject,
Request request)
Do additional operations before
AllowedUsersByObjectAction calls RightManager.getReadAccessAllowedUsers(Object) |
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions, service
getLogger, setLogger
public AllowedUsersActionAdditionalOperationsExtensionPoint()
void beforeGettingAllowedUsers(AmetysObject ametysObject, Request request)
AllowedUsersByObjectAction
calls RightManager.getReadAccessAllowedUsers(Object)
ametysObject
- The AmetysObject which will be passed to RightManager.getReadAccessAllowedUsers(Object)
request
- The current requestvoid afterGettingAllowedUsers(AmetysObject ametysObject, Request request)
AllowedUsersByObjectAction
calls RightManager.getReadAccessAllowedUsers(Object)
ametysObject
- The AmetysObject which will be passed to RightManager.getReadAccessAllowedUsers(Object)
request
- The current request