Package | Description |
---|---|
org.hippoecm.hst.content.beans.query.builder |
Modifier and Type | Class and Description |
---|---|
class |
FieldConstraint |
Modifier and Type | Method and Description |
---|---|
static Constraint |
ConstraintBuilder.and(Constraint... constraints) |
Constraint |
FieldConstraintBuilder.between(Calendar start,
Calendar end,
DateTools.Resolution dateResolution) |
abstract Constraint |
ConstraintBuilder.between(Calendar start,
Calendar end,
DateTools.Resolution dateResolution)
Adds a FAST DATE RANGE constraint that the Calendar value for
fieldAttributeName is between start and end (boundaries included) BASED ON the
granularity resolution . |
Constraint |
FieldConstraintBuilder.between(Object value1,
Object value2) |
abstract Constraint |
ConstraintBuilder.between(Object value1,
Object value2)
Adds a constraint that the value
fieldAttributeName is between value1 and value2 (boundaries included). |
Constraint |
FieldConstraintBuilder.contains(String value) |
abstract Constraint |
ConstraintBuilder.contains(String fullTextSearch)
Adds a fulltext search to this Filter.
|
Constraint |
FieldConstraintBuilder.equalTo(Calendar value,
DateTools.Resolution dateResolution) |
abstract Constraint |
ConstraintBuilder.equalTo(Calendar value,
DateTools.Resolution dateResolution)
Adds a constraint that the Calendar value for
fieldAttributeName rounded to its resolution is equal to the
rounded value for calendar . |
Constraint |
FieldConstraintBuilder.equalTo(Object value) |
abstract Constraint |
ConstraintBuilder.equalTo(Object value)
Adds a constraint that the value
fieldAttributeName is equal to value |
Constraint |
FieldConstraintBuilder.equalToCaseInsensitive(String value) |
abstract Constraint |
ConstraintBuilder.equalToCaseInsensitive(String value)
Case insensitive testing of
fieldAttributeName for some value . |
Constraint |
FieldConstraintBuilder.exists() |
abstract Constraint |
ConstraintBuilder.exists()
Add a constraint that the result does have the property
fieldAttributeName , regardless its value |
Constraint |
FieldConstraintBuilder.greaterOrEqualThan(Calendar value,
DateTools.Resolution dateResolution) |
abstract Constraint |
ConstraintBuilder.greaterOrEqualThan(Calendar value,
DateTools.Resolution dateResolution)
note: supported resolutions are
DateTools.Resolution.YEAR ,
DateTools.Resolution.MONTH ,
DateTools.Resolution.DAY or
DateTools.Resolution.HOUR |
Constraint |
FieldConstraintBuilder.greaterOrEqualThan(Object value) |
abstract Constraint |
ConstraintBuilder.greaterOrEqualThan(Object value)
Adds a constraint that the value
fieldAttributeName is greater than or equal to value |
Constraint |
FieldConstraintBuilder.greaterThan(Calendar value,
DateTools.Resolution dateResolution) |
abstract Constraint |
ConstraintBuilder.greaterThan(Calendar value,
DateTools.Resolution dateResolution)
note: supported resolutions are
DateTools.Resolution.YEAR ,
DateTools.Resolution.MONTH ,
DateTools.Resolution.DAY or
DateTools.Resolution.HOUR |
Constraint |
FieldConstraintBuilder.greaterThan(Object value) |
abstract Constraint |
ConstraintBuilder.greaterThan(Object value)
Adds a constraint that the value
fieldAttributeName is greater than value |
Constraint |
FieldConstraintBuilder.jcrExpression(String value) |
abstract Constraint |
ConstraintBuilder.jcrExpression(String jcrExpression)
Adds the xpath
jcrExpression as constraint. |
Constraint |
FieldConstraintBuilder.lessOrEqualThan(Calendar value,
DateTools.Resolution dateResolution) |
abstract Constraint |
ConstraintBuilder.lessOrEqualThan(Calendar value,
DateTools.Resolution dateResolution)
note: supported resolutions are
DateTools.Resolution.YEAR ,
DateTools.Resolution.MONTH ,
DateTools.Resolution.DAY or
DateTools.Resolution.HOUR |
Constraint |
FieldConstraintBuilder.lessOrEqualThan(Object value) |
abstract Constraint |
ConstraintBuilder.lessOrEqualThan(Object value)
Adds a constraint that the value
fieldAttributeName is less than or equal to value |
Constraint |
FieldConstraintBuilder.lessThan(Calendar value,
DateTools.Resolution dateResolution) |
abstract Constraint |
ConstraintBuilder.lessThan(Calendar value,
DateTools.Resolution dateResolution)
note: supported resolutions are
DateTools.Resolution.YEAR ,
DateTools.Resolution.MONTH ,
DateTools.Resolution.DAY or
DateTools.Resolution.HOUR |
Constraint |
FieldConstraintBuilder.lessThan(Object value) |
abstract Constraint |
ConstraintBuilder.lessThan(Object value)
Adds a constraint that the value
fieldAttributeName is less than value |
Constraint |
FieldConstraintBuilder.like(String value) |
abstract Constraint |
ConstraintBuilder.like(String value)
This function is based on the LIKE predicate found in SQL.
|
Constraint |
Constraint.negate()
Negates the current Constraint
|
Constraint |
FieldConstraintBuilder.notBetween(Calendar start,
Calendar end,
DateTools.Resolution dateResolution) |
abstract Constraint |
ConstraintBuilder.notBetween(Calendar start,
Calendar end,
DateTools.Resolution dateResolution)
note: supported resolutions are
DateTools.Resolution.YEAR ,
DateTools.Resolution.MONTH ,
DateTools.Resolution.DAY or
DateTools.Resolution.HOUR |
Constraint |
FieldConstraintBuilder.notBetween(Object value1,
Object value2) |
abstract Constraint |
ConstraintBuilder.notBetween(Object value1,
Object value2)
Adds a constraint that the value
fieldAttributeName is NOT between value1 and value2 ,
including NOT value1 and value2 |
Constraint |
FieldConstraintBuilder.notContains(String value) |
abstract Constraint |
ConstraintBuilder.notContains(String fullTextSearch)
The negated version of
ConstraintBuilder.contains(String) |
Constraint |
FieldConstraintBuilder.notEqualTo(Calendar value,
DateTools.Resolution dateResolution) |
abstract Constraint |
ConstraintBuilder.notEqualTo(Calendar value,
DateTools.Resolution dateResolution)
Case insensitive testing of
fieldAttributeName for some value . |
Constraint |
FieldConstraintBuilder.notEqualTo(Object value) |
abstract Constraint |
ConstraintBuilder.notEqualTo(Object value)
Adds a constraint that the value
fieldAttributeName is NOT equal to value |
Constraint |
FieldConstraintBuilder.notEqualToCaseInsensitive(String value) |
abstract Constraint |
ConstraintBuilder.notEqualToCaseInsensitive(String value)
note: supported resolutions are
DateTools.Resolution.YEAR ,
DateTools.Resolution.MONTH ,
DateTools.Resolution.DAY or
DateTools.Resolution.HOUR |
Constraint |
FieldConstraintBuilder.notExists() |
abstract Constraint |
ConstraintBuilder.notExists()
Add a constraint that the result does NOT have the property
fieldAttributeName |
Constraint |
FieldConstraintBuilder.notLike(String value) |
abstract Constraint |
ConstraintBuilder.notLike(String value) |
static Constraint |
ConstraintBuilder.or(Constraint... constraints) |
protected Constraint |
HstQueryBuilder.where() |
Modifier and Type | Method and Description |
---|---|
static Constraint |
ConstraintBuilder.and(Constraint... constraints) |
static Constraint |
ConstraintBuilder.or(Constraint... constraints) |
HstQueryBuilder |
HstQueryBuilder.where(Constraint constraint) |
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.