Uses of Class
fr.gouv.vitam.common.model.administration.ProfileModel
-
Packages that use ProfileModel Package Description fr.gouv.vitam.access.external.client Providesfr.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.profile fr.gouv.vitam.functional.administration.rest Provides the web server application and configuration for the Functional administration module and the rest resource it uses -
-
Uses of ProfileModel in fr.gouv.vitam.access.external.client
Methods in fr.gouv.vitam.access.external.client that return types with arguments of type ProfileModel Modifier and Type Method Description RequestResponse<ProfileModel>AdminExternalClient. findProfileById(VitamContext vitamContext, java.lang.String profileId)Find a profile by its id.RequestResponse<ProfileModel>AdminExternalClientMock. findProfileById(VitamContext vitamContext, java.lang.String profileId)RequestResponse<ProfileModel>AdminExternalClientRest. findProfileById(VitamContext vitamContext, java.lang.String profileId)RequestResponse<ProfileModel>AdminExternalClient. findProfiles(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode select)Find profiles.RequestResponse<ProfileModel>AdminExternalClientMock. findProfiles(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode select)RequestResponse<ProfileModel>AdminExternalClientRest. findProfiles(VitamContext vitamContext, com.fasterxml.jackson.databind.JsonNode select) -
Uses of ProfileModel in fr.gouv.vitam.common.external.client
Methods in fr.gouv.vitam.common.external.client that return types with arguments of type ProfileModel Modifier and Type Method Description static RequestResponse<ProfileModel>ClientMockResultHelper. getProbativeValue(int statusCode)static RequestResponse<ProfileModel>ClientMockResultHelper. getProfiles(int statusCode) -
Uses of ProfileModel in fr.gouv.vitam.common.model.administration
Methods in fr.gouv.vitam.common.model.administration that return ProfileModel Modifier and Type Method Description ProfileModelProfileModel. setActivationdate(java.lang.String activationdate)ProfileModelProfileModel. setCreationdate(java.lang.String creationdate)ProfileModelProfileModel. setDeactivationdate(java.lang.String deactivationdate)ProfileModelProfileModel. setDescription(java.lang.String description)Set or change the profile descriptionProfileModelProfileModel. setFormat(ProfileFormat format)Set the profile file format (xsd, rng, ...)ProfileModelProfileModel. setId(java.lang.String id)ProfileModelProfileModel. setIdentifier(java.lang.String identifier)Set the identifier of the profile This value must be unique by tenantProfileModelProfileModel. setLastupdate(java.lang.String lastupdate)ProfileModelProfileModel. setName(java.lang.String name)Set or change the profile nameProfileModelProfileModel. setPath(java.lang.String path)Profile path in storageProfileModelProfileModel. setStatus(ProfileStatus status)Set or change the profile statusProfileModelProfileModel. setTenant(java.lang.Integer tenant) -
Uses of ProfileModel in fr.gouv.vitam.functional.administration.client
Methods in fr.gouv.vitam.functional.administration.client that return types with arguments of type ProfileModel Modifier and Type Method Description 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. findProfiles(com.fasterxml.jackson.databind.JsonNode query)RequestResponse<ProfileModel>AdminManagementClient. findProfilesByID(java.lang.String id)Find profile by id (id generated by the database)RequestResponse<ProfileModel>AdminManagementClientMock. findProfilesByID(java.lang.String id)RequestResponse<ProfileModel>AdminManagementClient. importProfileFile(java.lang.String profileMetadataId, java.io.InputStream stream)RequestResponse<ProfileModel>AdminManagementClient. updateProfile(java.lang.String id, com.fasterxml.jackson.databind.JsonNode queryDsl)Update a profileRequestResponse<ProfileModel>AdminManagementClientMock. updateProfile(java.lang.String id, com.fasterxml.jackson.databind.JsonNode queryDsl)Method parameters in fr.gouv.vitam.functional.administration.client with type arguments of type ProfileModel Modifier and Type Method Description RequestResponseAdminManagementClient. createProfiles(java.util.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 databaseRequestResponseAdminManagementClientMock. createProfiles(java.util.List<ProfileModel> profileModelList) -
Uses of ProfileModel in fr.gouv.vitam.functional.administration.core.profile
Methods in fr.gouv.vitam.functional.administration.core.profile that return ProfileModel Modifier and Type Method Description ProfileModelProfileService. findByIdentifier(java.lang.String identifier)Find profile by identifierProfileModelProfileServiceImpl. findByIdentifier(java.lang.String identifier)Methods in fr.gouv.vitam.functional.administration.core.profile that return types with arguments of type ProfileModel Modifier and Type Method Description RequestResponse<ProfileModel>ProfileService. createProfiles(java.util.List<ProfileModel> profileModelList)Create a collections of profile After passing the validation steps.RequestResponse<ProfileModel>ProfileServiceImpl. createProfiles(java.util.List<ProfileModel> profileModelList)RequestResponseOK<ProfileModel>ProfileService. findProfiles(com.fasterxml.jackson.databind.JsonNode queryDsl)find Profile by QueryDslRequestResponseOK<ProfileModel>ProfileServiceImpl. findProfiles(com.fasterxml.jackson.databind.JsonNode queryDsl)RequestResponse<ProfileModel>ProfileService. importProfileFile(java.lang.String profileIdentifier, java.io.InputStream profileFile)1.RequestResponse<ProfileModel>ProfileServiceImpl. importProfileFile(java.lang.String profileIdentifier, java.io.InputStream profileFile)RequestResponse<ProfileModel>ProfileService. updateProfile(ProfileModel profileModel, com.fasterxml.jackson.databind.JsonNode jsonDsl)Update profileRequestResponse<ProfileModel>ProfileService. updateProfile(java.lang.String identifier, com.fasterxml.jackson.databind.JsonNode jsonDsl)Update profiles after passing validation steps : Field modified : - ActivationDate - DesactivationDate - LastUpdate - StatusRequestResponse<ProfileModel>ProfileServiceImpl. updateProfile(ProfileModel profileModel, com.fasterxml.jackson.databind.JsonNode jsonDsl)RequestResponse<ProfileModel>ProfileServiceImpl. updateProfile(java.lang.String identifier, com.fasterxml.jackson.databind.JsonNode jsonDsl)Methods in fr.gouv.vitam.functional.administration.core.profile with parameters of type ProfileModel Modifier and Type Method Description RequestResponse<ProfileModel>ProfileService. updateProfile(ProfileModel profileModel, com.fasterxml.jackson.databind.JsonNode jsonDsl)Update profileRequestResponse<ProfileModel>ProfileServiceImpl. updateProfile(ProfileModel profileModel, com.fasterxml.jackson.databind.JsonNode jsonDsl)java.util.Optional<ProfileValidator.RejectionCause>ProfileValidator. validate(ProfileModel profile)Validate a profile objectbooleanProfileManager. validateProfile(ProfileModel profile, VitamError error)booleanProfileManager. validateProfileFile(ProfileModel profileModel, java.io.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 vitamMethod parameters in fr.gouv.vitam.functional.administration.core.profile with type arguments of type ProfileModel Modifier and Type Method Description RequestResponse<ProfileModel>ProfileService. createProfiles(java.util.List<ProfileModel> profileModelList)Create a collections of profile After passing the validation steps.RequestResponse<ProfileModel>ProfileServiceImpl. createProfiles(java.util.List<ProfileModel> profileModelList) -
Uses of ProfileModel in fr.gouv.vitam.functional.administration.rest
Method parameters in fr.gouv.vitam.functional.administration.rest with type arguments of type ProfileModel Modifier and Type Method Description javax.ws.rs.core.ResponseProfileResource. createProfiles(java.util.List<ProfileModel> profileModelList, javax.ws.rs.core.UriInfo uri)Import a set of profiles.
-