public static class ContextValidator.ContextRejectionCause extends Object
| Constructor and Description |
|---|
ContextRejectionCause(String error)
Default constructor
|
public ContextRejectionCause(String error)
error - error as a stringpublic static ContextValidator.ContextRejectionCause rejectIdNotAllowedInCreate(String contextIdentifier)
contextIdentifier - public static ContextValidator.ContextRejectionCause rejectMandatoryMissing(String fieldName)
fieldName - public static ContextValidator.ContextRejectionCause rejectDuplicatedInDatabase(String contextName)
contextName - the context namepublic static ContextValidator.ContextRejectionCause rejectNoExistanceOfTenant(Integer tenantId)
tenantId - the tenant idpublic static ContextValidator.ContextRejectionCause rejectNoExistanceOfIngestContract(String contextName, Integer tenant)
contextName - the context namepublic static ContextValidator.ContextRejectionCause rejectNoExistanceOfAccessContract(String contextName, Integer tenant)
contextName - the context namepublic static ContextValidator.ContextRejectionCause invalidSecurityProfile(String securityProfileIdentifier)
securityProfileIdentifier - public String getReason()
Copyright © 2020 Vitam. All rights reserved.