| Package | Description |
|---|---|
| fr.gouv.vitam.functional.administration.ontologies.core |
Management and validation of ontologies.
|
| Modifier and Type | Method and Description |
|---|---|
static OntologyValidator.RejectionCause |
OntologyValidator.RejectionCause.rejectDuplicatedInDatabase(OntologyModel ontologyModel)
Verify that no other ontology with the same identifier already exists
|
static OntologyValidator.RejectionCause |
OntologyValidator.RejectionCause.rejectIdNotAllowedInCreate(OntologyModel ontologyModel)
Reject if an id exist and the action is creation.
|
static OntologyValidator.RejectionCause |
OntologyValidator.RejectionCause.rejectInvalidIdentifier(OntologyModel ontologyModel)
Reject if the ontology identifier is not valid
|
static OntologyValidator.RejectionCause |
OntologyValidator.RejectionCause.rejectMandatoryMissing(OntologyModel ontologyModel,
String fieldName)
Reject if one of multiple mandatory parameter are null
|
static OntologyValidator.RejectionCause |
OntologyValidator.RejectionCause.rejectUsedByDocumentTypeInDatabase(OntologyModel ontologyModel,
String documentTypes)
Verify that the ontology is not used in a document type
|
| Modifier and Type | Method and Description |
|---|---|
Optional<OntologyValidator.RejectionCause> |
OntologyValidator.validate(OntologyModel ontology)
Validate an ontology object
|
Copyright © 2020 Vitam. All rights reserved.