public class RequestParserHelperSingle extends Object
Modifier and Type | Method and Description |
---|---|
static RequestParserSingle |
getParser(com.fasterxml.jackson.databind.JsonNode jsonRequest)
Create one Parser for Internal API according to:
InsertParser if { $query : query, $filter : filter, $data : data} UpdateParser if { $query : query, $filter : filter, $action : action } SelectParser if { $query : query, $filter : filter, $projection : projection } DeleteParser if { $query : query, $filter : multi } |
static RequestParserSingle |
getParser(com.fasterxml.jackson.databind.JsonNode jsonRequest,
VarNameAdapter varNameAdapter)
Create one Parser for Masterdata according to:
InsertParser if { $query : query, $filter : filter, $data : data} UpdateParser if { $query : query, $filter : filter, $action : action } SelectParser if { $query : query, $filter : filter, $projection : projection } DeleteParser if { $query : query, $filter : multi } |
public static RequestParserSingle getParser(com.fasterxml.jackson.databind.JsonNode jsonRequest) throws InvalidParseOperationException
jsonRequest
- the request to parseInvalidParseOperationException
- if jsonRequest could not parse to JSONpublic static RequestParserSingle getParser(com.fasterxml.jackson.databind.JsonNode jsonRequest, VarNameAdapter varNameAdapter) throws InvalidParseOperationException
jsonRequest
- the request to parsevarNameAdapter
- the VarNameAdapter to use with the created ParserInvalidParseOperationException
- if jsonRequest could not parse to JSONCopyright © 2018 Vitam. All rights reserved.