public class EditExtractionClientSideElement extends StaticClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
private SourceResolver |
_sourceResolver |
static String |
ROLE
The Avalon role name
|
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
EditExtractionClientSideElement() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
createExtraction(String definitionFileName)
Creates an extraction definition file.
|
boolean |
deleteExtraction(String definitionFileName)
Deletes an extraction definition file.
|
Map<String,Object> |
renameExtraction(String definitionOldFileName,
String definitionNewFileName)
Renames an extraction definition file.
|
void |
service(ServiceManager serviceManager) |
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
private SourceResolver _sourceResolver
public EditExtractionClientSideElement()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class StaticFileImportsClientSideElement
ServiceException
public Map<String,Object> createExtraction(String definitionFileName) throws Exception
definitionFileName
- The extraction definition nameException
- if an error occurspublic Map<String,Object> renameExtraction(String definitionOldFileName, String definitionNewFileName) throws Exception
definitionOldFileName
- The extraction definition old file namedefinitionNewFileName
- The extraction definition new file nameException
- if an error occurspublic boolean deleteExtraction(String definitionFileName) throws Exception
definitionFileName
- The extraction definition file to deletetrue
if extraction deletion succeed, false
otherwiseException
- if an error occurs