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
The cocoon resource exists action but that returns false for folders
-
Field Summary
Modifier and TypeFieldDescriptionprotected ResourceAccessComponent
The resource access monitoring componentFields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ResourceAccessComponent
Get the resource access componentact
(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 Details
-
_resourceAccessComponent
The resource access monitoring component
-
-
Constructor Details
-
ResourceExistsAction
public ResourceExistsAction()
-
-
Method Details
-
_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
-