Revision 51476
Added by Alessia Bardi about 6 years ago
modules/dnet-parthenos-publisher/trunk/src/main/java/eu/dnetlib/parthenos/registry/GCubeResourceRegistrator.java | ||
---|---|---|
5 | 5 |
import java.io.IOException; |
6 | 6 |
import java.util.List; |
7 | 7 |
import java.util.Map; |
8 |
import java.util.UUID; |
|
8 | 9 |
import javax.annotation.PostConstruct; |
9 | 10 |
|
10 | 11 |
import com.fasterxml.jackson.core.JsonEncoding; |
... | ... | |
107 | 108 |
return -1; |
108 | 109 |
} |
109 | 110 |
|
111 |
protected boolean deleteResourcebyUUID(final UUID uuid) throws ResourceRegistryException { |
|
112 |
return resourceRegistryPublisher.deleteResource(uuid); |
|
113 |
} |
|
114 |
|
|
110 | 115 |
/** |
111 | 116 |
* |
112 | 117 |
* @param rdfResource |
Also available in: Unified diff
Added method to delete a resource by uuid