public class GCUBEGenericPublisher extends Object implements org.gcube.common.core.informationsystem.publisher.ISGenericPublisher
ISGenericPublisher for WS-DAIX| Modifier and Type | Field and Description |
|---|---|
protected static org.gcube.common.core.utils.logging.GCUBELog |
logger |
| Constructor and Description |
|---|
GCUBEGenericPublisher() |
| Modifier and Type | Method and Description |
|---|---|
void |
register(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope) |
void |
register(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope,
Document metadata)
Registers a new resource
|
void |
register(List<org.gcube.common.core.informationsystem.publisher.ISResource> resources,
org.gcube.common.core.scope.GCUBEScope scope) |
void |
remove(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope)
Removes a registered resource
|
void |
remove(List<org.gcube.common.core.informationsystem.publisher.ISResource> resources,
org.gcube.common.core.scope.GCUBEScope scope) |
void |
update(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope)
Updates the resource
|
void |
update(List<org.gcube.common.core.informationsystem.publisher.ISResource> resources,
org.gcube.common.core.scope.GCUBEScope scope) |
public void register(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope,
Document metadata)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
resource - the resource to registerscope - the registration scopetype - the type of the resourcemetadata - the optional metadata documentExceptionorg.gcube.common.core.informationsystem.publisher.ISPublisherExceptionpublic void register(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
register in interface org.gcube.common.core.informationsystem.publisher.ISGenericPublisherorg.gcube.common.core.informationsystem.publisher.ISPublisherExceptionpublic void register(List<org.gcube.common.core.informationsystem.publisher.ISResource> resources, org.gcube.common.core.scope.GCUBEScope scope) throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
register in interface org.gcube.common.core.informationsystem.publisher.ISGenericPublisherorg.gcube.common.core.informationsystem.publisher.ISPublisherExceptionpublic void remove(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
remove in interface org.gcube.common.core.informationsystem.publisher.ISGenericPublisherresource - the resource to removetype - the type of the resourcescope - the unregistration scopeorg.gcube.common.core.informationsystem.publisher.ISPublisherExceptionpublic void update(org.gcube.common.core.informationsystem.publisher.ISResource resource,
org.gcube.common.core.scope.GCUBEScope scope)
throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
update in interface org.gcube.common.core.informationsystem.publisher.ISGenericPublisherorg.gcube.common.core.informationsystem.publisher.ISPublisherExceptionpublic void update(List<org.gcube.common.core.informationsystem.publisher.ISResource> resources, org.gcube.common.core.scope.GCUBEScope scope) throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
update in interface org.gcube.common.core.informationsystem.publisher.ISGenericPublisherorg.gcube.common.core.informationsystem.publisher.ISPublisherExceptionpublic void remove(List<org.gcube.common.core.informationsystem.publisher.ISResource> resources, org.gcube.common.core.scope.GCUBEScope scope) throws org.gcube.common.core.informationsystem.publisher.ISPublisherException
remove in interface org.gcube.common.core.informationsystem.publisher.ISGenericPublisherorg.gcube.common.core.informationsystem.publisher.ISPublisherExceptionCopyright © 2017. All Rights Reserved.