public interface ServiceProxy
extends com.google.gwt.user.client.rpc.RemoteService
Modifier and Type | Method and Description |
---|---|
org.gcube.resourcemanagement.support.shared.types.Tuple<String> |
addResourcesToScope(String resType,
List<String> resourceIDs,
String scope) |
org.gcube.resourcemanagement.support.shared.types.Tuple<String> |
checkDeployStatus(String scope,
String deployID) |
String |
createGenericResource(String id,
String name,
String description,
String body,
String subType) |
String |
deploy(List<String> ghnsID,
List<String> servicesID) |
void |
doOperation(org.gcube.resourcemanagement.support.shared.operations.SupportedOperations opCode,
String scope,
List<org.gcube.resourcemanagement.support.shared.types.datamodel.ResourceDescriptor> resources)
RESOURCE OPERATIONS
|
void |
emptyCache() |
List<String> |
getAvailableAddScopes() |
List<String> |
getAvailableScopes() |
org.gcube.resourcemanagement.support.shared.types.datamodel.ResourceDescriptor |
getGenericResourceDescriptor(String scope,
String resID)
Used for generic resource editing form to retrieve the profile.
|
Map<String,org.gcube.resourcemanagement.support.shared.plugins.GenericResourcePlugin> |
getGenericResourcePlugins() |
List<String> |
getRelatedResources(String type,
String id,
String scope)
Given a type retrieves its related resources.
|
org.gcube.resourcemanagement.support.shared.types.datamodel.CompleteResourceProfile |
getResourceByID(String scope,
String type,
String resID)
Retrieves the XML profiles and its HTML representation of
a resource given its unique identifier and its type.
|
List<String> |
getResourcesBySubType(String scope,
String type,
String subtype)
Filters the resources in a given scope by their type and subtype.
|
List<String> |
getResourcesByType(String scope,
String type)
For a given type returns all the resources defined in the IS having
the chosen type.
|
List<org.gcube.resourcemanagement.support.shared.types.datamodel.ResourceDescriptor> |
getResourcesModel(String scope,
String type,
String subType,
List<org.gcube.resourcemanagement.support.shared.types.Tuple<String>> additionalMaps) |
HashMap<String,ArrayList<String>> |
getResourceTypeTree(String scope)
Given a scope, provides the set of (Type, SubType) couples
defining resources in the system.
|
List<String> |
getWSResources(String scope)
Returns the list of WSResources
|
void |
initScopes(boolean doClean) |
org.gcube.resourcemanagement.support.client.utils.CurrentStatus |
initStatus() |
org.gcube.resourcemanagement.support.shared.types.Tuple<String> |
removeResourcesFromScope(String resType,
List<String> resourceIDs,
String scope) |
void |
setCurrentScope(String scope)
This way the servlet stores the scope in the session.
|
void |
setSuperUser(boolean superUser) |
void |
setUseCache(boolean flag) |
void |
updateGenericResource(String id,
String name,
String description,
String body,
String subType) |
org.gcube.resourcemanagement.support.client.utils.CurrentStatus initStatus()
void emptyCache()
void setUseCache(boolean flag)
void initScopes(boolean doClean)
void setSuperUser(boolean superUser)
void setCurrentScope(String scope)
org.gcube.resourcemanagement.support.shared.types.Tuple<String> addResourcesToScope(String resType, List<String> resourceIDs, String scope) throws Exception
resType
- resourceIDs
- scope
- Exception
org.gcube.resourcemanagement.support.shared.types.Tuple<String> removeResourcesFromScope(String resType, List<String> resourceIDs, String scope) throws Exception
Exception
String deploy(List<String> ghnsID, List<String> servicesID) throws Exception
Exception
org.gcube.resourcemanagement.support.shared.types.Tuple<String> checkDeployStatus(String scope, String deployID) throws Exception
Exception
List<org.gcube.resourcemanagement.support.shared.types.datamodel.ResourceDescriptor> getResourcesModel(String scope, String type, String subType, List<org.gcube.resourcemanagement.support.shared.types.Tuple<String>> additionalMaps) throws Exception
Exception
HashMap<String,ArrayList<String>> getResourceTypeTree(String scope) throws Exception
scope
- the scope of resourcesException
org.gcube.portlets.admin.resourcemanagement.server.gcube.services.ISClientRequester#getResourcesTypes(org.gcube.common.core.scope.GCUBEScope)
List<String> getRelatedResources(String type, String id, String scope)
scope
- type
- List<String> getResourcesByType(String scope, String type)
scope
- the scope of resourcestype
- the type of searched resources (e.g. GHN, RunningInstance, ...)List<String> getResourcesBySubType(String scope, String type, String subtype)
scope
- the scope of resourcestype
- the type of searched resources (e.g. GHN, RunningInstance, ...)subtype
- the subtype of search resources (e.g. for GHN is its domain).org.gcube.resourcemanagement.support.shared.types.datamodel.ResourceDescriptor getGenericResourceDescriptor(String scope, String resID) throws Exception
scope
- resID
- Exception
List<String> getWSResources(String scope)
scope
- the scope of resourcesorg.gcube.resourcemanagement.support.shared.types.datamodel.CompleteResourceProfile getResourceByID(String scope, String type, String resID)
scope
- the scope of the resourcetype
- the type of the searched resource (e.g. GHN, RunningInstance, ...)resID
- the unique identifier of the resourceString createGenericResource(String id, String name, String description, String body, String subType) throws Exception
Exception
void updateGenericResource(String id, String name, String description, String body, String subType) throws Exception
Exception
Map<String,org.gcube.resourcemanagement.support.shared.plugins.GenericResourcePlugin> getGenericResourcePlugins() throws Exception
Exception
Copyright © 2016. All Rights Reserved.