Uses of Class
fr.gouv.vitam.common.model.administration.profile.ProfileModel
Package
Description
Provides
Contains generic VitamClient and associated basic implementation used as base for every specific client module.
Provides Functional administration client interface, factory and implementations.
-
Uses of ProfileModel in fr.gouv.vitam.access.external.client
Modifier and TypeMethodDescriptionAdminExternalClient.findProfileById
(VitamContext vitamContext, String profileId) Find a profile by its id.AdminExternalClientMock.findProfileById
(VitamContext vitamContext, String profileId) AdminExternalClientRest.findProfileById
(VitamContext vitamContext, String profileId) AdminExternalClient.findProfiles
(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode select) Find profiles.AdminExternalClientMock.findProfiles
(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode select) AdminExternalClientRest.findProfiles
(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode select) -
Uses of ProfileModel in fr.gouv.vitam.common.external.client
Modifier and TypeMethodDescriptionstatic RequestResponse<ProfileModel>
ClientMockResultHelper.getProbativeValue
(int statusCode) static RequestResponse<ProfileModel>
ClientMockResultHelper.getProfiles
(int statusCode) -
Uses of ProfileModel in fr.gouv.vitam.common.model.administration.profile
Modifier and TypeMethodDescriptionProfileModel.setActivationDate
(String activationDate) ProfileModel.setCreationDate
(String creationDate) ProfileModel.setDeactivationDate
(String deactivationDate) ProfileModel.setDescription
(String description) Set or change the profile descriptionProfileModel.setFormat
(ProfileFormat format) Set the profile file format (xsd, rng, ...)ProfileModel.setIdentifier
(String identifier) Set the identifier of the profile This value must be unique by tenantProfileModel.setLastUpdate
(String lastUpdate) Set or change the profile nameProfile path in storageProfileModel.setSedaVersion
(ProfileSedaVersion sedaVersion) Set the profile seda version (2.1, 2.2, 2.3, ...)ProfileModel.setStatus
(ProfileStatus status) Set or change the profile status -
Uses of ProfileModel in fr.gouv.vitam.functional.administration.client
Modifier and TypeMethodDescriptionAdminManagementClient.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)AdminManagementClientMock.findProfiles
(com.fasterxml.jackson.databind.JsonNode query) AdminManagementClient.findProfilesByID
(String id) Find profile by id (id generated by the database)AdminManagementClientMock.findProfilesByID
(String id) AdminManagementClient.importProfileFile
(String profileMetadataId, InputStream stream) AdminManagementClient.updateProfile
(String id, com.fasterxml.jackson.databind.JsonNode queryDsl) Update a profileAdminManagementClientMock.updateProfile
(String id, com.fasterxml.jackson.databind.JsonNode queryDsl) Modifier and TypeMethodDescriptionAdminManagementClient.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 databaseAdminManagementClientMock.createProfiles
(List<ProfileModel> profileModelList) -
Uses of ProfileModel in fr.gouv.vitam.functional.administration.core.profile
Modifier and TypeMethodDescriptionProfileService.findByIdentifier
(String identifier) Find profile by identifierProfileServiceImpl.findByIdentifier
(String identifier) Modifier and TypeMethodDescriptionProfileService.createProfiles
(List<CreateProfileModel> createProfileModels) Create a collections of profile After passing the validation steps.ProfileServiceImpl.createProfiles
(List<CreateProfileModel> createProfileModels) ProfileService.findProfiles
(com.fasterxml.jackson.databind.JsonNode queryDsl) find Profile by QueryDslProfileServiceImpl.findProfiles
(com.fasterxml.jackson.databind.JsonNode queryDsl) ProfileService.importProfileFile
(String profileIdentifier, InputStream profileFile) 1.ProfileServiceImpl.importProfileFile
(String profileIdentifier, InputStream profileFile) ProfileService.updateProfile
(ProfileModel profileModel, com.fasterxml.jackson.databind.JsonNode jsonDsl) Update profileProfileService.updateProfile
(String identifier, com.fasterxml.jackson.databind.JsonNode jsonDsl) Update profiles after passing validation steps : Field modified : - ActivationDate - DesactivationDate - LastUpdate - StatusProfileServiceImpl.updateProfile
(ProfileModel profileModel, com.fasterxml.jackson.databind.JsonNode jsonDsl) ProfileServiceImpl.updateProfile
(String identifier, com.fasterxml.jackson.databind.JsonNode jsonDsl) Modifier and TypeMethodDescriptionProfileService.updateProfile
(ProfileModel profileModel, com.fasterxml.jackson.databind.JsonNode jsonDsl) Update profileProfileServiceImpl.updateProfile
(ProfileModel profileModel, com.fasterxml.jackson.databind.JsonNode jsonDsl) ProfileValidator.validate
(ProfileModel profile) Validate a profile objectboolean
ProfileManager.validateProfile
(ProfileModel profile, VitamError error) boolean
ProfileManager.validateProfileFile
(ProfileModel profileModel, File file, VitamError error) Validate if the profile file is valide XSD => is file xsd is xml valide RNG => if file rng is xml valide, rng valide, check default values if already exists in vitam