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

Packages that use ManagementContractModel
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.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.core.contract
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.worker.core.extractseda
fr.gouv.vitam.worker.core.handler
Provides Handler classes for the Worker Core module

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

  Methods in fr.gouv.vitam.access.external.client that return types with arguments of type ManagementContractModel
  Modifier and Type
  Method
  Description
  `RequestResponse<ManagementContractModel>`
  AdminExternalClient.`findManagementContractById(VitamContext vitamContext, String contractId)`
  Find an management contracts by its id.
  `RequestResponse<ManagementContractModel>`
  AdminExternalClientMock.`findManagementContractById(VitamContext vitamContext, String contractId)`
  `RequestResponse<ManagementContractModel>`
  AdminExternalClientRest.`findManagementContractById(VitamContext vitamContext, String contractId)`
  `RequestResponse<ManagementContractModel>`
  AdminExternalClient.`findManagementContracts(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode select)`
  Find management contracts.
  `RequestResponse<ManagementContractModel>`
  AdminExternalClientMock.`findManagementContracts(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode select)`
  `RequestResponse<ManagementContractModel>`
  AdminExternalClientRest.`findManagementContracts(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode select)`

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

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

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

  Methods in fr.gouv.vitam.common.model.administration that return ManagementContractModel
  Modifier and Type
  Method
  Description
  `ManagementContractModel`
  ContractsDetailsModel.`getManagementContractModel()`
  `ManagementContractModel`
  ManagementContractModel.`setStorage(StorageDetailModel storage)`
  `ManagementContractModel`
  ManagementContractModel.`setVersionRetentionPolicy(VersionRetentionPolicyModel versionRetentionPolicy)`
  Methods in fr.gouv.vitam.common.model.administration with parameters of type ManagementContractModel
  Modifier and Type
  Method
  Description
  `void`
  ContractsDetailsModel.`setManagementContractModel(ManagementContractModel managementContractModel)`

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

  Methods in fr.gouv.vitam.functional.administration.client that return types with arguments of type ManagementContractModel
  Modifier and Type
  Method
  Description
  `RequestResponse<ManagementContractModel>`
  AdminManagementClient.`findManagementContracts(com.fasterxml.jackson.databind.JsonNode queryDsl)`
  Find management contracts By id mongo By the name By comlexe criteria
  `RequestResponse<ManagementContractModel>`
  AdminManagementClient.`findManagementContractsByID(String documentId)`
  `RequestResponse<ManagementContractModel>`
  AdminManagementClient.`updateManagementContract(String id, com.fasterxml.jackson.databind.JsonNode queryDsl)`
  Update ManagementContract to mongo
  `RequestResponse<ManagementContractModel>`
  AdminManagementClientMock.`updateManagementContract(String id, com.fasterxml.jackson.databind.JsonNode queryDsl)`
  Method parameters in fr.gouv.vitam.functional.administration.client with type arguments of type ManagementContractModel
  Modifier and Type
  Method
  Description
  `jakarta.ws.rs.core.Response.Status`
  AdminManagementClient.`importManagementContracts(List<ManagementContractModel> managementContractModelList)`
  Import a set of management contracts after passing the validation steps If all the contracts are valid, they are stored in the collection and indexed The input is invalid in the following situations : The json is invalid The json have an id already set The json contains 2 ore many contracts having the same name One or more mandatory field is missing A field has an invalid format One or many contracts Already exist in the database One or many storage strategies are invalid
  `jakarta.ws.rs.core.Response.Status`
  AdminManagementClientMock.`importManagementContracts(List<ManagementContractModel> accessContractModelList)`

- ## Uses of ManagementContractModel in fr.gouv.vitam.functional.administration.core.contract

  Methods in fr.gouv.vitam.functional.administration.core.contract that return ManagementContractModel
  Modifier and Type
  Method
  Description
  `ManagementContractModel`
  ManagementContractImpl.`findByIdentifier(String identifier)`
  Methods in fr.gouv.vitam.functional.administration.core.contract that return types with arguments of type ManagementContractModel
  Modifier and Type
  Method
  Description
  `RequestResponse<ManagementContractModel>`
  ManagementContractImpl.`createContracts(List<ManagementContractModel> contractModelList)`
  `RequestResponseOK<ManagementContractModel>`
  ManagementContractImpl.`findContracts(com.fasterxml.jackson.databind.JsonNode queryDsl)`
  `RequestResponse<ManagementContractModel>`
  ManagementContractImpl.`updateContract(String identifier, com.fasterxml.jackson.databind.JsonNode queryDsl)`
  Methods in fr.gouv.vitam.functional.administration.core.contract with parameters of type ManagementContractModel
  Modifier and Type
  Method
  Description
  `Optional<GenericContractValidator.GenericRejectionCause>`
  ManagementContractValidator.`validate(ManagementContractModel managementContract, String contractName)`
  Validate a contract object
  Method parameters in fr.gouv.vitam.functional.administration.core.contract with type arguments of type ManagementContractModel
  Modifier and Type
  Method
  Description
  `RequestResponse<ManagementContractModel>`
  ManagementContractImpl.`createContracts(List<ManagementContractModel> contractModelList)`
  Constructor parameters in fr.gouv.vitam.functional.administration.core.contract with type arguments of type ManagementContractModel
  Modifier
  Constructor
  Description
  ``
  `IngestContractImpl(MongoDbAccessAdminImpl mongoAccess, VitamCounterService vitamCounterService, MetaDataClient metaDataClient, LogbookOperationsClient logbookClient, FunctionalBackupService functionalBackupService, ContractService<ManagementContractModel> managementContractService)`
  Constructor
  ``
  `IngestContractValidationService(MetaDataClient metaDataClient, ContractService<ManagementContractModel> managementContractService)`

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

  Method parameters in fr.gouv.vitam.functional.administration.rest with type arguments of type ManagementContractModel
  Modifier and Type
  Method
  Description
  `jakarta.ws.rs.core.Response`
  ContractResource.`importManagementContracts(List<ManagementContractModel> managementContractModelList, jakarta.ws.rs.core.UriInfo uri)`
  Import a set of management contracts after passing the validation steps.

- ## Uses of ManagementContractModel in fr.gouv.vitam.worker.core.extractseda

  Methods in fr.gouv.vitam.worker.core.extractseda that return ManagementContractModel
  Modifier and Type
  Method
  Description
  `ManagementContractModel`
  IngestContext.`getManagementContractModel()`
  Methods in fr.gouv.vitam.worker.core.extractseda with parameters of type ManagementContractModel
  Modifier and Type
  Method
  Description
  `void`
  IngestContext.`setManagementContractModel(ManagementContractModel managementContractModel)`

- ## Uses of ManagementContractModel in fr.gouv.vitam.worker.core.handler

  Methods in fr.gouv.vitam.worker.core.handler with parameters of type ManagementContractModel
  Modifier and Type
  Method
  Description
  `void`
  PersistentIdentifierGenerationService.`handlePersistentIdentifierForGot(Map<String,List<com.fasterxml.jackson.databind.JsonNode>> objectsByQualifierMap, ManagementContractModel managementContractModel, PersistentIdentifierPolicyTypeEnum persistentIdentifierType)`
  Service to fill generated persistent identifiers and management contract id on objects
  `void`
  PersistentIdentifierGenerationService.`handlePersistentIdentifierForUnit(ArchiveUnitRoot archiveUnitRoot, String unitGUID, ManagementContractModel managementContractModel, PersistentIdentifierPolicyTypeEnum persistentIdentifierType)`