Interface OntologyBatchManager

All Superinterfaces:
AutoCloseable, Closeable, OntologyBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable

public interface OntologyBatchManager extends OsidManager, OntologyBatchProfile

The ontology batch manager provides access to ontology batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • SubjectBatchAdminSession : a session to create, modify and delete subjects in bulk
  • RelevancyBatchSession : a session to create, modify and delete relevancies in bulk
  • OntologyBatchAdminSession : a session to create, modify and delete ontologies in bulk
  • Method Details

    • getSubjectBatchAdminSession

      SubjectBatchAdminSession getSubjectBatchAdminSession() throws OperationFailedException
      Gets the OsidSession associated with the bulk subject administration service.
      Returns:
      a SubjectBatchAdminSession
      Throws:
      OperationFailedException - unable to complete request
      UnimplementedException - supportsSubjectBatchAdmin() is false
      Compliance:
      optional - This method must be implemented if {@code supportsSubjectBatchAdmin()} is {@code true} .
    • getSubjectBatchAdminSessionForOntology

      SubjectBatchAdminSession getSubjectBatchAdminSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException
      Gets the OsidSession associated with the bulk subject administration service for the given ontology.
      Parameters:
      ontologyId - the Id of the Ontology
      Returns:
      a SubjectBatchAdminSession
      Throws:
      NotFoundException - no Ontology found by the given Id
      NullArgumentException - ontologyId is null
      OperationFailedException - unable to complete request
      UnimplementedException - supportsSubjectBatchAdmin() or supportsVisibleFederation() is false
      Compliance:
      optional - This method must be implemented if {@code supportsSubjectBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
    • getRelevancyBatchAdminSession

      RelevancyBatchAdminSession getRelevancyBatchAdminSession() throws OperationFailedException
      Gets the OsidSession associated with the bulk relevancy administration service.
      Returns:
      a RelevancyBatchAdminSession
      Throws:
      OperationFailedException - unable to complete request
      UnimplementedException - supportsRelevancyBatchAdmin() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRelevancyBatchAdmin()} is {@code true} .
    • getRelevancyBatchAdminSessionForOntology

      RelevancyBatchAdminSession getRelevancyBatchAdminSessionForOntology(Id ontologyId) throws NotFoundException, OperationFailedException
      Gets the OsidSession associated with the bulk relevancy administration service for the given ontology.
      Parameters:
      ontologyId - the Id of the Ontology
      Returns:
      a RelevancyBatchAdminSession
      Throws:
      NotFoundException - no Ontology found by the given Id
      NullArgumentException - ontologyId is null
      OperationFailedException - unable to complete request
      UnimplementedException - supportsRelevancyBatchAdmin() or supportsVisibleFederation() is false
      Compliance:
      optional - This method must be implemented if {@code supportsRelevancyBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
    • getOntologyBatchAdminSession

      OntologyBatchAdminSession getOntologyBatchAdminSession() throws OperationFailedException
      Gets the OsidSession associated with the bulk ontology administration service.
      Returns:
      an OntologyBatchAdminSession
      Throws:
      OperationFailedException - unable to complete request
      UnimplementedException - supportsOntologyBatchAdmin() is false
      Compliance:
      optional - This method must be implemented if {@code supportsOntologyBatchAdmin()} is {@code true} .