Class ServiceManager
- java.lang.Object
-
- org.gcube.resourcemanagement.support.server.managers.resources.AbstractResourceManager
-
- org.gcube.resourcemanagement.support.server.managers.resources.ServiceManager
-
public class ServiceManager extends AbstractResourceManager
- Author:
- Daniele Strollo (ISTI-CNR)
-
-
Constructor Summary
Constructors Constructor Description ServiceManager()Deprecated.discouraged use.ServiceManager(String id)ServiceManager(String id, String name)ServiceManager(String id, String name, String subtype)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.gcube.common.resources.gcore.ResourcebuildResource(String xmlRepresentation)Given the XML profile representation of a gcube resource, its GCUBEResource is built.-
Methods inherited from class org.gcube.resourcemanagement.support.server.managers.resources.AbstractResourceManager
addToExistingScope, copyFromToVO, delete, forceDelete, getID, getName, getRegistryPublisher, getReportResourceManager, getResource, getResourceManager, getSubType, getType, getXMLDescription, removeFromScope, setID, validateScopes
-
-
-
-
Constructor Detail
-
ServiceManager
public ServiceManager() throws ResourceParameterException, ResourceAccessExceptionDeprecated.discouraged use. With no ID some operations cannot be accessed.
-
ServiceManager
public ServiceManager(String id) throws ResourceParameterException, ResourceAccessException
-
ServiceManager
public ServiceManager(String id, String name) throws ResourceParameterException, ResourceAccessException
- Parameters:
id-name-type-- Throws:
ResourceParameterExceptionResourceAccessException
-
ServiceManager
public ServiceManager(String id, String name, String subtype) throws ResourceParameterException, ResourceAccessException
- Parameters:
id-name-type-subtype-- Throws:
ResourceParameterExceptionResourceAccessException
-
-
Method Detail
-
buildResource
protected final org.gcube.common.resources.gcore.Resource buildResource(String xmlRepresentation) throws AbstractResourceException
Description copied from class:AbstractResourceManagerGiven the XML profile representation of a gcube resource, its GCUBEResource is built. Since it depends on the type of the resource, each concrete implementation of resource managers must implement it.- Specified by:
buildResourcein classAbstractResourceManager- Returns:
- Throws:
AbstractResourceException
-
-