| Package | Description |
|---|---|
| fr.gouv.vitam.functional.administration.context.core |
| Modifier and Type | Method and Description |
|---|---|
static ContextValidator.ContextRejectionCause |
ContextValidator.ContextRejectionCause.invalidSecurityProfile(String securityProfileIdentifier) |
static ContextValidator.ContextRejectionCause |
ContextValidator.ContextRejectionCause.rejectDuplicatedInDatabase(String contextName)
Verify for each context if already exists one in database that have the same name.
|
static ContextValidator.ContextRejectionCause |
ContextValidator.ContextRejectionCause.rejectIdNotAllowedInCreate(String contextIdentifier)
Reject if id exisit and the action is creation.
|
static ContextValidator.ContextRejectionCause |
ContextValidator.ContextRejectionCause.rejectMandatoryMissing(String fieldName)
Reject if one of multiple mandatory parameter are null
|
static ContextValidator.ContextRejectionCause |
ContextValidator.ContextRejectionCause.rejectNoExistanceOfAccessContract(String contextName,
Integer tenant) |
static ContextValidator.ContextRejectionCause |
ContextValidator.ContextRejectionCause.rejectNoExistanceOfIngestContract(String contextName,
Integer tenant) |
static ContextValidator.ContextRejectionCause |
ContextValidator.ContextRejectionCause.rejectNoExistanceOfTenant(Integer tenantId)
Reject if the tenant does not exist
|
| Modifier and Type | Method and Description |
|---|---|
List<ContextValidator.ContextRejectionCause> |
ContextValidator.validate(ContextModel context)
Validate a context object
|
Copyright © 2021 Vitam. All rights reserved.