Package | Description |
---|---|
fr.gouv.vitam.access.external.rest |
Provides the web server application for the Access External module and the rest resources it uses.
|
fr.gouv.vitam.functional.administration.client |
Provides Functional administration client interface, factory and implementations.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
AdminManagementExternalResource.findGriffin(com.fasterxml.jackson.databind.JsonNode select) |
javax.ws.rs.core.Response |
AdminManagementExternalResource.importGriffin(com.fasterxml.jackson.databind.JsonNode griffins) |
javax.ws.rs.core.Response |
AdminManagementExternalResource.updateAccessContract(String identifier,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update access contract
|
javax.ws.rs.core.Response |
AdminManagementExternalResource.updateArchiveUnitProfile(String identifier,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update archive unit profile
|
javax.ws.rs.core.Response |
AdminManagementExternalResource.updateContext(String identifier,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update context
|
javax.ws.rs.core.Response |
AdminManagementExternalResource.updateIngestContract(String identifier,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update ingest contract
|
javax.ws.rs.core.Response |
AdminManagementExternalResource.updateManagementContract(String identifier,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update management contract
|
javax.ws.rs.core.Response |
AdminManagementExternalResource.updateProfile(String identifier,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update profile
|
javax.ws.rs.core.Response |
AdminManagementExternalResource.updateSecurityProfile(String identifier,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update a security profile
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
AdminManagementClient.checkAgenciesFile(InputStream stream)
Check if agencies file is well formated
|
javax.ws.rs.core.Response |
AdminManagementClient.checkRulesFile(InputStream stream)
Check if rule file is well formated
|
RequestResponse<AccessionRegisterSymbolic> |
AdminManagementClient.createAccessionRegisterSymbolic(Integer tenant)
Creates and return the accession register symbolic.
|
RequestResponse |
AdminManagementClientMock.createArchiveUnitProfiles(List<ArchiveUnitProfileModel> archiveUnitProfileModelList) |
RequestResponse |
AdminManagementClient.createArchiveUnitProfiles(List<ArchiveUnitProfileModel> archiveUnitProfileModelList)
Import a set of archive unit profile metadata.
|
javax.ws.rs.core.Response.Status |
AdminManagementClientMock.createExternalOperation(LogbookOperationParameters logbookOperationparams) |
javax.ws.rs.core.Response.Status |
AdminManagementClient.createExternalOperation(LogbookOperationParameters logbookOperationparams)
Create external logbook operation entry
|
RequestResponse<AccessionRegisterDetailModel> |
AdminManagementClient.createOrUpdateAccessionRegister(AccessionRegisterDetailModel register) |
RequestResponse |
AdminManagementClientMock.createProfiles(List<ProfileModel> profileModelList) |
RequestResponse |
AdminManagementClient.createProfiles(List<ProfileModel> profileModelList)
Import a set of profile If all the profiles are valid, they will be stored in the collection and indexed The
input is invalid in the following situations :
The json is invalid
The json contains 2 ore many profile having the same name
One or more mandatory field is missing
A field has an invalid format
One or many profiles already exist in the database
|
javax.ws.rs.core.Response |
AdminManagementClientMock.downloadProfileFile(String profileMetadataId) |
javax.ws.rs.core.Response |
AdminManagementClient.downloadProfileFile(String profileMetadataId)
Download the profile file according to profileMetadataId
|
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
AdminManagementClientMock.evidenceAudit(com.fasterxml.jackson.databind.JsonNode query) |
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
AdminManagementClient.evidenceAudit(com.fasterxml.jackson.databind.JsonNode queryDsl)
launch a traceability audit for the unit
|
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
AdminManagementClient.exportProbativeValue(ProbativeValueRequest probativeValueRequest)
Launch an probative value export for the query
|
RequestResponse |
AdminManagementClientMock.findAccessContracts(com.fasterxml.jackson.databind.JsonNode queryDsl) |
RequestResponse<AccessContractModel> |
AdminManagementClient.findAccessContracts(com.fasterxml.jackson.databind.JsonNode queryDsl)
Find access contracts
By id mongo
By the name
By comlexe criteria
|
RequestResponse |
AdminManagementClientMock.findAccessContractsByID(String documentId) |
RequestResponse<AccessContractModel> |
AdminManagementClient.findAccessContractsByID(String documentId) |
RequestResponse<ArchiveUnitProfileModel> |
AdminManagementClientMock.findArchiveUnitProfiles(com.fasterxml.jackson.databind.JsonNode query) |
RequestResponse<ArchiveUnitProfileModel> |
AdminManagementClient.findArchiveUnitProfiles(com.fasterxml.jackson.databind.JsonNode query)
Find profiles according to the given json query (we can also use this method to find profile by identifier)
|
RequestResponse<ArchiveUnitProfileModel> |
AdminManagementClientMock.findArchiveUnitProfilesByID(String requestedId) |
RequestResponse<ArchiveUnitProfileModel> |
AdminManagementClient.findArchiveUnitProfilesByID(String id)
Find archive unit profile by technical id (id generated by the database)
|
RequestResponse<ContextModel> |
AdminManagementClient.findContextById(String id)
Find context by id
|
RequestResponse<ContextModel> |
AdminManagementClient.findContexts(com.fasterxml.jackson.databind.JsonNode queryDsl)
Find contexts
|
RequestResponse |
AdminManagementClient.findGriffin(com.fasterxml.jackson.databind.JsonNode dslQuery) |
RequestResponse<GriffinModel> |
AdminManagementClientMock.findGriffinByID(String id) |
RequestResponse<GriffinModel> |
AdminManagementClient.findGriffinByID(String id) |
RequestResponse<IngestContractModel> |
AdminManagementClientMock.findIngestContracts(com.fasterxml.jackson.databind.JsonNode query) |
RequestResponse<IngestContractModel> |
AdminManagementClient.findIngestContracts(com.fasterxml.jackson.databind.JsonNode query) |
RequestResponse<IngestContractModel> |
AdminManagementClientMock.findIngestContractsByID(String id) |
RequestResponse<IngestContractModel> |
AdminManagementClient.findIngestContractsByID(String id) |
RequestResponse |
AdminManagementClientMock.findManagementContracts(com.fasterxml.jackson.databind.JsonNode queryDsl) |
RequestResponse<ManagementContractModel> |
AdminManagementClient.findManagementContracts(com.fasterxml.jackson.databind.JsonNode queryDsl)
Find management contracts
By id mongo
By the name
By comlexe criteria
|
RequestResponse |
AdminManagementClientMock.findManagementContractsByID(String documentId) |
RequestResponse<ManagementContractModel> |
AdminManagementClient.findManagementContractsByID(String documentId) |
RequestResponse<OntologyModel> |
AdminManagementClientMock.findOntologyByID(String requestedId) |
RequestResponse<OntologyModel> |
AdminManagementClient.findOntologyByID(String id)
Find the ontology by technical id (id generated by the database)
|
RequestResponse<PreservationScenarioModel> |
AdminManagementClientMock.findPreservation(com.fasterxml.jackson.databind.JsonNode dslQuery) |
RequestResponse<PreservationScenarioModel> |
AdminManagementClient.findPreservation(com.fasterxml.jackson.databind.JsonNode dslQuery) |
RequestResponse<PreservationScenarioModel> |
AdminManagementClientMock.findPreservationByID(String id) |
RequestResponse<PreservationScenarioModel> |
AdminManagementClient.findPreservationByID(String id) |
RequestResponse<ProfileModel> |
AdminManagementClientMock.findProfiles(com.fasterxml.jackson.databind.JsonNode query) |
RequestResponse<ProfileModel> |
AdminManagementClient.findProfiles(com.fasterxml.jackson.databind.JsonNode query)
Find profiles according to the given query string (we can also use this method to find profile by identifier)
|
RequestResponse<ProfileModel> |
AdminManagementClientMock.findProfilesByID(String id) |
RequestResponse<ProfileModel> |
AdminManagementClient.findProfilesByID(String id)
Find profile by id (id generated by the database)
|
RequestResponse<SecurityProfileModel> |
AdminManagementClient.findSecurityProfileByIdentifier(String identifier)
Find a security profile by identifier
|
RequestResponse<SecurityProfileModel> |
AdminManagementClient.findSecurityProfiles(com.fasterxml.jackson.databind.JsonNode queryDsl)
Find security profiles by DSL query
By internal id
By identifier
By name
By comlexe criteria
|
RequestResponse |
AdminManagementClient.forcePause(ProcessPause info)
Pause the processes specified by ProcessPause info
|
RequestResponse<List<AccessionRegisterSymbolicModel>> |
AdminManagementClientMock.getAccessionRegisterSymbolic(Integer tenant,
com.fasterxml.jackson.databind.JsonNode queryDsl) |
RequestResponse<List<AccessionRegisterSymbolicModel>> |
AdminManagementClient.getAccessionRegisterSymbolic(Integer tenant,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Retrieve the accession register symbolic regarding the tenant and a date range.
|
com.fasterxml.jackson.databind.JsonNode |
AdminManagementClient.getAgencies(com.fasterxml.jackson.databind.JsonNode query)
List the agencies that match the query
|
RequestResponse<AgenciesModel> |
AdminManagementClientMock.getAgencyById(String id) |
RequestResponse<AgenciesModel> |
AdminManagementClient.getAgencyById(String id) |
com.fasterxml.jackson.databind.JsonNode |
AdminManagementClient.getRuleByID(String id) |
com.fasterxml.jackson.databind.JsonNode |
AdminManagementClient.getRules(com.fasterxml.jackson.databind.JsonNode query)
List the rules that match the query
|
javax.ws.rs.core.Response.Status |
AdminManagementClientMock.importAccessContracts(List<AccessContractModel> accessContractModelList) |
javax.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
|
RequestResponse |
AdminManagementClientMock.importGriffins(List<GriffinModel> griffinModelList) |
RequestResponse |
AdminManagementClient.importGriffins(List<GriffinModel> griffinModelList) |
javax.ws.rs.core.Response.Status |
AdminManagementClient.importIngestContracts(List<IngestContractModel> ingestContractModelList)
Import a set of ingest 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 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 elready exist in the database
|
javax.ws.rs.core.Response.Status |
AdminManagementClientMock.importManagementContracts(List<ManagementContractModel> accessContractModelList) |
javax.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
|
RequestResponse |
AdminManagementClientMock.importOntologies(boolean forceUpdate,
List<OntologyModel> ontologyModelList) |
RequestResponse |
AdminManagementClient.importOntologies(boolean forceUpdate,
List<OntologyModel> ontologyModelList)
Import a set of ontologies metadata.
|
RequestResponse |
AdminManagementClientMock.importPreservationScenarios(List<PreservationScenarioModel> preservationScenarioModelList) |
RequestResponse |
AdminManagementClient.importPreservationScenarios(List<PreservationScenarioModel> preservationScenarioModels) |
javax.ws.rs.core.Response.Status |
AdminManagementClientMock.importSecurityProfiles(List<SecurityProfileModel> securityProfileModelList) |
javax.ws.rs.core.Response.Status |
AdminManagementClient.importSecurityProfiles(List<SecurityProfileModel> securityProfileModelList)
Import a set of security profiles after passing the validation steps.
|
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
AdminManagementClientMock.launchAuditWorkflow(AuditOptions options) |
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
AdminManagementClient.launchAuditWorkflow(AuditOptions options)
launch audit with options
|
RequestResponse<IndexationResult> |
AdminManagementClientMock.launchReindexation(com.fasterxml.jackson.databind.JsonNode options) |
RequestResponse<IndexationResult> |
AdminManagementClient.launchReindexation(com.fasterxml.jackson.databind.JsonNode options)
launch a reindexation process with options
|
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
AdminManagementClientMock.launchRuleAudit() |
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
AdminManagementClient.launchRuleAudit()
launch audit for rule management
|
RequestResponse<com.fasterxml.jackson.databind.JsonNode> |
AdminManagementClient.rectificationAudit(String operationId)
Launch rectification Audit
|
RequestResponse |
AdminManagementClient.removeForcePause(ProcessPause info)
Remove the pause for the processes specified by ProcessPause info
|
RequestResponse<Boolean> |
AdminManagementClientMock.securityProfileIsUsedInContexts(String securityProfileId) |
RequestResponse<Boolean> |
AdminManagementClient.securityProfileIsUsedInContexts(String securityProfileId)
Find if security profile is used in contexts
|
RequestResponse<IndexationResult> |
AdminManagementClientMock.switchIndexes(com.fasterxml.jackson.databind.JsonNode options) |
RequestResponse<IndexationResult> |
AdminManagementClient.switchIndexes(com.fasterxml.jackson.databind.JsonNode options)
launch an index switch.
|
RequestResponse<AccessContractModel> |
AdminManagementClientMock.updateAccessContract(String id,
com.fasterxml.jackson.databind.JsonNode queryDsl) |
RequestResponse<AccessContractModel> |
AdminManagementClient.updateAccessContract(String id,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update AccessContract to mongo
|
RequestResponse<ArchiveUnitProfileModel> |
AdminManagementClientMock.updateArchiveUnitProfile(String id,
com.fasterxml.jackson.databind.JsonNode queryDsl) |
RequestResponse<ArchiveUnitProfileModel> |
AdminManagementClient.updateArchiveUnitProfile(String id,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update a profile
|
RequestResponse<ContextModel> |
AdminManagementClient.updateContext(String id,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update context to mongo
|
RequestResponse<IngestContractModel> |
AdminManagementClientMock.updateIngestContract(String id,
com.fasterxml.jackson.databind.JsonNode queryDsl) |
RequestResponse<IngestContractModel> |
AdminManagementClient.updateIngestContract(String id,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update IngestContract to mongo
|
RequestResponse<ManagementContractModel> |
AdminManagementClientMock.updateManagementContract(String id,
com.fasterxml.jackson.databind.JsonNode queryDsl) |
RequestResponse<ManagementContractModel> |
AdminManagementClient.updateManagementContract(String id,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update ManagementContract to mongo
|
RequestResponse<ProfileModel> |
AdminManagementClientMock.updateProfile(String id,
com.fasterxml.jackson.databind.JsonNode queryDsl) |
RequestResponse<ProfileModel> |
AdminManagementClient.updateProfile(String id,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update a profile
|
RequestResponse<SecurityProfileModel> |
AdminManagementClientMock.updateSecurityProfile(String identifier,
com.fasterxml.jackson.databind.JsonNode queryDsl) |
RequestResponse |
AdminManagementClient.updateSecurityProfile(String identifier,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Updates a security context
|
Copyright © 2019 Vitam. All rights reserved.