Class OntologyManager


  • public class OntologyManager
    extends java.lang.Object
    This class manage validation and log operation of Ontology service
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addError​(java.lang.String identifier, ErrorReportOntologies error, java.util.Map<java.lang.String,​java.util.List<ErrorReportOntologies>> errors)
      Add an error to the report
      void logFatalError​(java.lang.String eventType, java.lang.String objectId, java.lang.String errorsDetails)
      log fatal error (system or technical error)
      void logStarted​(java.lang.String eventType, java.lang.String objectId)
      log start process
      void logSuccess​(java.lang.String eventType, java.lang.String objectId, java.lang.String message)
      log end success process
      void logValidationError​(java.lang.String eventType, java.lang.String objectId, java.lang.String errorsDetails)
      Log validation error (business error)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • addError

        public void addError​(java.lang.String identifier,
                             ErrorReportOntologies error,
                             java.util.Map<java.lang.String,​java.util.List<ErrorReportOntologies>> errors)
        Add an error to the report
        Parameters:
        identifier -
        error -
      • logValidationError

        public void logValidationError​(java.lang.String eventType,
                                       java.lang.String objectId,
                                       java.lang.String errorsDetails)
                                throws VitamException
        Log validation error (business error)
        Parameters:
        errorsDetails -
        Throws:
        VitamException
      • logFatalError

        public void logFatalError​(java.lang.String eventType,
                                  java.lang.String objectId,
                                  java.lang.String errorsDetails)
                           throws VitamException
        log fatal error (system or technical error)
        Parameters:
        errorsDetails -
        Throws:
        VitamException
      • logStarted

        public void logStarted​(java.lang.String eventType,
                               java.lang.String objectId)
                        throws VitamException
        log start process
        Throws:
        VitamException
      • logSuccess

        public void logSuccess​(java.lang.String eventType,
                               java.lang.String objectId,
                               java.lang.String message)
                        throws VitamException
        log end success process
        Throws:
        VitamException