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

Packages that use AccessContractModel
Package
Description
fr.gouv.vitam.access.external.client
Provides
fr.gouv.vitam.common.client
Basic Vitam Client Common interfaces
fr.gouv.vitam.common.database.utils
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.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.agencies
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.plugin.reclassification.utils

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

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

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

  Fields in fr.gouv.vitam.common.client declared as AccessContractModel
  Modifier and Type
  Field
  Description
  `static final AccessContractModel`
  ClientMockResultHelper.`ACCESS_CONTRACT_NO_DOWNLOAD`
  `static final AccessContractModel`
  ClientMockResultHelper.`DEFAULT_ACCESS_CONTRACT`
  Fields in fr.gouv.vitam.common.client with type parameters of type AccessContractModel
  Modifier and Type
  Field
  Description
  `static final List<AccessContractModel>`
  ClientMockResultHelper.`ACCESS_CONTRACTS`

- ## Uses of AccessContractModel in fr.gouv.vitam.common.database.utils

  Methods in fr.gouv.vitam.common.database.utils with parameters of type AccessContractModel
  Modifier and Type
  Method
  Description
  `static com.fasterxml.jackson.databind.JsonNode`
  AccessContractRestrictionHelper.`applyAccessContractExceptRuleRestrictionsForObjectGroupForSelect(com.fasterxml.jackson.databind.JsonNode queryDsl, AccessContractModel accessContract)`
  SELECT - OBJECT GROUP (without rule restriction): Apply access contract restriction except rule restrictions for object group for select request
  `static com.fasterxml.jackson.databind.JsonNode`
  AccessContractRestrictionHelper.`applyAccessContractRestrictionForObjectGroupForSelect(com.fasterxml.jackson.databind.JsonNode queryDsl, AccessContractModel accessContract)`
  SELECT - OBJECT GROUP: Apply access contract restriction for object group for select request
  `static com.fasterxml.jackson.databind.JsonNode`
  AccessContractRestrictionHelper.`applyAccessContractRestrictionForUnitForSelect(com.fasterxml.jackson.databind.JsonNode queryDsl, AccessContractModel accessContract)`
  SELECT - UNIT: Apply access contract restriction for archive unit for select request
  `static com.fasterxml.jackson.databind.JsonNode`
  AccessContractRestrictionHelper.`applyAccessContractRestrictionForUnitForUpdate(com.fasterxml.jackson.databind.JsonNode queryDsl, AccessContractModel accessContract)`
  UPDATE - UNIT: Apply access contract restriction for archive unit for update request
  `static AccessRightType`
  AccessContractRestrictionHelper.`getAccessRightType(AccessContractModel accessContract)`

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

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

- ## Uses of AccessContractModel in fr.gouv.vitam.common.model

  Methods in fr.gouv.vitam.common.model that return AccessContractModel
  Modifier and Type
  Method
  Description
  `AccessContractModel`
  VitamSession.`getContract()`
  Methods in fr.gouv.vitam.common.model with parameters of type AccessContractModel
  Modifier and Type
  Method
  Description
  `void`
  VitamSession.`setContract(AccessContractModel contract)`

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

  Methods in fr.gouv.vitam.common.model.administration that return AccessContractModel
  Modifier and Type
  Method
  Description
  `AccessContractModel`
  AccessContractModel.`setAccessLog(ActivationStatus accessLog)`
  `AccessContractModel`
  AccessContractModel.`setDataObjectVersion(Set<String> dataObjectVersion)`
  `AccessContractModel`
  AccessContractModel.`setDoNotFilterFilingSchemes(Boolean doNotFilterFilingSchemes)`
  `AccessContractModel`
  AccessContractModel.`setEveryDataObjectVersion(Boolean everyDataObjectVersion)`
  Set the 'everyDataObjectVersion' flag on the contract.
  `AccessContractModel`
  AccessContractModel.`setEveryOriginatingAgency(Boolean everyOriginatingAgency)`
  Set the 'everyOriginatingAgency' flag on the contract.
  `AccessContractModel`
  AccessContractModel.`setExcludedRootUnits(Set<String> excludedRootUnits)`
  Collection of archive units' GUIDs.
  `AccessContractModel`
  AccessContractModel.`setOriginatingAgencies(Set<String> originatingAgencies)`
  Set the collection of originating agency
  `AccessContractModel`
  AccessContractModel.`setRootUnits(Set<String> rootUnits)`
  Collection of GUID of archive units.
  `AccessContractModel`
  AccessContractModel.`setRuleCategoryToFilter(Set<RuleType> ruleCategoryToFilter)`
  `AccessContractModel`
  AccessContractModel.`setRuleCategoryToFilterForTheOtherOriginatingAgencies(Set<RuleType> ruleCategoryToFilterForTheOtherOriginatingAgencies)`
  `AccessContractModel`
  AccessContractModel.`setSkipFilingSchemeRuleCategoryFilter(Boolean skipFilingSchemeRuleCategoryFilter)`
  `AccessContractModel`
  AccessContractModel.`setWritingPermission(Boolean writingPermission)`
  `AccessContractModel`
  AccessContractModel.`setWritingRestrictedDesc(Boolean writingRestrictedDesc)`

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

  Methods in fr.gouv.vitam.functional.administration.client that return types with arguments of type AccessContractModel
  Modifier and Type
  Method
  Description
  `RequestResponse<AccessContractModel>`
  AdminManagementClient.`findAccessContracts(com.fasterxml.jackson.databind.JsonNode queryDsl)`
  Find access contracts By id mongo By the name By comlexe criteria
  `RequestResponse<AccessContractModel>`
  AdminManagementClient.`findAccessContractsByID(String documentId)`
  `RequestResponse<AccessContractModel>`
  AdminManagementClient.`updateAccessContract(String id, com.fasterxml.jackson.databind.JsonNode queryDsl)`
  Update AccessContract to mongo
  `RequestResponse<AccessContractModel>`
  AdminManagementClientMock.`updateAccessContract(String id, com.fasterxml.jackson.databind.JsonNode queryDsl)`
  Method parameters in fr.gouv.vitam.functional.administration.client with type arguments of type AccessContractModel
  Modifier and Type
  Method
  Description
  `jakarta.ws.rs.core.Response.Status`
  AdminManagementClient.`importAccessContracts(List<AccessContractModel> accessContractModelList)`
  Import a set of access 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
  `jakarta.ws.rs.core.Response.Status`
  AdminManagementClientMock.`importAccessContracts(List<AccessContractModel> accessContractModelList)`

- ## Uses of AccessContractModel in fr.gouv.vitam.functional.administration.core.agencies

  Constructor parameters in fr.gouv.vitam.functional.administration.core.agencies with type arguments of type AccessContractModel
  Modifier
  Constructor
  Description
  ``
  `AgenciesService(MongoDbAccessAdminImpl mongoAccess, VitamCounterService vitamCounterService, FunctionalBackupService backupService, fr.gouv.vitam.functional.administration.core.agencies.LogbookAgenciesImportManager manager, ContractService<AccessContractModel> accessContractService)`

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

  Methods in fr.gouv.vitam.functional.administration.core.contract that return AccessContractModel
  Modifier and Type
  Method
  Description
  `AccessContractModel`
  AccessContractImpl.`findByIdentifier(String identifier)`
  Methods in fr.gouv.vitam.functional.administration.core.contract that return types with arguments of type AccessContractModel
  Modifier and Type
  Method
  Description
  `RequestResponse<AccessContractModel>`
  AccessContractImpl.`createContracts(List<AccessContractModel> contractModelList)`
  `RequestResponseOK<AccessContractModel>`
  AccessContractImpl.`findContracts(com.fasterxml.jackson.databind.JsonNode queryDsl)`
  `RequestResponse<AccessContractModel>`
  AccessContractImpl.`updateContract(String identifier, com.fasterxml.jackson.databind.JsonNode queryDsl)`
  Methods in fr.gouv.vitam.functional.administration.core.contract with parameters of type AccessContractModel
  Modifier and Type
  Method
  Description
  `Optional<GenericContractValidator.GenericRejectionCause>`
  AccessContractValidator.`validate(AccessContractModel accessContract, String contractName)`
  Validate a contract object
  Method parameters in fr.gouv.vitam.functional.administration.core.contract with type arguments of type AccessContractModel
  Modifier and Type
  Method
  Description
  `RequestResponse<AccessContractModel>`
  AccessContractImpl.`createContracts(List<AccessContractModel> contractModelList)`

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

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

- ## Uses of AccessContractModel in fr.gouv.vitam.worker.core.plugin.reclassification.utils

  Methods in fr.gouv.vitam.worker.core.plugin.reclassification.utils with parameters of type AccessContractModel
  Modifier and Type
  Method
  Description
  `Set<String>`
  UnitGraphInfoLoader.`selectUnitsByIdsAndAccessContract(MetaDataClient metaDataClient, Set<String> unitIds, AccessContractModel accessContractModel)`
  Find unit ids accessible through the access contract
  `Set<String>`
  UnitGraphInfoLoader.`selectUnitsByQueryDslAndAccessContract(MetaDataClient metaDataClient, SelectMultiQuery select, AccessContractModel accessContractModel)`
  Find unit ids by dsl accessible through the access contract