Package | Description |
---|---|
fr.gouv.vitam.common.client |
Contains generic VitamClient and associated basic implementation used as base for every specific client module.
|
fr.gouv.vitam.common.dsl.schema | |
fr.gouv.vitam.common.error |
Contains
- services codes and their name - domains codes and their name - public Vitam codes |
fr.gouv.vitam.common.exception |
Common Exception package
|
fr.gouv.vitam.common.external.client |
Contains generic VitamClient and associated basic implementation used as base for every specific client module.
|
fr.gouv.vitam.common.model |
This package contains simple POJOs and DTOs that may be shared commonly by all vitam internal components
|
fr.gouv.vitam.functional.administration.common |
Provides common classes for the Functional Administration module.
|
fr.gouv.vitam.functional.administration.profile.core | |
fr.gouv.vitam.logbook.administration.audit.exception | |
fr.gouv.vitam.metadata.api.exception |
Provides exception classes used for the Metadata module.
|
Modifier and Type | Method and Description |
---|---|
VitamError |
AdminClient.adminAutotest()
Check the dependencies and return a VitamError status where getHttpCode contains either 200 for OK or 503 for
error and a sub list of VitamErrors for each tested subservices
|
VitamError |
DefaultAdminClient.adminAutotest() |
Constructor and Description |
---|
ValidationException(VitamError vitamError) |
Modifier and Type | Method and Description |
---|---|
VitamError |
VitamError.addAllErrors(List<VitamError> errors) |
VitamError |
VitamError.addToErrors(VitamError error) |
static VitamError |
VitamError.getFromJsonNode(com.fasterxml.jackson.databind.JsonNode node) |
VitamError |
VitamError.setCode(String code) |
VitamError |
VitamError.setContext(String context) |
VitamError |
VitamError.setDescription(String description) |
VitamError |
VitamError.setHttpCode(int httpCode) |
VitamError |
VitamError.setMessage(String message) |
VitamError |
VitamError.setState(String state) |
static VitamError |
VitamCodeHelper.toVitamError(VitamCode vitamCode,
String description)
Transform a vitamCode to a VitamError with the given description
|
Modifier and Type | Method and Description |
---|---|
List<VitamError> |
VitamError.getErrors() |
Modifier and Type | Method and Description |
---|---|
VitamError |
VitamError.addToErrors(VitamError error) |
Modifier and Type | Method and Description |
---|---|
VitamError |
VitamError.addAllErrors(List<VitamError> errors) |
Modifier and Type | Method and Description |
---|---|
VitamError |
VitamException.getVitamError() |
Modifier and Type | Method and Description |
---|---|
void |
VitamException.setVitamError(VitamError vitamError) |
Constructor and Description |
---|
VitamDBException(VitamError vitamError)
constructor.
|
VitamException(VitamError vitamError) |
Modifier and Type | Method and Description |
---|---|
VitamError |
AdminClient.adminAutotest()
Check the dependencies and return a VitamError status where getHttpCode contains either 200 for OK or 503 for
error and a sub list of VitamErrors for each tested subservices
|
VitamError |
DefaultAdminClient.adminAutotest() |
Modifier and Type | Method and Description |
---|---|
VitamError |
RequestResponseError.getError() |
static VitamError |
RequestResponse.parseVitamError(javax.ws.rs.core.Response response) |
Modifier and Type | Method and Description |
---|---|
RequestResponseError |
RequestResponseError.setError(VitamError error)
RequestResponseError constructor
|
Modifier and Type | Method and Description |
---|---|
static VitamError |
VitamErrorUtils.getVitamError(String vitamCode,
String description,
String collection,
StatusCode state) |
Modifier and Type | Method and Description |
---|---|
boolean |
ProfileManager.validateProfile(ProfileModel profile,
VitamError error) |
boolean |
ProfileManager.validateProfileFile(ProfileModel profileModel,
byte[] byteArray,
VitamError error)
Validate if the profile file is valide
XSD => is file xsd is xml valide
RNG => if file rng is xml valide, rng valide, check default values if already exists in vitam
|
boolean |
ProfileManager.validateRNG(InputStream inputStream,
VitamError error)
TODO
1.
|
boolean |
ProfileManager.validateXSD(InputStream inputStream,
VitamError error)
Just check if inputStream is xml valid
|
Modifier and Type | Method and Description |
---|---|
VitamError |
LogbookAuditException.getVitamError() |
Modifier and Type | Method and Description |
---|---|
void |
LogbookAuditException.setVitamError(VitamError vitamError) |
Constructor and Description |
---|
LogbookAuditException(VitamError vitamError) |
Constructor and Description |
---|
MetaDataException(VitamError vitamError)
Constructor
|
Copyright © 2018 Vitam. All rights reserved.