Uses of Class
fr.gouv.vitam.common.model.administration.AccessContractModel
Package
Description
Provides
Basic Vitam Client Common interfaces
Contains generic VitamClient and associated basic implementation used as base for every specific client module.
This package contains simple POJOs and DTOs that may be shared commonly by all vitam internal components
Provides common public Model classes for the administration module.
Provides Functional administration client interface, factory and implementations.
Provides the web server application and configuration for the Functional administration module and the rest resource it uses
-
Uses of AccessContractModel in fr.gouv.vitam.access.external.client
Modifier and TypeMethodDescriptionAdminExternalClient.findAccessContractById
(VitamContext vitamContext, String contractId) Find an access contracts by its id.AdminExternalClientMock.findAccessContractById
(VitamContext vitamContext, String contractId) AdminExternalClientRest.findAccessContractById
(VitamContext vitamContext, String contractId) AdminExternalClient.findAccessContracts
(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode select) Find access contracts.AdminExternalClientMock.findAccessContracts
(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode select) AdminExternalClientRest.findAccessContracts
(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode select) -
Uses of AccessContractModel in fr.gouv.vitam.common.client
Modifier and TypeFieldDescriptionstatic final AccessContractModel
ClientMockResultHelper.ACCESS_CONTRACT_NO_DOWNLOAD
static final AccessContractModel
ClientMockResultHelper.DEFAULT_ACCESS_CONTRACT
Modifier and TypeFieldDescriptionstatic final List<AccessContractModel>
ClientMockResultHelper.ACCESS_CONTRACTS
-
Uses of AccessContractModel in fr.gouv.vitam.common.database.utils
Modifier and TypeMethodDescriptionstatic 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 requeststatic 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 requeststatic 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 requeststatic 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 requeststatic AccessRightType
AccessContractRestrictionHelper.getAccessRightType
(AccessContractModel accessContract) -
Uses of AccessContractModel in fr.gouv.vitam.common.external.client
Modifier and TypeMethodDescriptionstatic RequestResponse<AccessContractModel>
ClientMockResultHelper.getAccessContracts()
-
Uses of AccessContractModel in fr.gouv.vitam.common.model
-
Uses of AccessContractModel in fr.gouv.vitam.common.model.administration
Modifier and TypeMethodDescriptionAccessContractModel.setAccessLog
(ActivationStatus accessLog) AccessContractModel.setDataObjectVersion
(Set<String> dataObjectVersion) AccessContractModel.setDoNotFilterFilingSchemes
(Boolean doNotFilterFilingSchemes) AccessContractModel.setEveryDataObjectVersion
(Boolean everyDataObjectVersion) Set the 'everyDataObjectVersion' flag on the contract.AccessContractModel.setEveryOriginatingAgency
(Boolean everyOriginatingAgency) Set the 'everyOriginatingAgency' flag on the contract.AccessContractModel.setExcludedRootUnits
(Set<String> excludedRootUnits) Collection of archive units' GUIDs.AccessContractModel.setOriginatingAgencies
(Set<String> originatingAgencies) Set the collection of originating agencyAccessContractModel.setRootUnits
(Set<String> rootUnits) Collection of GUID of archive units.AccessContractModel.setRuleCategoryToFilter
(Set<RuleType> ruleCategoryToFilter) AccessContractModel.setRuleCategoryToFilterForTheOtherOriginatingAgencies
(Set<RuleType> ruleCategoryToFilterForTheOtherOriginatingAgencies) AccessContractModel.setSkipFilingSchemeRuleCategoryFilter
(Boolean skipFilingSchemeRuleCategoryFilter) AccessContractModel.setWritingPermission
(Boolean writingPermission) AccessContractModel.setWritingRestrictedDesc
(Boolean writingRestrictedDesc) -
Uses of AccessContractModel in fr.gouv.vitam.functional.administration.client
Modifier and TypeMethodDescriptionAdminManagementClient.findAccessContracts
(com.fasterxml.jackson.databind.JsonNode queryDsl) Find access contracts By id mongo By the name By comlexe criteriaAdminManagementClient.findAccessContractsByID
(String documentId) AdminManagementClient.updateAccessContract
(String id, com.fasterxml.jackson.databind.JsonNode queryDsl) Update AccessContract to mongoAdminManagementClientMock.updateAccessContract
(String id, com.fasterxml.jackson.databind.JsonNode queryDsl) Modifier and TypeMethodDescriptionjavax.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 databasejavax.ws.rs.core.Response.Status
AdminManagementClientMock.importAccessContracts
(List<AccessContractModel> accessContractModelList) -
Uses of AccessContractModel in fr.gouv.vitam.functional.administration.core.agencies
ModifierConstructorDescriptionAgenciesService
(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
Modifier and TypeMethodDescriptionAccessContractImpl.createContracts
(List<AccessContractModel> contractModelList) AccessContractImpl.findContracts
(com.fasterxml.jackson.databind.JsonNode queryDsl) AccessContractImpl.updateContract
(String identifier, com.fasterxml.jackson.databind.JsonNode queryDsl) Modifier and TypeMethodDescriptionAccessContractValidator.validate
(AccessContractModel accessContract, String contractName) Validate a contract objectModifier and TypeMethodDescriptionAccessContractImpl.createContracts
(List<AccessContractModel> contractModelList) -
Uses of AccessContractModel in fr.gouv.vitam.functional.administration.rest
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
ContractResource.importAccessContracts
(List<AccessContractModel> accessContractModelList, javax.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
Modifier and TypeMethodDescriptionUnitGraphInfoLoader.selectUnitsByIdsAndAccessContract
(MetaDataClient metaDataClient, Set<String> unitIds, AccessContractModel accessContractModel) Find unit ids accessible through the access contractUnitGraphInfoLoader.selectUnitsByQueryDslAndAccessContract
(MetaDataClient metaDataClient, SelectMultiQuery select, AccessContractModel accessContractModel) Find unit ids by dsl accessible through the access contract