ServiceManager (Resource Management Library 2.0.0-2.17.1 API)
Date: 2014-01-09

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gcube.resourcemanagement.support.server.managers.resources
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
`ServiceManager()` Deprecated. discouraged use. With no ID some operations cannot be accessed.
`ServiceManager(String id)`
`ServiceManager(String id, String name)`
`ServiceManager(String id, String name, String subtype)`

Method Summary
`protected org.gcube.common.resources.gcore.Resource` | `buildResource(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`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ServiceManager

    public ServiceManager()
                   throws ResourceParameterException,
                          ResourceAccessException

  Deprecated. discouraged use. With no ID some operations cannot be accessed.

  Throws:
    `ResourceParameterException`
    `ResourceAccessException`

### ServiceManager

    public ServiceManager(String id)
                   throws ResourceParameterException,
                          ResourceAccessException

Throws:
  `ResourceParameterException`
  `ResourceAccessException`

### ServiceManager

    public ServiceManager(String id,
                          String name)
                   throws ResourceParameterException,
                          ResourceAccessException

Parameters:
  `id` -
  `name` -
  `type` -
Throws:
  `ResourceParameterException`
  `ResourceAccessException`

### ServiceManager

    public ServiceManager(String id,
                          String name,
                          String subtype)
                   throws ResourceParameterException,
                          ResourceAccessException

Parameters:
  `id` -
  `name` -
  `type` -
  `subtype` -
Throws:
  `ResourceParameterException`
  `ResourceAccessException`

Method Detail

### buildResource

    protected final org.gcube.common.resources.gcore.Resource buildResource(String xmlRepresentation)
                                                                     throws AbstractResourceException

  Description copied from class: `AbstractResourceManager`
  Given 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:
    `buildResource` in class `AbstractResourceManager`
  Returns:
  Throws:
    `AbstractResourceException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2014. All Rights Reserved.