@Path(value="/adminmanagement/v1") @ApplicationPath(value="webresources") public class ArchiveUnitProfileResource extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ARCHIVE_UNIT_PROFILE_URI |
| Constructor and Description |
|---|
ArchiveUnitProfileResource(MongoDbAccessAdminImpl mongoAccess,
VitamCounterService vitamCounterService,
FunctionalBackupService functionalBackupService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createProfiles(List<ArchiveUnitProfileModel> archiveUnitProfileModelList,
javax.ws.rs.core.UriInfo uri)
Import a set of DocumentTypes.
|
javax.ws.rs.core.Response |
findProfiles(com.fasterxml.jackson.databind.JsonNode queryDsl)
Find archive unit profiles by queryDsl
|
javax.ws.rs.core.Response |
updateProfileFile(String profileMetadataId,
com.fasterxml.jackson.databind.JsonNode queryDsl)
Update metadata of the archive unit profile
|
public static final String ARCHIVE_UNIT_PROFILE_URI
public ArchiveUnitProfileResource(MongoDbAccessAdminImpl mongoAccess, VitamCounterService vitamCounterService, FunctionalBackupService functionalBackupService)
configuration - mongoAccess - vitamCounterService - @Path(value="/archiveunitprofiles") @POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response createProfiles(List<ArchiveUnitProfileModel> archiveUnitProfileModelList, @Context javax.ws.rs.core.UriInfo uri)
archiveUnitProfileModelList - as InputStreamuri - the uri info@Path(value="/archiveunitprofiles/{id}")
@PUT
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response updateProfileFile(@PathParam(value="id")
String profileMetadataId,
com.fasterxml.jackson.databind.JsonNode queryDsl)
profileMetadataId - profile ID to updatequeryDsl - update query@GET @Path(value="/archiveunitprofiles") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response findProfiles(com.fasterxml.jackson.databind.JsonNode queryDsl)
queryDsl - Copyright © 2018 Vitam. All rights reserved.