org.gcube.common.informationsystem.publisher.impl.resources
Class UpdateResourceHandler
java.lang.Object
org.gcube.common.informationsystem.publisher.impl.registrations.handlers.BaseISPublisherHandler
org.gcube.common.informationsystem.publisher.impl.resources.UpdateResourceHandler
- All Implemented Interfaces:
- Runnable, ISPublisherHandler
public class UpdateResourceHandler
- extends BaseISPublisherHandler
Handler for updating Resources
- Author:
- Manuele Simi (ISTI-CNR)
|
Field Summary |
protected static org.gcube.common.core.utils.logging.GCUBELog |
logger
|
|
Method Summary |
String |
getResourceID()
Gets the identifier of the resource managed by the handler |
protected void |
submitRequest()
Submits the request for changing the resource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.gcube.common.core.utils.logging.GCUBELog logger
UpdateResourceHandler
public UpdateResourceHandler(org.gcube.common.core.scope.GCUBEScope scope,
ISRegistryClient registryClient,
org.gcube.common.core.resources.GCUBEResource profile)
getResourceID
public String getResourceID()
- Gets the identifier of the resource managed by the handler
- Specified by:
getResourceID in interface ISPublisherHandler- Specified by:
getResourceID in class BaseISPublisherHandler
- Returns:
- the identifier
submitRequest
protected void submitRequest()
throws Exception
- Submits the request for changing the resource
- Specified by:
submitRequest in class BaseISPublisherHandler
- Throws:
Exception
Copyright © 2013. All Rights Reserved.