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.
|
<T extends org.gcube.common.resources.gcore.Resource> |
vosCreate(T resource,
List<String> scopes)
The resource is created in all VOs scopes that are presents in the resource.
|
<T extends org.gcube.common.resources.gcore.Resource> |
vosUpdate(T resource)
The resource will be updated on all the VO scopes that are defined in the resource.
|
forceRemove, removeById, removeByIdpublic 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 RegistryPublisherpublic <T extends org.gcube.common.resources.gcore.Resource> T vosCreate(T resource,
List<String> scopes)
RegistryPublishervosCreate in interface RegistryPublisherpublic <T extends org.gcube.common.resources.gcore.Resource> T vosUpdate(T resource)
RegistryPublishervosUpdate in interface RegistryPublisherCopyright © 2019. All Rights Reserved.