@Singleton
public class PublisherISimpl<T extends org.gcube.rest.commons.resourceawareservice.resources.GeneralResource>
extends org.gcube.rest.resourcemanager.publisher.ResourcePublisher<T>
| Constructor and Description |
|---|
PublisherISimpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteResource(String resourceID,
String scope) |
static void |
main(String[] args) |
void |
publishResource(T resource,
String resourceClass,
String resourceNamePref,
String scope,
boolean includeIdInName,
boolean onlyBody) |
static void |
remove(String id,
String scope) |
void |
updateResource(T ri,
String scope) |
void |
updateResource(T resource,
String resourceClass,
String resourceNamePref,
String scope,
boolean includeIdinName,
boolean onlyBody) |
public static void main(String[] args) throws org.gcube.informationsystem.publisher.exception.RegistryNotFoundException
org.gcube.informationsystem.publisher.exception.RegistryNotFoundExceptionpublic static void remove(String id, String scope) throws org.gcube.informationsystem.publisher.exception.RegistryNotFoundException
org.gcube.informationsystem.publisher.exception.RegistryNotFoundExceptionpublic void deleteResource(String resourceID, String scope) throws org.gcube.rest.resourcemanager.publisher.ResourcePublisherException
deleteResource in class org.gcube.rest.resourcemanager.publisher.ResourcePublisher<T extends org.gcube.rest.commons.resourceawareservice.resources.GeneralResource>org.gcube.rest.resourcemanager.publisher.ResourcePublisherExceptionpublic void publishResource(T resource, String resourceClass, String resourceNamePref, String scope, boolean includeIdInName, boolean onlyBody) throws org.gcube.rest.resourcemanager.publisher.ResourcePublisherException
publishResource in class org.gcube.rest.resourcemanager.publisher.ResourcePublisher<T extends org.gcube.rest.commons.resourceawareservice.resources.GeneralResource>org.gcube.rest.resourcemanager.publisher.ResourcePublisherExceptionpublic void updateResource(T resource, String resourceClass, String resourceNamePref, String scope, boolean includeIdinName, boolean onlyBody) throws org.gcube.rest.resourcemanager.publisher.ResourcePublisherException
updateResource in class org.gcube.rest.resourcemanager.publisher.ResourcePublisher<T extends org.gcube.rest.commons.resourceawareservice.resources.GeneralResource>org.gcube.rest.resourcemanager.publisher.ResourcePublisherExceptionpublic void updateResource(T ri, String scope) throws org.gcube.rest.resourcemanager.publisher.ResourcePublisherException
updateResource in class org.gcube.rest.resourcemanager.publisher.ResourcePublisher<T extends org.gcube.rest.commons.resourceawareservice.resources.GeneralResource>org.gcube.rest.resourcemanager.publisher.ResourcePublisherExceptionCopyright © 2018. All Rights Reserved.