public class CheckReadAccessAction extends ServiceableAction
AccessDeniedException is thrown.AuthorizationRequiredException is thrown.| Modifier and Type | Field and Description | 
|---|---|
| protected CurrentUserProvider | _currentUserProviderThe current user provider | 
| protected AmetysObjectResolver | _resolverThe Ametys object resolver. | 
| protected RightManager | _rightManagerThe right manager | 
managerEMPTY_MAP| Constructor and Description | 
|---|
| CheckReadAccessAction() | 
| Modifier and Type | Method and Description | 
|---|---|
| private String | _decodePath(String path) | 
| Map | act(Redirector redirector,
   SourceResolver resolver,
   Map objectModel,
   String source,
   Parameters parameters) | 
| protected AmetysObject | getAmetysObject(Parameters parameters,
               Request request)Get the Ametys object from either the parameters or the request attributes. | 
| void | service(ServiceManager serviceManager) | 
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerprotected AmetysObjectResolver _resolver
protected CurrentUserProvider _currentUserProvider
protected RightManager _rightManager
public CheckReadAccessAction()
public void service(ServiceManager serviceManager) throws ServiceException
service in interface Serviceableservice in class ServiceableActionServiceExceptionpublic Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exceptionprotected AmetysObject getAmetysObject(Parameters parameters, Request request) throws UnsupportedEncodingException
parameters - the action parameters.request - the request.UnsupportedEncodingException - if failed to decode object pathprivate String _decodePath(String path) throws UnsupportedEncodingException
UnsupportedEncodingException