Package | Description |
---|---|
fr.gouv.vitam.access.external.client |
Provides
|
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.json |
Json support
|
fr.gouv.vitam.common.model.administration |
Provides common public Model classes for the administration module.
|
fr.gouv.vitam.functional.administration.client |
Provides Functional administration client interface, factory and implementations.
|
fr.gouv.vitam.functional.administration.common |
Provides common classes for the Functional Administration module.
|
fr.gouv.vitam.functional.administration.ontologies.api |
Service interface for validating and managing ontologies.
|
fr.gouv.vitam.functional.administration.ontologies.api.impl |
Service implementation for validating and managing ontologies.
|
fr.gouv.vitam.functional.administration.ontologies.client |
Provides Functional administration ontologies client interface, factory and implementations.
|
fr.gouv.vitam.functional.administration.ontologies.core |
Management and validation of ontologies.
|
fr.gouv.vitam.functional.administration.rest |
Provides the web server application and configuration for the Functional administration module and the rest resource it uses
|
Modifier and Type | Method and Description |
---|---|
RequestResponse<OntologyModel> |
AdminExternalClientMock.findOntologies(VitamContext vitamContext,
com.fasterxml.jackson.databind.JsonNode query) |
RequestResponse<OntologyModel> |
AdminExternalClient.findOntologies(VitamContext vitamContext,
com.fasterxml.jackson.databind.JsonNode query)
Find ontologies
|
RequestResponse<OntologyModel> |
AdminExternalClientRest.findOntologies(VitamContext vitamContext,
com.fasterxml.jackson.databind.JsonNode query) |
RequestResponse<OntologyModel> |
AdminExternalClientMock.findOntologyById(VitamContext vitamContext,
String id) |
RequestResponse<OntologyModel> |
AdminExternalClient.findOntologyById(VitamContext vitamContext,
String id)
Find an ontology by its id.
|
RequestResponse<OntologyModel> |
AdminExternalClientRest.findOntologyById(VitamContext vitamContext,
String id) |
Modifier and Type | Method and Description |
---|---|
static RequestResponse<OntologyModel> |
ClientMockResultHelper.getOntologies(int statusCode) |
Modifier and Type | Method and Description |
---|---|
void |
SchemaValidationUtils.verifyAndReplaceFields(com.fasterxml.jackson.databind.JsonNode node,
Map<String,OntologyModel> ontologyModelMap,
List<String> errors)
Verify and replace fields.
|
Modifier and Type | Method and Description |
---|---|
OntologyModel |
OntologyModel.setApiField(String apiField) |
OntologyModel |
OntologyModel.setCollections(List<String> collections) |
OntologyModel |
OntologyModel.setCreationdate(String creationdate) |
OntologyModel |
OntologyModel.setDescription(String description) |
OntologyModel |
OntologyModel.setId(String id) |
OntologyModel |
OntologyModel.setIdentifier(String identifier) |
OntologyModel |
OntologyModel.setLastupdate(String lastupdate) |
OntologyModel |
OntologyModel.setOrigin(OntologyOrigin origin) |
OntologyModel |
OntologyModel.setSedaField(String sedaField) |
OntologyModel |
OntologyModel.setShortName(String shortName) |
OntologyModel |
OntologyModel.setTenant(Integer tenant) |
OntologyModel |
OntologyModel.setType(OntologyType type) |
OntologyModel |
OntologyModel.setVersion(Integer version) |
Modifier and Type | Method and Description |
---|---|
RequestResponse<OntologyModel> |
AdminManagementClient.findOntologies(com.fasterxml.jackson.databind.JsonNode query)
Find ontologies according to the given json query (we can also use this method to find ontology by identifier)
|
RequestResponse<OntologyModel> |
AdminManagementClientMock.findOntologies(com.fasterxml.jackson.databind.JsonNode query) |
RequestResponse<OntologyModel> |
AdminManagementClient.findOntologyByID(String id)
Find the ontology by technical id (id generated by the database)
|
RequestResponse<OntologyModel> |
AdminManagementClientMock.findOntologyByID(String requestedId) |
Modifier and Type | Method and Description |
---|---|
RequestResponse |
AdminManagementClient.importOntologies(boolean forceUpdate,
List<OntologyModel> ontologyModelList)
Import a set of ontologies metadata.
|
RequestResponse |
AdminManagementClientMock.importOntologies(boolean forceUpdate,
List<OntologyModel> ontologyModelList) |
Modifier and Type | Method and Description |
---|---|
OntologyModel |
ErrorReportOntologies.getOntologyModel() |
Modifier and Type | Method and Description |
---|---|
void |
ErrorReportOntologies.setOntologyModel(OntologyModel ontologyModel) |
Constructor and Description |
---|
ErrorReportOntologies(OntologyErrorCode code,
String fieldName,
String message,
OntologyModel ontologyModel) |
Modifier and Type | Method and Description |
---|---|
RequestResponseOK<OntologyModel> |
OntologyService.findOntologies(com.fasterxml.jackson.databind.JsonNode queryDsl)
find an ontology by QueryDsl
|
RequestResponseOK<OntologyModel> |
OntologyService.findOntologiesForCache(com.fasterxml.jackson.databind.JsonNode queryDsl)
find an ontology by QueryDsl (find directly in db)
|
RequestResponse<OntologyModel> |
OntologyService.importOntologies(boolean forceUpdate,
List<OntologyModel> ontologyList)
Import a collections of ontologies After passing the validation steps.
|
Modifier and Type | Method and Description |
---|---|
RequestResponse<OntologyModel> |
OntologyService.importOntologies(boolean forceUpdate,
List<OntologyModel> ontologyList)
Import a collections of ontologies After passing the validation steps.
|
Modifier and Type | Method and Description |
---|---|
RequestResponseOK<OntologyModel> |
OntologyServiceImpl.findOntologies(com.fasterxml.jackson.databind.JsonNode queryDsl) |
RequestResponseOK<OntologyModel> |
OntologyServiceImpl.findOntologiesForCache(com.fasterxml.jackson.databind.JsonNode queryDsl) |
RequestResponse<OntologyModel> |
OntologyServiceImpl.importOntologies(boolean forceUpdate,
List<OntologyModel> ontologyModelList) |
Modifier and Type | Method and Description |
---|---|
RequestResponse<OntologyModel> |
OntologyServiceImpl.importOntologies(boolean forceUpdate,
List<OntologyModel> ontologyModelList) |
Modifier and Type | Method and Description |
---|---|
RequestResponse<OntologyModel> |
AdminManagementOntologiesClient.findOntologiesForCache(com.fasterxml.jackson.databind.JsonNode query)
Find ontologies according to the given json query (we can also use this method to find ontology by identifier)
|
Modifier and Type | Method and Description |
---|---|
OntologyModel |
OntologyValidator.RejectionCause.getOntologyModel() |
Modifier and Type | Method and Description |
---|---|
static OntologyValidator.RejectionCause |
OntologyValidator.RejectionCause.rejectDuplicatedInDatabase(OntologyModel ontologyModel)
Verify that no other ontology with the same identifier already exists
|
static OntologyValidator.RejectionCause |
OntologyValidator.RejectionCause.rejectIdNotAllowedInCreate(OntologyModel ontologyModel)
Reject if an id exist and the action is creation.
|
static OntologyValidator.RejectionCause |
OntologyValidator.RejectionCause.rejectInvalidIdentifier(OntologyModel ontologyModel)
Reject if the ontology identifier is not valid
|
static OntologyValidator.RejectionCause |
OntologyValidator.RejectionCause.rejectMandatoryMissing(OntologyModel ontologyModel,
String fieldName)
Reject if one of multiple mandatory parameter are null
|
static OntologyValidator.RejectionCause |
OntologyValidator.RejectionCause.rejectUsedByDocumentTypeInDatabase(OntologyModel ontologyModel,
String documentTypes)
Verify that the ontology is not used in a document type
|
void |
OntologyValidator.RejectionCause.setOntologyModel(OntologyModel ontologyModel) |
Optional<OntologyValidator.RejectionCause> |
OntologyValidator.validate(OntologyModel ontology)
Validate an ontology object
|
boolean |
OntologyManager.validateCreateExternalOntology(String identifier,
OntologyModel ontology)
Validate the creation of an EXTERNAL ontology
|
boolean |
OntologyManager.validateCreateInternalOntology(String identifier,
OntologyModel ontology)
Validate the creation of an INTERNAL ontology
|
boolean |
OntologyManager.validateDeleteOntology(String identifier,
OntologyModel ontology)
Validate the deletion of an ontology
|
boolean |
OntologyManager.validateUpdateExternalOntology(String identifier,
OntologyModel ontology)
Validate the update of an EXTERNAL ontology
|
boolean |
OntologyManager.validateUpdateInternalOntology(String identifier,
OntologyModel ontology)
Validate the update of an INTERNAL ontology
|
Constructor and Description |
---|
RejectionCause(String fieldName,
OntologyModel ontologyModel,
OntologyErrorCode errorCode,
String error)
Constructor
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
AdminOntologyResource.importOntologies(boolean forceUpdate,
List<OntologyModel> ontologyModelList,
javax.ws.rs.core.UriInfo uri) |
javax.ws.rs.core.Response |
OntologyResource.importOntologies(boolean forceUpdate,
List<OntologyModel> ontologyModelList,
javax.ws.rs.core.UriInfo uri)
Import a set of ontologies metadata.
|
Copyright © 2018 Vitam. All rights reserved.