public class OfflinePublisher extends Object implements org.gcube.informationsystem.publisher.ScopedPublisher
ScopedPublisher that simulates remote publication.
Used for applications and or containers that operate in Mode.offline.
| Constructor and Description |
|---|
OfflinePublisher() |
| Modifier and Type | Method and Description |
|---|---|
<T extends org.gcube.common.resources.gcore.Resource> |
create(T resource,
List<String> scopes) |
<T extends org.gcube.common.resources.gcore.Resource> |
remove(T resource,
List<String> scopes) |
<T extends org.gcube.common.resources.gcore.Resource> |
update(T resource) |
public <T extends org.gcube.common.resources.gcore.Resource> T create(T resource,
List<String> scopes)
throws org.gcube.informationsystem.publisher.exception.RegistryNotFoundException
create in interface org.gcube.informationsystem.publisher.ScopedPublisherorg.gcube.informationsystem.publisher.exception.RegistryNotFoundExceptionpublic <T extends org.gcube.common.resources.gcore.Resource> T remove(T resource,
List<String> scopes)
throws org.gcube.informationsystem.publisher.exception.RegistryNotFoundException
remove in interface org.gcube.informationsystem.publisher.ScopedPublisherorg.gcube.informationsystem.publisher.exception.RegistryNotFoundExceptionpublic <T extends org.gcube.common.resources.gcore.Resource> T update(T resource)
throws org.gcube.informationsystem.publisher.exception.RegistryNotFoundException
update in interface org.gcube.informationsystem.publisher.ScopedPublisherorg.gcube.informationsystem.publisher.exception.RegistryNotFoundExceptionCopyright © 2016. All Rights Reserved.