Package | Description |
---|---|
org.gcube.resourcemanagement.support.server.managers.resources | |
org.gcube.resourcemanagement.support.server.types |
Modifier and Type | Method and Description |
---|---|
AllowedResourceTypes |
AbstractResourceManager.getType()
All resources have a type.
|
Modifier and Type | Method and Description |
---|---|
static String |
ManagementUtils.addToExistingScope(AllowedResourceTypes type,
String[] resourceIDs,
org.gcube.common.scope.impl.ScopeBean sourceScope,
org.gcube.common.scope.impl.ScopeBean targetScope)
Applies the add to scope to multiple resources having the same type.
|
static AbstractResourceManager |
ResourceFactory.createResourceManager(AllowedResourceTypes type) |
static AbstractResourceManager |
ResourceFactory.createResourceManager(AllowedResourceTypes type,
String id) |
static void |
ManagementUtils.delete(AllowedResourceTypes type,
String[] resourceIDs,
org.gcube.common.scope.impl.ScopeBean scope) |
static String |
ManagementUtils.removeFromExistingScope(AllowedResourceTypes type,
String[] resourceIDs,
org.gcube.common.scope.impl.ScopeBean sourceScope,
org.gcube.common.scope.impl.ScopeBean targetScope)
Applies the add to scope to multiple resources having the same type.
|
Constructor and Description |
---|
AbstractResourceManager(AllowedResourceTypes type)
Deprecated.
discouraged use. With no ID some operations cannot be accessed. For internal use only.
|
AbstractResourceManager(String id,
AllowedResourceTypes type)
Instantiate the handler of a resource given its identifier and its type.
|
AbstractResourceManager(String id,
String name,
AllowedResourceTypes type) |
AbstractResourceManager(String id,
String name,
AllowedResourceTypes type,
String subtype) |
Modifier and Type | Method and Description |
---|---|
static AllowedResourceTypes |
AllowedResourceTypes.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllowedResourceTypes[] |
AllowedResourceTypes.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2014. All Rights Reserved.