Uses of Class
com.peterphi.std.guice.restclient.jaxb.webquery.WebQuery
Packages that use WebQuery
Package
Description
-
Uses of WebQuery in com.peterphi.std.guice.database.dao
Methods in com.peterphi.std.guice.database.dao with parameters of type WebQueryModifier and TypeMethodDescriptionlong
Return the total number of results for a given query (ignoring offset/limit values)
The value returned is the same as thetotal
field returned by settingquery.computeSize(true)
Execute a query, returning entitiesDao.find
(WebQuery constraints, JPASearchStrategy strategy) Execute a query, using the named strategy (defaults to AUTO if null)<RT> ConstrainedResultSet<RT>
Dao.find
(WebQuery constraints, JPASearchStrategy strategy, Function<?, RT> serialiser) Execute a query, using the named strategy (defaults to AUTO if null) and optionally serialising the resulting rows using the provided serialiserDao.findByUriQuery
(WebQuery constraints) Execute a Dynamic query using the specified constraints, returning the result as a ConstrainedResultSet of this entity typeExecute a query, using the ID strategyDao.findIdsByUriQuery
(WebQuery query) Given a query, return the IDs of the matching entities, returning the result as a ConstrainedResultSet of this entity's id type -
Uses of WebQuery in com.peterphi.std.guice.hibernate.dao
Methods in com.peterphi.std.guice.hibernate.dao with parameters of type WebQueryModifier and TypeMethodDescriptionlong
HibernateDao.find
(WebQuery query, JPASearchStrategy strategy) <RT> ConstrainedResultSet<RT>
HibernateDao.find
(WebQuery query, JPASearchStrategy strategy, Function<?, RT> serialiser) HibernateDao.findByUriQuery
(WebQuery query) HibernateDao.findIdsByUriQuery
(WebQuery query) Get a list of IDs matching a WebQueryprotected T
HibernateDao.uniqueResult
(WebQuery query) -
Uses of WebQuery in com.peterphi.std.guice.hibernate.webquery
Fields in com.peterphi.std.guice.hibernate.webquery declared as WebQueryMethods in com.peterphi.std.guice.hibernate.webquery that return WebQueryModifier and TypeMethodDescriptionResultSetConstraintBuilder.buildQuery()
Deprecated.Construct a WebQueryDefinition from this, applying the web query semanticsConstrainedResultSet.getQuery()
ResultSetConstraint.toQuery()
Deprecated.Convert this query to aWebQuery
using the legacy web query semanticsConstructors in com.peterphi.std.guice.hibernate.webquery with parameters of type WebQuery -
Uses of WebQuery in com.peterphi.std.guice.hibernate.webquery.impl.jpa
Methods in com.peterphi.std.guice.hibernate.webquery.impl.jpa with parameters of type WebQueryModifier and TypeMethodDescription<T> ConstrainedResultSet<T>
JPASearchExecutor.find
(QEntity entity, WebQuery query, JPASearchStrategy strategy, Function<?, ?> serialiser) Execute a search, returning a ConstrainedResultSet populated with the desired data (ID or Entity) with each piece of data optionally serialised using the supplied serialiservoid
void
JPAQueryBuilder.forWebQuery
(WebQuery query) -
Uses of WebQuery in com.peterphi.std.guice.restclient.jaxb.webquery
Methods in com.peterphi.std.guice.restclient.jaxb.webquery that return WebQueryModifier and TypeMethodDescriptionWebQuery.add
(WQConstraintLine line) WebQuery.computeSize
(boolean computeSize) Overwrite any fields in this WebQuery using the query defined in the provided mapWebQuery.decode
(javax.ws.rs.core.UriInfo qs) Overwrite any fields in this WebQuery using the query defined in the Query String of the provided UriInfoWebQuery.decode
(javax.ws.rs.core.UriInfo qs, WebQueryDecodePlugin parserPlugin) WebQuery.limit
(int limit) WebQuery.logPerformance
(boolean enabled) WebQuery.logSQL
(boolean enabled) WebQuery.offset
(int offset) static WebQuery
static WebQuery
Methods in com.peterphi.std.guice.restclient.jaxb.webquery with parameters of type WebQuery -
Uses of WebQuery in com.peterphi.std.guice.restclient.jaxb.webquery.plugin
Methods in com.peterphi.std.guice.restclient.jaxb.webquery.plugin with parameters of type WebQueryModifier and TypeMethodDescriptionvoid
Called to request that the plugin add the appropriate constraints toquery
void
void
Method parameters in com.peterphi.std.guice.restclient.jaxb.webquery.plugin with type arguments of type WebQueryModifier and TypeMethodDescriptionWebQueryPresetPlugin.withOption
(String value, Consumer<WebQuery> handler)