org.gcube.common.informationsystem.publisher.impl.resources
Class RemoveResourceHandler
java.lang.Object
org.gcube.common.informationsystem.publisher.impl.registrations.handlers.BaseISPublisherHandler
org.gcube.common.informationsystem.publisher.impl.resources.RemoveResourceHandler
- All Implemented Interfaces:
- Runnable, ISPublisherHandler
public class RemoveResourceHandler
- extends BaseISPublisherHandler
Handler for removing 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
RemoveResourceHandler
public RemoveResourceHandler(org.gcube.common.core.scope.GCUBEScope scope,
ISRegistryClient registryClient,
String resourceID,
String type)
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.