public final class MetadataJsonResponseUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.fasterxml.jackson.databind.node.ArrayNode |
populateJSONObjectResponse(Result result,
Map<String,List<String>> diff)
create Json response with diff information
|
static com.fasterxml.jackson.databind.node.ArrayNode |
populateJSONObjectResponse(Result result,
RequestParserMultiple selectRequest)
create Json response
|
public static com.fasterxml.jackson.databind.node.ArrayNode populateJSONObjectResponse(Result result, RequestParserMultiple selectRequest) throws InvalidParseOperationException
result - contains final unit(s)/ObjectGroup(s) list selectRequest - the select request of type RequestParserMultipleInvalidParseOperationException - thrown when json query is not validpublic static com.fasterxml.jackson.databind.node.ArrayNode populateJSONObjectResponse(Result result, Map<String,List<String>> diff)
result - contains final unit(s)/ObjectGroup(s) list diff - the diff map list with the unit id as key and the diff list as valueCopyright © 2018 Vitam. All rights reserved.