public class ScopeController
extends org.gcube.common.core.porttypes.GCUBEPortType
| Modifier and Type | Field and Description |
|---|---|
protected org.gcube.common.core.utils.logging.GCUBELog |
logger
Object logger.
|
| Constructor and Description |
|---|
ScopeController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addScopeToInstanceState(org.gcube.common.core.scope.GCUBEScope scope)
Adds the scope to the current service's instance
|
void |
changeScopeOptions(org.gcube.vremanagement.resourcemanager.stubs.scontroller.OptionsParameters options)
Changes some options on the scope
|
void |
createScope(org.gcube.vremanagement.resourcemanager.stubs.scontroller.CreateScopeParameters params) |
String |
disposeScope(String targetScope)
Disposes the managed Scope
|
protected InstanceState |
getInstanceState()
Gets the instance state
|
protected org.gcube.common.core.contexts.GCUBEServiceContext |
getServiceContext() |
protected final org.gcube.common.core.utils.logging.GCUBELog logger
public String disposeScope(String targetScope) throws org.gcube.vremanagement.resourcemanager.stubs.common.InvalidScopeFaultType, org.gcube.common.core.faults.GCUBEFault
params - org.gcube.common.core.faults.GCUBEFaultorg.gcube.vremanagement.resourcemanager.stubs.common.InvalidScopeFaultTypepublic void createScope(org.gcube.vremanagement.resourcemanager.stubs.scontroller.CreateScopeParameters params)
throws org.gcube.vremanagement.resourcemanager.stubs.common.InvalidScopeFaultType,
org.gcube.vremanagement.resourcemanager.stubs.scontroller.InvalidOptionsFaultType,
org.gcube.common.core.faults.GCUBEFault
org.gcube.vremanagement.resourcemanager.stubs.common.InvalidScopeFaultTypeorg.gcube.vremanagement.resourcemanager.stubs.scontroller.InvalidOptionsFaultTypeorg.gcube.common.core.faults.GCUBEFaultpublic void changeScopeOptions(org.gcube.vremanagement.resourcemanager.stubs.scontroller.OptionsParameters options)
throws org.gcube.vremanagement.resourcemanager.stubs.scontroller.InvalidOptionsFaultType,
org.gcube.vremanagement.resourcemanager.stubs.scontroller.InvalidOptionsFaultType,
org.gcube.common.core.faults.GCUBEFault
options - the new options to changeorg.gcube.common.core.faults.GCUBEFault - if any of the input options is not validorg.gcube.vremanagement.resourcemanager.stubs.scontroller.InvalidOptionsFaultTypeprotected org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
getServiceContext in class org.gcube.common.core.porttypes.GCUBEPortTypeprotected InstanceState getInstanceState() throws org.globus.wsrf.NoSuchResourceException, org.globus.wsrf.ResourceException
InstanceStateorg.globus.wsrf.NoSuchResourceExceptionorg.globus.wsrf.ResourceExceptionprotected void addScopeToInstanceState(org.gcube.common.core.scope.GCUBEScope scope)
throws org.globus.wsrf.ResourceException
scope - org.globus.wsrf.ResourceExceptionCopyright © 2015. All Rights Reserved.