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 - VitamExceptionpublic void logFatalError(String eventType, String objectId, String errorsDetails) throws VitamException
errorsDetails - VitamExceptionpublic void logStarted(String eventType, String objectId) throws VitamException
VitamExceptionpublic void logSuccess(String eventType, String objectId, String message) throws VitamException
VitamExceptionCopyright © 2019 Vitam. All rights reserved.