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