public enum OntologyErrorCode extends Enum<OntologyErrorCode>
Enum Constant and Description |
---|
STP_IMPORT_ONTOLOGIES_DELETE_IDENTIFIER_USED_BY_DT
Onlogy used by document type while trying to delete
|
STP_IMPORT_ONTOLOGIES_DELETE_NOT_AUTHORIZED
Delete not authorized
|
STP_IMPORT_ONTOLOGIES_DELETE_USED_ONTOLOGY
/**
Used ontology could not be deleted
|
STP_IMPORT_ONTOLOGIES_EXCEPTION
General import error
|
STP_IMPORT_ONTOLOGIES_ID_NOT_ALLOWED_IN_CREATE
Invalid id in create
|
STP_IMPORT_ONTOLOGIES_IDENTIFIER_ALREADY_IN_ONTOLOGY
Identifier already used
|
STP_IMPORT_ONTOLOGIES_INVALID_IDENTIFIER
Invalid identifier
|
STP_IMPORT_ONTOLOGIES_MISSING_INFORMATION
Missing information
|
STP_IMPORT_ONTOLOGIES_NOT_AUTHORIZED_FOR_TENANT
Internal origin not allowed for non admin tenants
|
STP_IMPORT_ONTOLOGIES_NOT_JSON_FORMAT
File not in json format
|
STP_IMPORT_ONTOLOGIES_UPDATE_INVALID_TYPE
Invalid type for update
|
Modifier and Type | Method and Description |
---|---|
static OntologyErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OntologyErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_NOT_JSON_FORMAT
public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_DELETE_IDENTIFIER_USED_BY_DT
public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_IDENTIFIER_ALREADY_IN_ONTOLOGY
public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_DELETE_USED_ONTOLOGY
public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_MISSING_INFORMATION
public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_INVALID_IDENTIFIER
public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_UPDATE_INVALID_TYPE
public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_ID_NOT_ALLOWED_IN_CREATE
public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_NOT_AUTHORIZED_FOR_TENANT
public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_DELETE_NOT_AUTHORIZED
public static final OntologyErrorCode STP_IMPORT_ONTOLOGIES_EXCEPTION
public static OntologyErrorCode[] values()
for (OntologyErrorCode c : OntologyErrorCode.values()) System.out.println(c);
public static OntologyErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 Vitam. All rights reserved.