| Package | Description |
|---|---|
| fr.gouv.vitam.functional.administration.profile.core |
| Modifier and Type | Method and Description |
|---|---|
static ProfileValidator.RejectionCause |
ProfileValidator.RejectionCause.rejectDuplicatedInDatabase(String identifier)
Verify for each profile if already exists one in database that have the same identifier and/or name.
|
static ProfileValidator.RejectionCause |
ProfileValidator.RejectionCause.rejectIdNotAllowedInCreate(String profileIdentifier)
Reject if id exisit and the action is creation.
|
static ProfileValidator.RejectionCause |
ProfileValidator.RejectionCause.rejectMandatoryMissing(String fieldName)
Reject if one of multiple mandatory parameter are null
|
static ProfileValidator.RejectionCause |
ProfileValidator.RejectionCause.rejectSeveralMandatoryMissing(List<String> fieldsName)
Reject if multiple mandatory parameters are null
|
| Modifier and Type | Method and Description |
|---|---|
Optional<ProfileValidator.RejectionCause> |
ProfileValidator.validate(ProfileModel profile)
Validate a profile object
|
Copyright © 2020 Vitam. All rights reserved.