Package org.ametys.core.util.cocoon
Class ResourceNotExistsAction
- java.lang.Object
 - 
- org.apache.avalon.framework.logger.AbstractLogEnabled
 - 
- org.apache.cocoon.acting.AbstractAction
 - 
- org.apache.cocoon.acting.ServiceableAction
 - 
- org.ametys.core.util.cocoon.ResourceNotExistsAction
 
 
 
 
 
- 
- All Implemented Interfaces:
 Component,LogEnabled,Serviceable,ThreadSafe,Action
public class ResourceNotExistsAction extends ServiceableAction implements ThreadSafe
This action simply checks to see if a resource identified by thesrcsitemap attribute exists or not. The action returns emptyMapif resource does not exist,nullotherwise. 
- 
- 
Field Summary
Fields Modifier and Type Field Description private SourceResolver_srcResolver- 
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 ResourceNotExistsAction() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mapact(Redirector redirector, SourceResolver resolver, Map objectModel, String src, Parameters parameters)voidservice(ServiceManager smanager)- 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_srcResolver
private SourceResolver _srcResolver
 
 - 
 
- 
Constructor Detail
- 
ResourceNotExistsAction
public ResourceNotExistsAction()
 
 - 
 
- 
Method Detail
- 
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
 servicein interfaceServiceable- Overrides:
 servicein classServiceableAction- Throws:
 ServiceException
 
- 
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String src, Parameters parameters) throws Exception
 
 - 
 
 -