Class CheckReadAccessAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.cms.rights.CheckReadAccessAction
-
- org.ametys.plugins.workspaces.dav.CheckReadAccessAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
public class CheckReadAccessAction extends CheckReadAccessAction
Override of org.ametys.cms.rights.CheckReadAccessAction to throw a 404 not found if object is not found, instead of 500
-
-
Field Summary
-
Fields inherited from class org.ametys.cms.rights.CheckReadAccessAction
_currentUserProvider, _resolver, _rightManager
-
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
-
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
-
Constructor Summary
Constructors Constructor Description CheckReadAccessAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)
-
Methods inherited from class org.ametys.cms.rights.CheckReadAccessAction
getAmetysObject, service
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
CheckReadAccessAction
public CheckReadAccessAction()
-
-
Method Detail
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Specified by:
act
in interfaceAction
- Overrides:
act
in classCheckReadAccessAction
- Throws:
Exception
-
-