| Package | Description |
|---|---|
| fr.gouv.vitam.functional.administration.archiveunitprofiles.core |
| Modifier and Type | Method and Description |
|---|---|
static ArchiveUnitProfileValidator.RejectionCause |
ArchiveUnitProfileValidator.RejectionCause.rejectDuplicateIdentifierInDatabase(String identifier)
Verify for each archive unit profile if already exists one in database that have the same identifier and/or name.
|
static ArchiveUnitProfileValidator.RejectionCause |
ArchiveUnitProfileValidator.RejectionCause.rejectDuplicateNameInDatabase(String identifier)
Verify for each archive unit profile if already exists one in database that have the same identifier and/or name.
|
static ArchiveUnitProfileValidator.RejectionCause |
ArchiveUnitProfileValidator.RejectionCause.rejectIdNotAllowedInCreate(String archiveUnitProfileIdentifier)
Reject if id exisit and the action is creation.
|
static ArchiveUnitProfileValidator.RejectionCause |
ArchiveUnitProfileValidator.RejectionCause.rejectIncorrectFieldInOntology(String fieldName)
Reject if one field is not compatible with the one declared in ontology
|
static ArchiveUnitProfileValidator.RejectionCause |
ArchiveUnitProfileValidator.RejectionCause.rejectJsonSchemaModificationIfInUse(String fieldName)
Reject if the field is not a json shema
|
static ArchiveUnitProfileValidator.RejectionCause |
ArchiveUnitProfileValidator.RejectionCause.rejectJsonShema(String fieldName)
Reject if the field is not a json shema
|
static ArchiveUnitProfileValidator.RejectionCause |
ArchiveUnitProfileValidator.RejectionCause.rejectMandatoryMissing(String fieldName)
Reject if one of multiple mandatory parameter are null
|
static ArchiveUnitProfileValidator.RejectionCause |
ArchiveUnitProfileValidator.RejectionCause.rejectMissingFieldInOntology(String fieldName)
Reject if one field is not declared in ontology
|
| Modifier and Type | Method and Description |
|---|---|
Optional<ArchiveUnitProfileValidator.RejectionCause> |
ArchiveUnitProfileValidator.validate(ArchiveUnitProfileModel profile)
Validate an archive unit profile object
|
Copyright © 2020 Vitam. All rights reserved.