# Uses of Class
fr.gouv.vitam.common.model.administration.OntologyModel

Packages that use OntologyModel
Package
Description
fr.gouv.vitam.access.external.client
Provides
fr.gouv.vitam.common.client
Basic Vitam Client Common interfaces
fr.gouv.vitam.common.database.collections
Provides common database collection
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.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.common.client
fr.gouv.vitam.functional.administration.core.ontologies
fr.gouv.vitam.functional.administration.core.schema
fr.gouv.vitam.functional.administration.rest
Provides the web server application and configuration for the Functional administration module and the rest resource it uses
fr.gouv.vitam.metadata.core.database.collections
Provides

- ## Uses of OntologyModel in fr.gouv.vitam.access.external.client

  Methods in fr.gouv.vitam.access.external.client that return types with arguments of type OntologyModel
  Modifier and Type
  Method
  Description
  `RequestResponse<OntologyModel>`
  AdminExternalClient.`findOntologies(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode query)`
  Find ontologies
  `RequestResponse<OntologyModel>`
  AdminExternalClientMock.`findOntologies(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode query)`
  `RequestResponse<OntologyModel>`
  AdminExternalClientRest.`findOntologies(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode query)`
  `RequestResponse<OntologyModel>`
  AdminExternalClient.`findOntologyById(VitamContext vitamContext, String id)`
  Find an ontology by its id.
  `RequestResponse<OntologyModel>`
  AdminExternalClientMock.`findOntologyById(VitamContext vitamContext, String id)`
  `RequestResponse<OntologyModel>`
  AdminExternalClientRest.`findOntologyById(VitamContext vitamContext, String id)`

- ## Uses of OntologyModel in fr.gouv.vitam.common.client

  Fields in fr.gouv.vitam.common.client with type parameters of type OntologyModel
  Modifier and Type
  Field
  Description
  `static final List<OntologyModel>`
  ClientMockResultHelper.`ONTOLOGIES`
  Methods in fr.gouv.vitam.common.client that return types with arguments of type OntologyModel
  Modifier and Type
  Method
  Description
  `List<OntologyModel>`
  OntologyLoader.`loadOntologies()`
  Method parameters in fr.gouv.vitam.common.client with type arguments of type OntologyModel
  Modifier and Type
  Method
  Description
  `static void`
  ClientMockResultHelper.`setOntologies(List<OntologyModel> ontologies)`

- ## Uses of OntologyModel in fr.gouv.vitam.common.database.collections

  Methods in fr.gouv.vitam.common.database.collections that return types with arguments of type OntologyModel
  Modifier and Type
  Method
  Description
  `List<OntologyModel>`
  CachedOntologyLoader.`loadOntologies()`
  Constructor parameters in fr.gouv.vitam.common.database.collections with type arguments of type OntologyModel
  Modifier
  Constructor
  Description
  ``
  `DynamicParserTokens(VitamDescriptionResolver vitamDescriptionResolver, List<OntologyModel> ontologyModels)`

- ## Uses of OntologyModel in fr.gouv.vitam.common.external.client

  Methods in fr.gouv.vitam.common.external.client that return types with arguments of type OntologyModel
  Modifier and Type
  Method
  Description
  `static RequestResponse<OntologyModel>`
  ClientMockResultHelper.`getOntologies(int statusCode)`

- ## Uses of OntologyModel in fr.gouv.vitam.common.model.administration

  Methods in fr.gouv.vitam.common.model.administration that return OntologyModel
  Modifier and Type
  Method
  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.`setStringSize(StringSize stringSize)`
  `OntologyModel`
  OntologyModel.`setTenant(Integer tenant)`
  `OntologyModel`
  OntologyModel.`setType(OntologyType type)`
  `OntologyModel`
  OntologyModel.`setTypeDetail(TypeDetail typeDetail)`
  `OntologyModel`
  OntologyModel.`setVersion(Integer version)`

- ## Uses of OntologyModel in fr.gouv.vitam.functional.administration.client

  Methods in fr.gouv.vitam.functional.administration.client that return types with arguments of type OntologyModel
  Modifier and Type
  Method
  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)`
  `List<OntologyModel>`
  AdminManagementOntologyLoader.`loadOntologies()`
  Method parameters in fr.gouv.vitam.functional.administration.client with type arguments of type OntologyModel
  Modifier and Type
  Method
  Description
  `RequestResponse`
  AdminManagementClient.`importOntologies(boolean forceUpdate, List<OntologyModel> ontologyModelList)`
  Import a set of ontologies metadata.
  `RequestResponse`
  AdminManagementClientMock.`importOntologies(boolean forceUpdate, List<OntologyModel> ontologyModelList)`

- ## Uses of OntologyModel in fr.gouv.vitam.functional.administration.common

  Methods in fr.gouv.vitam.functional.administration.common that return OntologyModel
  Modifier and Type
  Method
  Description
  `OntologyModel`
  ErrorReportOntologies.`getOntologyModel()`
  Methods in fr.gouv.vitam.functional.administration.common with parameters of type OntologyModel
  Modifier and Type
  Method
  Description
  `void`
  ErrorReportOntologies.`setOntologyModel(OntologyModel ontologyModel)`
  Constructors in fr.gouv.vitam.functional.administration.common with parameters of type OntologyModel
  Modifier
  Constructor
  Description
  ``
  `ErrorReportOntologies(OntologyErrorCode code, String fieldName, String message, OntologyModel ontologyModel)`

- ## Uses of OntologyModel in fr.gouv.vitam.functional.administration.common.client

  Methods in fr.gouv.vitam.functional.administration.common.client that return types with arguments of type OntologyModel
  Modifier and Type
  Method
  Description
  `List<OntologyModel>`
  FunctionAdministrationOntologyLoader.`loadOntologies()`

- ## Uses of OntologyModel in fr.gouv.vitam.functional.administration.core.ontologies

  Methods in fr.gouv.vitam.functional.administration.core.ontologies that return types with arguments of type OntologyModel
  Modifier and Type
  Method
  Description
  `RequestResponse<OntologyModel>`
  OntologyService.`checkUpgradeOntologies(List<OntologyModel> ontologyList)`
  Check the safety of ontology import at vitam reinstall/upgrade
  `RequestResponse<OntologyModel>`
  OntologyServiceImpl.`checkUpgradeOntologies(List<OntologyModel> ontologyInternalModelList)`
  `RequestResponseOK<OntologyModel>`
  OntologyService.`findOntologies(com.fasterxml.jackson.databind.JsonNode queryDsl)`
  find an ontology by QueryDsl
  `RequestResponseOK<OntologyModel>`
  OntologyServiceImpl.`findOntologies(com.fasterxml.jackson.databind.JsonNode queryDsl)`
  `RequestResponseOK<OntologyModel>`
  OntologyService.`findOntologiesForCache(com.fasterxml.jackson.databind.JsonNode queryDsl)`
  find an ontology by QueryDsl (find directly in db)
  `RequestResponseOK<OntologyModel>`
  OntologyServiceImpl.`findOntologiesForCache(com.fasterxml.jackson.databind.JsonNode queryDsl)`
  `RequestResponse<OntologyModel>`
  OntologyService.`importInternalOntologies(List<OntologyModel> ontologyList)`
  Import a collections of ontologies After passing the validation steps.
  `RequestResponse<OntologyModel>`
  OntologyServiceImpl.`importInternalOntologies(List<OntologyModel> ontologyInternalModelList)`
  `RequestResponse<OntologyModel>`
  OntologyService.`importOntologies(boolean forceUpdate, List<OntologyModel> ontologyList)`
  Import a collections of ontologies After passing the validation steps.
  `RequestResponse<OntologyModel>`
  OntologyServiceImpl.`importOntologies(boolean forceUpdate, List<OntologyModel> ontologyModelList)`
  Method parameters in fr.gouv.vitam.functional.administration.core.ontologies with type arguments of type OntologyModel
  Modifier and Type
  Method
  Description
  `RequestResponse<OntologyModel>`
  OntologyService.`checkUpgradeOntologies(List<OntologyModel> ontologyList)`
  Check the safety of ontology import at vitam reinstall/upgrade
  `RequestResponse<OntologyModel>`
  OntologyServiceImpl.`checkUpgradeOntologies(List<OntologyModel> ontologyInternalModelList)`
  `RequestResponse<OntologyModel>`
  OntologyService.`importInternalOntologies(List<OntologyModel> ontologyList)`
  Import a collections of ontologies After passing the validation steps.
  `RequestResponse<OntologyModel>`
  OntologyServiceImpl.`importInternalOntologies(List<OntologyModel> ontologyInternalModelList)`
  `RequestResponse<OntologyModel>`
  OntologyService.`importOntologies(boolean forceUpdate, List<OntologyModel> ontologyList)`
  Import a collections of ontologies After passing the validation steps.
  `RequestResponse<OntologyModel>`
  OntologyServiceImpl.`importOntologies(boolean forceUpdate, List<OntologyModel> ontologyModelList)`

- ## Uses of OntologyModel in fr.gouv.vitam.functional.administration.core.schema

  Method parameters in fr.gouv.vitam.functional.administration.core.schema with type arguments of type OntologyModel
  Modifier and Type
  Method
  Description
  `static List<Schema>`
  SchemaCommonService.`mapSchemaFromInputParameters(List<SchemaInputModel> externalSchemaInputList, Map<String,OntologyModel> ontologyEltsMapByIdentifier)`
  Map Schema intput to db entity
  `void`
  SchemaValidationService.`validateExternalSchemaInputs(List<SchemaInputModel> externalSchemaInputList, List<SchemaResponse> currentUnitSchemaList, Map<String,OntologyModel> ontologyEltsMapByIdentifier, Map<String,List<ErrorReportSchema>> importErrors)`
  Validate input schema list coherence

- ## Uses of OntologyModel in fr.gouv.vitam.functional.administration.rest

  Method parameters in fr.gouv.vitam.functional.administration.rest with type arguments of type OntologyModel
  Modifier and Type
  Method
  Description
  `jakarta.ws.rs.core.Response`
  AdminOntologyResource.`checkOntologies(List<OntologyModel> ontologyModelList, jakarta.ws.rs.core.UriInfo uri)`
  `jakarta.ws.rs.core.Response`
  AdminOntologyResource.`importInternalOntologies(List<OntologyModel> ontologyModelList, jakarta.ws.rs.core.UriInfo uri)`
  `jakarta.ws.rs.core.Response`
  OntologyResource.`importOntologies(boolean forceUpdate, List<OntologyModel> ontologyModelList, jakarta.ws.rs.core.UriInfo uri)`
  Import a set of ontologies metadata.

- ## Uses of OntologyModel in fr.gouv.vitam.metadata.core.database.collections

  Method parameters in fr.gouv.vitam.metadata.core.database.collections with type arguments of type OntologyModel
  Modifier and Type
  Method
  Description
  `Result<MetadataDocument<?>>`
  DbRequest.`execRequest(RequestParserMultiple requestParser, List<OntologyModel> ontologies)`
  The request should be already analyzed.
  `UpdatedDocument`
  DbRequest.`execRuleRequest(String documentId, RuleActions ruleActions, Map<String,DurationData> bindRuleToDuration, OntologyValidator ontologyValidator, UnitValidator unitValidator, List<OntologyModel> ontologyModels)`
  Execute rule action on unit