public interface ArchiveUnitProfileService extends VitamAutoCloseable
Modifier and Type | Method and Description |
---|---|
RequestResponse<ArchiveUnitProfileModel> |
createArchiveUnitProfiles(List<ArchiveUnitProfileModel> profileModelList)
Create a collections of profile After passing the validation steps.
|
RequestResponseOK<ArchiveUnitProfileModel> |
findArchiveUnitProfiles(com.fasterxml.jackson.databind.JsonNode queryDsl)
find archive unit profiles by QueryDsl
|
RequestResponse |
updateArchiveUnitProfile(String id,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update an archive unit profile after passing validation steps :
Field modified :
- ActivationDate
- DesactivationDate
- LastUpdate
- Status
|
close
RequestResponse<ArchiveUnitProfileModel> createArchiveUnitProfiles(List<ArchiveUnitProfileModel> profileModelList) throws VitamException
profileModelList
- the list of profiles to be createdVitamException
- if in error occurs while validating contractsRequestResponseOK<ArchiveUnitProfileModel> findArchiveUnitProfiles(com.fasterxml.jackson.databind.JsonNode queryDsl) throws ReferentialException, InvalidParseOperationException
queryDsl
- the query as a json to be executedReferentialException
- thrown if the query could not be executedInvalidParseOperationException
- thrown if the query could not be executedRequestResponse updateArchiveUnitProfile(String id, com.fasterxml.jackson.databind.JsonNode queryDsl) throws VitamException
id
- identifier of the archive unit profile to updatejsonDsl
- the given dsl for updateVitamException
- if in error occurs while validating contractsCopyright © 2018 Vitam. All rights reserved.