java.lang.Object
org.gcube.smartgears.connector.resourceregistry.resourcemanager.EServiceManager

public class EServiceManager extends Object
Author:
Luca Frosini (ISTI-CNR)
  • Constructor Details

    • EServiceManager

      public EServiceManager(org.gcube.smartgears.context.application.ApplicationContext applicationContext, org.gcube.informationsystem.resourceregistry.publisher.ResourceRegistryPublisher resourceRegistryPublisher)
  • Method Details

    • getResourceRegistryPublisher

      public org.gcube.informationsystem.resourceregistry.publisher.ResourceRegistryPublisher getResourceRegistryPublisher()
    • addEServiceToCurrentContext

      public void addEServiceToCurrentContext() throws org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundException
      org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • addHostingNodeToCurrentContext

      public void addHostingNodeToCurrentContext() throws org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundException
      org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • addToContext

      public void addToContext(UUID contextUUID, String context) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundException
      org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • removeFromCurrentContext

      public void removeFromCurrentContext() throws org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundException
      org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • removeFromContext

      public void removeFromContext(UUID contextUUID, String context) throws org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.entities.resource.ResourceNotFoundException
      org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • getState

      public String getState()
    • createEService

      public org.gcube.resourcemanagement.model.reference.entities.resources.EService createEService() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • updateFacets

      public org.gcube.resourcemanagement.model.reference.entities.resources.EService updateFacets() throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • getContextsUUID

      public Map<UUID,String> getContextsUUID() throws Exception
      Throws:
      Exception