1
|
package eu.dnetlib.msro.openaireplus.workflows.nodes.repobye;
|
2
|
|
3
|
import org.springframework.beans.factory.annotation.Autowired;
|
4
|
|
5
|
import eu.dnetlib.enabling.datasources.common.LocalDatasourceManager;
|
6
|
import eu.dnetlib.msro.workflows.nodes.repobye.DeleteMetaWfJobNode;
|
7
|
|
8
|
public class DeleteOpenaireMetaWfJobNode extends DeleteMetaWfJobNode {
|
9
|
|
10
|
@Autowired
|
11
|
private LocalDatasourceManager<?, ?> dsManager;
|
12
|
|
13
|
@Override
|
14
|
protected void setActivationStatus(final String dsId, final String ifaceId, final boolean active) throws Exception {
|
15
|
dsManager.setActive(dsId, ifaceId, active);
|
16
|
}
|
17
|
}
|