public class AdvancedPublisher extends AdvancedPublisherCommonUtils implements RegistryPublisher
| Constructor and Description |
|---|
AdvancedPublisher() |
AdvancedPublisher(RegistryPublisher publisher) |
| Modifier and Type | Method and Description |
|---|---|
<T extends org.gcube.common.resources.gcore.Resource> |
create(T resource)
The resource is created in the current scope and it is updated in the other scopes that are presents in the resource.
|
<T extends org.gcube.common.resources.gcore.Resource> |
remove(T resource)
The resource will be removed from current scope.
|
<T extends org.gcube.common.resources.gcore.Resource> |
update(T resource)
The resource will be updated on all the scopes that are defined in the resource.
|
forceRemovepublic AdvancedPublisher()
public AdvancedPublisher(RegistryPublisher publisher)
public <T extends org.gcube.common.resources.gcore.Resource> T create(T resource)
RegistryPublishercreate in interface RegistryPublisherpublic <T extends org.gcube.common.resources.gcore.Resource> T update(T resource)
RegistryPublisherupdate in interface RegistryPublisherpublic <T extends org.gcube.common.resources.gcore.Resource> T remove(T resource)
RegistryPublisherremove in interface RegistryPublisherCopyright © 2014. All Rights Reserved.