Class GetExtractionDefinitionFilesAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.plugins.core.ui.parameter.files.AbstractGetFilesAction
-
- org.ametys.plugins.core.ui.parameter.files.GetParameterFileAction
-
- org.ametys.plugins.extraction.execution.GetExtractionDefinitionFilesAction
-
- All Implemented Interfaces:
Component,Contextualizable,LogEnabled,Serviceable,Action
public class GetExtractionDefinitionFilesAction extends GetParameterFileAction
Action for getting extraction definition files
-
-
Field Summary
-
Fields inherited from class org.ametys.plugins.core.ui.parameter.files.AbstractGetFilesAction
_cocoonContext, _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 GetExtractionDefinitionFilesAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mapact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)protected StringgetRootURI(Request request)Get the URI of root directory such as 'context://WEB-INF/param'protected booleanisIgnoredSource(TraversableSource source)Test if the source has to be ignoredvoidservice(ServiceManager serviceManager)-
Methods inherited from class org.ametys.plugins.core.ui.parameter.files.AbstractGetFilesAction
_collection2JsonObject, _getRelativePath, _resource2JsonObject, contextualize
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
GetExtractionDefinitionFilesAction
public GetExtractionDefinitionFilesAction()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classAbstractGetFilesAction- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Specified by:
actin interfaceAction- Overrides:
actin classAbstractGetFilesAction- Throws:
Exception
-
getRootURI
protected String getRootURI(Request request)
Description copied from class:AbstractGetFilesActionGet the URI of root directory such as 'context://WEB-INF/param'- Overrides:
getRootURIin classGetParameterFileAction- Parameters:
request- the request- Returns:
- The root URI
-
isIgnoredSource
protected boolean isIgnoredSource(TraversableSource source)
Description copied from class:AbstractGetFilesActionTest if the source has to be ignored- Overrides:
isIgnoredSourcein classGetParameterFileAction- Parameters:
source- The source- Returns:
- true if the source has to be ignored
-
-