@Deprecated public interface DatasourceManagerService extends eu.dnetlib.common.rmi.BaseService
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDatasource(DatasourceDesc ds)
Deprecated.
Register a datasource.
|
boolean |
addInterface(String dsId,
IfaceDesc iface)
Deprecated.
Add an interface to a datasource.
|
boolean |
deleteAccessParamOrExtraField(String dsId,
String ifaceId,
String field)
Deprecated.
delete a generic extra field or an access param of an interface.
|
boolean |
deleteDatasource(String dsId)
Deprecated.
Delete a datasource.
|
boolean |
deleteInterface(String dsId,
String ifaceId)
Deprecated.
Delete the interface of a datasource.
|
DatasourceDesc |
getDatasource(String dsId)
Deprecated.
Returns a datasource.
|
List<DatasourceDesc> |
listAllDatasources()
Deprecated.
Returns all the datasources.
|
List<DatasourceDesc> |
listDatasourcesUsingFilter(String compliance,
String contentDescription,
String iisProcessingWorkflow,
String collectedFrom)
Deprecated.
Returns the datasources with some properties.
|
boolean |
setIisProcessingWorkflow(String dsId,
String ifaceId,
String wf)
Deprecated.
update the "iis_processing_workflow" property of an interface.
|
boolean |
updateAccessParam(String dsId,
String ifaceId,
String field,
String value,
boolean preserveOriginal)
Deprecated.
Update an access param of an interface.
|
boolean |
updateActivationStatus(String dsId,
String ifaceId,
boolean active)
Deprecated.
update the activation status of an interface (true = there is a related wf).
|
boolean |
updateBaseUrl(String dsId,
String ifaceId,
String baseUrl)
Deprecated.
update the baseUrl of an interface.
|
boolean |
updateContentDescription(String dsId,
String ifaceId,
String desc)
Deprecated.
update the "contentDescription" property of an interface.
|
boolean |
updateExtraField(String dsId,
String ifaceId,
String field,
String value,
boolean preserveOriginal)
Deprecated.
Set a generic extra field of an interface.
|
boolean |
updateLevelOfCompliance(String dsId,
String ifaceId,
String level)
Deprecated.
updates the level of compliance of a datasource.
|
boolean |
updateSQL(String dsId,
String sql,
boolean delete)
Deprecated.
Perform a generic SQL update on a datasource.
|
boolean addDatasource(DatasourceDesc ds) throws DatasourceManagerServiceException
ds - the new datasourceDatasourceManagerServiceExceptionboolean deleteDatasource(String dsId) throws DatasourceManagerServiceException
dsId - the OpenAireDataSourceId (example: opendoar____::2101)DatasourceManagerServiceExceptionDatasourceDesc getDatasource(String dsId) throws DatasourceManagerServiceException
dsId - the OpenAireDataSourceId (example: opendoar____::2101)DatasourceManagerServiceExceptionList<DatasourceDesc> listAllDatasources() throws DatasourceManagerServiceException
DatasourceManagerServiceExceptionList<DatasourceDesc> listDatasourcesUsingFilter(String compliance, String contentDescription, String iisProcessingWorkflow, String collectedFrom) throws DatasourceManagerServiceException
compliance - the level of compliance (or NULL to skip the test)fileManagementMode - the fileManagementMode property (or NULL to skip the test)contentDescription - the contentDescription property (or NULL to skip the test)iisProcessingWorkflow - the iisProcessingWorkflow property (or NULL to skip the test)collectedFrom - the collectedFrom property (or NULL to skip the test)DatasourceManagerServiceExceptionboolean updateLevelOfCompliance(String dsId, String ifaceId, String level) throws DatasourceManagerServiceException
dsId - the OpenAireDataSourceId (example: opendoar____::2101)ifaceId - the interface idlevel - the new level of complianceDatasourceManagerServiceExceptionboolean updateBaseUrl(String dsId, String ifaceId, String baseUrl) throws DatasourceManagerServiceException
dsId - the OpenAireDataSourceId (example: opendoar____::2101)ifaceId - the interface idbaseUrl - the new valueDatasourceManagerServiceExceptionboolean updateActivationStatus(String dsId, String ifaceId, boolean active) throws DatasourceManagerServiceException
dsId - the OpenAireDataSourceId (example: opendoar____::2101)ifaceId - the interface idactive - true if there is a related wfDatasourceManagerServiceExceptionboolean updateContentDescription(String dsId, String ifaceId, String desc) throws DatasourceManagerServiceException
dsId - the OpenAireDataSourceId (example: opendoar____::2101)ifaceId - the interface iddesc - the new valueDatasourceManagerServiceExceptionboolean setIisProcessingWorkflow(String dsId, String ifaceId, String wf) throws DatasourceManagerServiceException
dsId - the OpenAireDataSourceId (example: opendoar____::2101)ifaceId - the interface idwf - the new valueDatasourceManagerServiceExceptionboolean updateExtraField(String dsId, String ifaceId, String field, String value, boolean preserveOriginal) throws DatasourceManagerServiceException
dsId - the OpenAireDataSourceId (example: opendoar____::2101)ifaceId - the interface idfield - the field namevalue - the new value (or null for removing it)preserveOriginal - preserve the original value in the DB (the value is stored in the "edited" column)DatasourceManagerServiceExceptionboolean updateAccessParam(String dsId, String ifaceId, String field, String value, boolean preserveOriginal) throws DatasourceManagerServiceException
dsId - the OpenAireDataSourceId (example: opendoar____::2101)ifaceId - the interface idfield - the field namevalue - the new value (or null for removing it)preserveOriginal - preserve the original value in the DB (the value is stored in the "edited" column)DatasourceManagerServiceExceptionboolean deleteAccessParamOrExtraField(String dsId, String ifaceId, String field) throws DatasourceManagerServiceException
dsId - the OpenAireDataSourceId (example: opendoar____::2101)ifaceId - the interface idfield - the field nameDatasourceManagerServiceExceptionboolean addInterface(String dsId, IfaceDesc iface) throws DatasourceManagerServiceException
dsId - the OpenAireDataSourceId (example: opendoar____::2101)iface - the interface descriptionDatasourceManagerServiceExceptionboolean deleteInterface(String dsId, String ifaceId) throws DatasourceManagerServiceException
dsId - the OpenAireDataSourceId (example: opendoar____::2101)ifcId - the id of the interfaceDatasourceManagerServiceExceptionboolean updateSQL(String dsId, String sql, boolean delete) throws DatasourceManagerServiceException
dsId - the OpenAireDataSourceId (example: opendoar____::2101)sql - the sql query to insert/update/delete the datasourcedelete - true if the profile must be deletedDatasourceManagerServiceExceptionCopyright © 2020. All rights reserved.