Class CollectionManager
- java.lang.Object
-
- org.gcube.resourcemanagement.support.server.managers.resources.AbstractResourceManager
-
- org.gcube.resourcemanagement.support.server.managers.resources.CollectionManager
-
public class CollectionManager extends AbstractResourceManager
- Author:
- Daniele Strollo (ISTI-CNR)
-
-
Constructor Summary
Constructors Constructor Description CollectionManager()Deprecated.discouraged use.CollectionManager(String id)CollectionManager(String id, String name)CollectionManager(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
-
CollectionManager
public CollectionManager() throws ResourceParameterException, ResourceAccessExceptionDeprecated.discouraged use. With no ID some operations cannot be accessed.
-
CollectionManager
public CollectionManager(String id) throws ResourceParameterException, ResourceAccessException
-
CollectionManager
public CollectionManager(String id, String name) throws ResourceParameterException, ResourceAccessException
- Parameters:
id-name-- Throws:
ResourceParameterExceptionResourceAccessException
-
CollectionManager
public CollectionManager(String id, String name, String subtype) throws ResourceParameterException, ResourceAccessException
- Parameters:
id-name-subtype-- Throws:
ResourceParameterExceptionResourceAccessException
-
-
Method Detail
-
buildResource
protected 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
-
-