Package org.ametys.site
Class ResourceExistsAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.site.ResourceExistsAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,ThreadSafe
,Action
public class ResourceExistsAction extends ServiceableAction implements ThreadSafe
The cocoon resource exists action but that returns false for folders
-
-
Field Summary
Fields Modifier and Type Field Description protected ResourceAccessComponent
_resourceAccessComponent
The resource access monitoring component-
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 ResourceExistsAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ResourceAccessComponent
_getResourceAccessComponent()
Get the resource access componentMap
act(Redirector redirector, SourceResolver resolver, Map objectModel, String src, Parameters parameters)
-
Methods inherited from class org.apache.cocoon.acting.ServiceableAction
service
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_resourceAccessComponent
protected ResourceAccessComponent _resourceAccessComponent
The resource access monitoring component
-
-
Constructor Detail
-
ResourceExistsAction
public ResourceExistsAction()
-
-
Method Detail
-
_getResourceAccessComponent
protected ResourceAccessComponent _getResourceAccessComponent()
Get the resource access component- Returns:
- the ResourceAccessComponent
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String src, Parameters parameters) throws Exception
-
-