Package | Description |
---|---|
fr.gouv.vitam.access.external.client |
Provides
|
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.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.profile.api | |
fr.gouv.vitam.functional.administration.profile.api.impl | |
fr.gouv.vitam.functional.administration.profile.core | |
fr.gouv.vitam.functional.administration.rest |
Provides the web server application and configuration for the Functional administration module and the rest resource it uses
|
Modifier and Type | Method and Description |
---|---|
RequestResponse<ProfileModel> |
AdminExternalClientRest.findProfileById(VitamContext vitamContext,
String profileId) |
RequestResponse<ProfileModel> |
AdminExternalClientMock.findProfileById(VitamContext vitamContext,
String profileId) |
RequestResponse<ProfileModel> |
AdminExternalClient.findProfileById(VitamContext vitamContext,
String profileId)
Find a profile by its id.
|
RequestResponse<ProfileModel> |
AdminExternalClientRest.findProfiles(VitamContext vitamContext,
com.fasterxml.jackson.databind.JsonNode select) |
RequestResponse<ProfileModel> |
AdminExternalClientMock.findProfiles(VitamContext vitamContext,
com.fasterxml.jackson.databind.JsonNode select) |
RequestResponse<ProfileModel> |
AdminExternalClient.findProfiles(VitamContext vitamContext,
com.fasterxml.jackson.databind.JsonNode select)
Find profiles.
|
Modifier and Type | Method and Description |
---|---|
static RequestResponse<ProfileModel> |
ClientMockResultHelper.getObjectGroupEvidenceAudit(int statusCode) |
static RequestResponse<ProfileModel> |
ClientMockResultHelper.getProfiles(int statusCode) |
static RequestResponse<ProfileModel> |
ClientMockResultHelper.getUnitEvidenceAudit(int statusCode) |
Modifier and Type | Method and Description |
---|---|
ProfileModel |
ProfileModel.setActivationdate(String activationdate) |
ProfileModel |
ProfileModel.setCreationdate(String creationdate) |
ProfileModel |
ProfileModel.setDeactivationdate(String deactivationdate) |
ProfileModel |
ProfileModel.setDescription(String description)
Set or change the profile description
|
ProfileModel |
ProfileModel.setFormat(ProfileFormat format)
Set the profile file format (xsd, rng, ...)
|
ProfileModel |
ProfileModel.setId(String id) |
ProfileModel |
ProfileModel.setIdentifier(String identifier)
Set the identifier of the profile This value must be unique by tenant
|
ProfileModel |
ProfileModel.setLastupdate(String lastupdate) |
ProfileModel |
ProfileModel.setName(String name)
Set or change the profile name
|
ProfileModel |
ProfileModel.setPath(String path)
Profile path in storage
|
ProfileModel |
ProfileModel.setStatus(ProfileStatus status)
Set or change the profile status
|
ProfileModel |
ProfileModel.setTenant(Integer tenant) |
Modifier and Type | Method and 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> |
AdminManagementClient.findProfilesByID(String id)
Find profile by id (id generated by the database)
|
RequestResponse<ProfileModel> |
AdminManagementClient.updateProfile(String id,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update a profile
|
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
ProfileModel |
ProfileService.findByIdentifier(String identifier)
Find profile by identifier
|
Modifier and Type | Method and Description |
---|---|
RequestResponse<ProfileModel> |
ProfileService.createProfiles(List<ProfileModel> profileModelList)
Create a collections of profile After passing the validation steps.
|
RequestResponseOK<ProfileModel> |
ProfileService.findProfiles(com.fasterxml.jackson.databind.JsonNode queryDsl)
find Profile by QueryDsl
|
RequestResponse<ProfileModel> |
ProfileService.updateProfile(ProfileModel profileModel,
com.fasterxml.jackson.databind.JsonNode jsonDsl)
Update profile
|
RequestResponse<ProfileModel> |
ProfileService.updateProfile(String identifier,
com.fasterxml.jackson.databind.JsonNode jsonDsl)
Update profiles after passing validation steps :
Field modified :
- ActivationDate
- DesactivationDate
- LastUpdate
- Status
|
Modifier and Type | Method and Description |
---|---|
RequestResponse<ProfileModel> |
ProfileService.updateProfile(ProfileModel profileModel,
com.fasterxml.jackson.databind.JsonNode jsonDsl)
Update profile
|
Modifier and Type | Method and Description |
---|---|
RequestResponse<ProfileModel> |
ProfileService.createProfiles(List<ProfileModel> profileModelList)
Create a collections of profile After passing the validation steps.
|
Modifier and Type | Method and Description |
---|---|
ProfileModel |
ProfileServiceImpl.findByIdentifier(String identifier) |
Modifier and Type | Method and Description |
---|---|
RequestResponse<ProfileModel> |
ProfileServiceImpl.createProfiles(List<ProfileModel> profileModelList) |
RequestResponseOK<ProfileModel> |
ProfileServiceImpl.findProfiles(com.fasterxml.jackson.databind.JsonNode queryDsl) |
RequestResponse<ProfileModel> |
ProfileServiceImpl.updateProfile(ProfileModel profileModel,
com.fasterxml.jackson.databind.JsonNode jsonDsl) |
RequestResponse<ProfileModel> |
ProfileServiceImpl.updateProfile(String identifier,
com.fasterxml.jackson.databind.JsonNode jsonDsl) |
Modifier and Type | Method and Description |
---|---|
RequestResponse<ProfileModel> |
ProfileServiceImpl.updateProfile(ProfileModel profileModel,
com.fasterxml.jackson.databind.JsonNode jsonDsl) |
Modifier and Type | Method and Description |
---|---|
RequestResponse<ProfileModel> |
ProfileServiceImpl.createProfiles(List<ProfileModel> profileModelList) |
Modifier and Type | Method and Description |
---|---|
Optional<ProfileValidator.RejectionCause> |
ProfileValidator.validate(ProfileModel profile)
Validate a profile object
|
boolean |
ProfileManager.validateProfile(ProfileModel profile,
VitamError error) |
boolean |
ProfileManager.validateProfileFile(ProfileModel profileModel,
byte[] byteArray,
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
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
ProfileResource.createProfiles(List<ProfileModel> profileModelList,
javax.ws.rs.core.UriInfo uri)
Import a set of profiles.
|
Copyright © 2018 Vitam. All rights reserved.