public WebQuery buildQuery ( ) { Map < String , List < String > > map = new HashMap <> ( constraints ) ; applyDefault ( WQUriControlField . FETCH , map , defaultFetch ) ; applyDefault ( WQUriControlField . EXPAND , map , defaultExpand ) ; applyDefault ( WQUriControlField . ORDER , map , defaultOrder ) ; applyDefault ( WQUriControlField . OFFSET , map , "0" ) ; applyDefault ( WQUriControlField . LIMIT , map , Integer . toString ( defaultLimit ) ) ; return new WebQuery ( ) . decode ( map ) ; }
Construct a WebQueryDefinition from this applying the web query semantics