Revision 50278
Added by Michele Artini about 6 years ago
DeleteOpenaireMetaWfJobNode.java | ||
---|---|---|
16 | 16 |
private LocalOpenaireDatasourceManager dsManager; |
17 | 17 |
|
18 | 18 |
@Override |
19 |
protected void updateIfaceActivationStatus(final String dsId, final String ifaceId, final boolean active) throws Exception {
|
|
19 |
protected void setActivationStatus(final String dsId, final String ifaceId, final boolean active) throws Exception {
|
|
20 | 20 |
|
21 | 21 |
final String openaireDsId = serviceLocator.getService(ISLookUpService.class).getResourceProfileByQuery( |
22 | 22 |
"/*[.//RESOURCE_IDENTIFIER/@value = '" + dsId + "']//FIELD/value[../key='OpenAireDataSourceId']/text()"); |
23 | 23 |
|
24 | 24 |
if (openaireDsId.equals("openaire____::bootstrap")) { |
25 |
super.updateIfaceActivationStatus(dsId, ifaceId, active);
|
|
25 |
dsManager.setActive(dsId, ifaceId, active);
|
|
26 | 26 |
} else { |
27 | 27 |
dsManager.setActive(openaireDsId, ifaceId, active); |
28 | 28 |
} |
Also available in: Unified diff
added some methods for repo UI