Revision 36651
Added by Michele Artini about 9 years ago
InformationServiceClient.java | ||
---|---|---|
71 | 71 |
throw new InformationServiceException("Invalid Object: " + obj); |
72 | 72 |
} |
73 | 73 |
} |
74 |
|
|
75 |
public void deleteResourceByCode(final String code, final Class<?> clazz) throws InformationServiceException { |
|
76 |
if (clazz != null && clazz.isAnnotationPresent(DnetResource.class)) { |
|
77 |
informationService.deleteDsByCode(code, clazz.getAnnotation(DnetResource.class).type()); |
|
78 |
} else { |
|
79 |
throw new InformationServiceException("Invalid class " + clazz); |
|
80 |
} |
|
81 |
} |
|
74 | 82 |
} |
Also available in: Unified diff
MetaWf nodes