Class GetParameterFileAction
- 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
-
- All Implemented Interfaces:
Component
,Contextualizable
,LogEnabled
,Serviceable
,Action
- Direct Known Subclasses:
GetExtractionDefinitionFilesAction
public class GetParameterFileAction extends AbstractGetFilesAction
Action for getting parameters files contain in "WEB-INF/param" directory.
-
-
Field Summary
Fields Modifier and Type Field Description private static String[]
__IGNORED_SOURCE
-
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 GetParameterFileAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getRootURI(Request request)
Get the URI of root directory such as 'context://WEB-INF/param'protected boolean
isIgnoredSource(TraversableSource source)
Test if the source has to be ignored-
Methods inherited from class org.ametys.plugins.core.ui.parameter.files.AbstractGetFilesAction
_collection2JsonObject, _getRelativePath, _resource2JsonObject, act, contextualize, service
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
__IGNORED_SOURCE
private static final String[] __IGNORED_SOURCE
-
-
Constructor Detail
-
GetParameterFileAction
public GetParameterFileAction()
-
-
Method Detail
-
getRootURI
protected String getRootURI(Request request)
Description copied from class:AbstractGetFilesAction
Get the URI of root directory such as 'context://WEB-INF/param'- Specified by:
getRootURI
in classAbstractGetFilesAction
- Parameters:
request
- the request- Returns:
- The root URI
-
isIgnoredSource
protected boolean isIgnoredSource(TraversableSource source)
Description copied from class:AbstractGetFilesAction
Test if the source has to be ignored- Overrides:
isIgnoredSource
in classAbstractGetFilesAction
- Parameters:
source
- The source- Returns:
- true if the source has to be ignored
-
-