All Known Implementing Classes:
ConsistsOfManagement, EntityManagement, FacetManagement, IsRelatedToManagement, RelationManagement, ResourceManagement

public interface ERManagement
Author:
Luca Frosini (ISTI - CNR)
  • Method Details

    • isHonourPropagationConstraintsInContextSharing

      boolean isHonourPropagationConstraintsInContextSharing()
    • setHonourPropagationConstraintsInContextSharing

      void setHonourPropagationConstraintsInContextSharing(boolean honourPropagationConstraintsInContextSharing)
    • getAffectedInstances

      Map<UUID,org.gcube.com.fasterxml.jackson.databind.JsonNode> getAffectedInstances()
    • setSourceInstanceEnvironment

      void setSourceInstanceEnvironment(InstanceEnvironment source)
      Set source InstanceEnvironment to evaluate addToContext
      Parameters:
      source - the source security context
    • getSourceInstanceEnvironment

      InstanceEnvironment getSourceInstanceEnvironment()
    • internalAddToContext

      void internalAddToContext() throws org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • addToContext

      void addToContext(UUID contextUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationException, org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationException
      org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException
      org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • setTargetInstanceEnvironment

      void setTargetInstanceEnvironment(InstanceEnvironment target)
      Set target security context of addToContext/removeFromContext
      Parameters:
      target -
    • getTargetInstanceEnvironment

      InstanceEnvironment getTargetInstanceEnvironment()
    • internalRemoveFromContext

      void internalRemoveFromContext() throws org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • removeFromContext

      void removeFromContext(UUID contextUUID) throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationException, org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
      Throws:
      org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaViolationException
      org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException
      org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextException
      org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
    • getSpecificAvailableInAnotherContextException

      org.gcube.informationsystem.resourceregistry.api.exceptions.AvailableInAnotherContextException getSpecificAvailableInAnotherContextException(String message)
    • setForceAddToContext

      void setForceAddToContext(Boolean forceAddToContext)