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 Modifier and Type Field Description private static List<String>
CHECK_PARENT_ACCESS_METHODS
-
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 private AmetysObject
_getFirstParent(Project project, String path)
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
-
-
-
-
Field Detail
-
CHECK_PARENT_ACCESS_METHODS
private static List<String> CHECK_PARENT_ACCESS_METHODS
-
-
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
-
_getFirstParent
private AmetysObject _getFirstParent(Project project, String path)
-
-