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
ConstructorsConstructorDescriptionResultSetConstraint(Map<String, List<String>> parameters) Deprecated.ResultSetConstraint(Map<String, List<String>> queryString, int defaultLimit) Deprecated.useResultSetConstraintBuilderinsteadResultSetConstraint(Map<String, List<String>> queryString, List<String> defaultOrder, int defaultLimit) Deprecated.useResultSetConstraintBuilderinstead -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Retrieve theWQUriControlField.EXPANDparameter as a Set (or "all" if none is defined)getFetch()Deprecated.Retrieve theWQUriControlField.FETCHparameter (or "entity" if none is defined)intgetLimit()Deprecated.intDeprecated.Deprecated.Get all parameters except those with a name inWQUriControlField
The returned map should not be modified.Deprecated.booleanDeprecated.toQuery()Deprecated.Convert this query to aWebQueryusing the legacy web query semantics
-
Constructor Details
-
ResultSetConstraint
Deprecated. -
ResultSetConstraint
Deprecated.useResultSetConstraintBuilderinstead- Parameters:
queryString-defaultLimit-
-
ResultSetConstraint
@Deprecated public ResultSetConstraint(Map<String, List<String>> queryString, List<String> defaultOrder, int defaultLimit) Deprecated.useResultSetConstraintBuilderinsteadNote, regular consumers should useResultSetConstraintBuilderinstead- 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.EXPANDparameter as a Set (or "all" if none is defined)- Returns:
-
getFetch
Deprecated.Retrieve theWQUriControlField.FETCHparameter (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 aWebQueryusing the legacy web query semantics- Returns:
-
WebQueryinstead