Class ResultSetConstraint
java.lang.Object
com.peterphi.std.guice.hibernate.webquery.ResultSetConstraint
Deprecated.
Represents a web query constraint that ANDs together constraints, but ORs together constraints for the same field
This is a direct representation of the limited Query String Query API format
This is a direct representation of the limited Query String Query API format
-
Constructor Summary
ConstructorDescriptionResultSetConstraint
(Map<String, List<String>> parameters) Deprecated.ResultSetConstraint
(Map<String, List<String>> queryString, int defaultLimit) Deprecated.useResultSetConstraintBuilder
insteadResultSetConstraint
(Map<String, List<String>> queryString, List<String> defaultOrder, int defaultLimit) Deprecated.useResultSetConstraintBuilder
instead -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Retrieve theWQUriControlField.EXPAND
parameter as a Set (or "all" if none is defined)getFetch()
Deprecated.Retrieve theWQUriControlField.FETCH
parameter (or "entity" if none is defined)int
getLimit()
Deprecated.int
Deprecated.Deprecated.Get all parameters except those with a name inWQUriControlField
The returned map should not be modified.Deprecated.boolean
Deprecated.toQuery()
Deprecated.Convert this query to aWebQuery
using the legacy web query semantics
-
Constructor Details
-
ResultSetConstraint
Deprecated. -
ResultSetConstraint
Deprecated.useResultSetConstraintBuilder
instead- Parameters:
queryString
-defaultLimit
-
-
ResultSetConstraint
@Deprecated public ResultSetConstraint(Map<String, List<String>> queryString, List<String> defaultOrder, int defaultLimit) Deprecated.useResultSetConstraintBuilder
insteadNote, regular consumers should useResultSetConstraintBuilder
instead- Parameters:
queryString
-defaultOrder
-defaultLimit
-
-
-
Method Details
-
getOffset
public int getOffset()Deprecated. -
getLimit
public int getLimit()Deprecated. -
isComputeSize
public boolean isComputeSize()Deprecated. -
getExpand
Deprecated.Retrieve theWQUriControlField.EXPAND
parameter as a Set (or "all" if none is defined)- Returns:
-
getFetch
Deprecated.Retrieve theWQUriControlField.FETCH
parameter (or "entity" if none is defined)- Returns:
-
getParameters
Deprecated. -
getOtherParameters
Deprecated.Get all parameters except those with a name inWQUriControlField
The returned map should not be modified.- Returns:
-
toQuery
Deprecated.Convert this query to aWebQuery
using the legacy web query semantics- Returns:
-
WebQuery
instead