Class WebQueryEnumOrdinalPlugin
java.lang.Object
com.peterphi.std.guice.restclient.jaxb.webquery.plugin.WebQueryEnumOrdinalPlugin
- All Implemented Interfaces:
WebQueryDecodePlugin
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.peterphi.std.guice.restclient.jaxb.webquery.plugin.WebQueryDecodePlugin
WebQueryDecodePlugin.Builder
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.peterphi.std.guice.restclient.jaxb.webquery.plugin.WebQueryDecodePlugin
handles
-
Constructor Details
-
WebQueryEnumOrdinalPlugin
-
-
Method Details
-
handles
Description copied from interface:WebQueryDecodePlugin
Called before the native WebQuery.decode handles the provided key. If this method returns true the plugin is responsible for decoding/processing the key. Simple convenience method so implementors do not need to implementWebQueryDecodePlugin.handles(String, List)
- Specified by:
handles
in interfaceWebQueryDecodePlugin
- Parameters:
key
- the query string key- Returns:
- true if this plugin should handle the named key
-
process
Description copied from interface:WebQueryDecodePlugin
Called to request that the plugin add the appropriate constraints toquery
- Specified by:
process
in interfaceWebQueryDecodePlugin
- Parameters:
query
- the WebQuery being constructedkey
- the key (which this object has previously indicated that itWebQueryDecodePlugin.handles(String)
)values
- the values provided at the query string
-