public class DeleteDataSourceClientSideElement extends StaticClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
private DataSourceConsumerExtensionPoint |
_dataSourceConsumerEP |
private LDAPDataSourceManager |
_ldapSourceManager |
private SQLDataSourceManager |
_sqlDataSourceManager |
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
DeleteDataSourceClientSideElement() |
Modifier and Type | Method and Description |
---|---|
private Map<String,Object> |
_getDataSourceParameters(AbstractDataSourceManager.DataSourceDefinition datasource) |
Map<String,Object> |
getStatus(Map<String,String> datasourceIds)
Get state of data sources
|
void |
service(ServiceManager smanager) |
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
private SQLDataSourceManager _sqlDataSourceManager
private LDAPDataSourceManager _ldapSourceManager
private DataSourceConsumerExtensionPoint _dataSourceConsumerEP
public DeleteDataSourceClientSideElement()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class StaticFileImportsClientSideElement
ServiceException
public Map<String,Object> getStatus(Map<String,String> datasourceIds) throws ConfigurationException, SAXException, IOException
datasourceIds
- the ids of data sources with their type.IOException
- if an error occurred while reading configuration fileSAXException
- if an error occurred while parsing configuration fileConfigurationException
- if an error occurred while parsing configuration reading fileprivate Map<String,Object> _getDataSourceParameters(AbstractDataSourceManager.DataSourceDefinition datasource)