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 SummaryFields Modifier and Type Field Description private CurrentUserProvider_currentUserProviderprivate RightManager_rightManager- 
Fields inherited from class org.ametys.plugins.core.ui.parameter.files.AbstractGetFilesAction_cocoonContext
 - 
Fields inherited from class org.apache.cocoon.acting.ServiceableActionmanager
 - 
Fields inherited from class org.apache.cocoon.acting.AbstractActionEMPTY_MAP
 
- 
 - 
Constructor SummaryConstructors Constructor Description GetExtractionDefinitionFilesAction()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>_resource2JsonObject(TraversableSource file, TraversableSource root)Convert file to JSON objectMapact(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(String fileName)Test if the source has to be ignoredvoidservice(ServiceManager serviceManager)- 
Methods inherited from class org.ametys.plugins.core.ui.parameter.files.AbstractGetFilesAction_collection2JsonObject, _getRelativePath, contextualize
 - 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabledenableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
- 
 
- 
- 
- 
Field Detail- 
_rightManagerprivate RightManager _rightManager 
 - 
_currentUserProviderprivate CurrentUserProvider _currentUserProvider 
 
- 
 - 
Constructor Detail- 
GetExtractionDefinitionFilesActionpublic GetExtractionDefinitionFilesAction() 
 
- 
 - 
Method Detail- 
servicepublic void service(ServiceManager serviceManager) throws ServiceException - Specified by:
- servicein interface- Serviceable
- Overrides:
- servicein class- AbstractGetFilesAction
- Throws:
- ServiceException
 
 - 
actpublic Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception - Specified by:
- actin interface- Action
- Overrides:
- actin class- AbstractGetFilesAction
- Throws:
- Exception
 
 - 
getRootURIprotected String getRootURI(Request request) Description copied from class:AbstractGetFilesActionGet the URI of root directory such as 'context://WEB-INF/param'- Overrides:
- getRootURIin class- GetParameterFileAction
- Parameters:
- request- the request
- Returns:
- The root URI
 
 - 
isIgnoredSourceprotected boolean isIgnoredSource(String fileName) Description copied from class:AbstractGetFilesActionTest if the source has to be ignored- Overrides:
- isIgnoredSourcein class- GetParameterFileAction
- Parameters:
- fileName- The file name
- Returns:
- true if the source has to be ignored
 
 - 
_resource2JsonObjectprotected Map<String,Object> _resource2JsonObject(TraversableSource file, TraversableSource root) Description copied from class:AbstractGetFilesActionConvert file to JSON object- Overrides:
- _resource2JsonObjectin class- AbstractGetFilesAction
- Parameters:
- file- the file
- root- the root directory
- Returns:
- JSON object
 
 
- 
 
-