public class OntologyManager extends Object
Constructor and Description |
---|
OntologyManager(LogbookOperationsClient logbookClient,
GUID eip,
Map<String,List<ErrorReportOntologies>> errors) |
Modifier and Type | Method and Description |
---|---|
void |
addError(String identifier,
ErrorReportOntologies error,
Map<String,List<ErrorReportOntologies>> errors)
Add an error to the report
|
void |
logFatalError(String eventType,
String objectId,
String errorsDetails)
log fatal error (system or technical error)
|
void |
logStarted(String eventType,
String objectId)
log start process
|
void |
logSuccess(String eventType,
String objectId,
String message)
log end success process
|
void |
logValidationError(String eventType,
String objectId,
String errorsDetails)
Log validation error (business error)
|
public OntologyManager(LogbookOperationsClient logbookClient, GUID eip, Map<String,List<ErrorReportOntologies>> errors)
public void addError(String identifier, ErrorReportOntologies error, Map<String,List<ErrorReportOntologies>> errors)
identifier
- error
- public void logValidationError(String eventType, String objectId, String errorsDetails) throws VitamException
errorsDetails
- VitamException
public void logFatalError(String eventType, String objectId, String errorsDetails) throws VitamException
errorsDetails
- VitamException
public void logStarted(String eventType, String objectId) throws VitamException
VitamException
public void logSuccess(String eventType, String objectId, String message) throws VitamException
VitamException
Copyright © 2019 Vitam. All rights reserved.