public class ConfluenceFilterDelegate extends SimpleFilterDelegate<String>
SimpleFilterDelegate.ComparisonPropertyOperation, SimpleFilterDelegate.FunctionOperation, SimpleFilterDelegate.LogicalPropertyOperation, SimpleFilterDelegate.SpatialPropertyOperation, SimpleFilterDelegate.TemporalPropertyOperation, SimpleFilterDelegate.XPathPropertyOperation
Modifier and Type | Field and Description |
---|---|
static Map<String,ConfluenceQueryParameter> |
QUERY_PARAMETERS |
ESCAPE_CHAR, SINGLE_CHAR, WILDCARD_CHAR
Constructor and Description |
---|
ConfluenceFilterDelegate() |
Modifier and Type | Method and Description |
---|---|
String |
after(String propertyName,
Date date)
Compares the value associated with a property is after a given
Date . |
String |
and(List<String> operands)
Logical "and" operation on a list of operands.
|
String |
before(String propertyName,
Date date)
Compares the value associated with a property is before a given
Date .This is an
exclusive comparison. |
<S> String |
defaultOperation(Object property,
S literal,
Class<S> literalClass,
Enum operation) |
String |
during(String propertyName,
Date startDate,
Date endDate)
Compares the value associated with a property is between a start and end date.
|
boolean |
isConfluenceQuery() |
boolean |
isWildCardQuery() |
String |
not(String operand)
Logical "not" operation on an operand.
|
String |
or(List<String> operands)
Logical "or" operation on a list of operands.
|
String |
propertyIsEqualTo(String propertyName,
String literal,
boolean isCaseSensitive)
|
String |
propertyIsLike(String propertyName,
String literal,
boolean isCaseSensitive)
Compares the value associated with a property to a regular expression pattern.
|
begins, beyond, comparisonOperation, contains, crosses, disjoint, dwithin, exclude, include, intersects, logicalOperation, nearestNeighbor, overlaps, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsBetween, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsEqualTo, propertyIsFuzzy, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThan, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsGreaterThanOrEqualTo, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThan, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsLessThanOrEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNotEqualTo, propertyIsNull, relative, spatialOperation, temporalOperation, touches, within, xpathExists, xpathIsFuzzy, xpathIsLike, xpathOperation
public static final Map<String,ConfluenceQueryParameter> QUERY_PARAMETERS
public <S> String defaultOperation(Object property, S literal, Class<S> literalClass, Enum operation)
defaultOperation
in class SimpleFilterDelegate<String>
public String and(List<String> operands)
FilterDelegate
and
in class SimpleFilterDelegate<String>
operands
- list of operands to "and"public String or(List<String> operands)
FilterDelegate
or
in class SimpleFilterDelegate<String>
operands
- list of T to "or"public String not(String operand)
FilterDelegate
not
in class SimpleFilterDelegate<String>
operand
- operand to negatepublic String propertyIsEqualTo(String propertyName, String literal, boolean isCaseSensitive)
FilterDelegate
propertyIsEqualTo
in class SimpleFilterDelegate<String>
propertyName
- name of property to compareliteral
- value to compareisCaseSensitive
- case-sensitivity booleanpropertyName
and literal
FilterDelegate.propertyIsEqualTo(String, Object)
public String propertyIsLike(String propertyName, String literal, boolean isCaseSensitive)
FilterDelegate
Regular expression special characters are defined as WILDCARD_CHAR
, SINGLE_CHAR
, and ESCAPE_CHAR
.
propertyIsLike
in class SimpleFilterDelegate<String>
propertyName
- name of property to compareliteral
- regular expression pattern to matchisCaseSensitive
- case-sensitivity booleanpublic String after(String propertyName, Date date)
FilterDelegate
Date
. This is an
exclusive comparison.
property > date
after
in class SimpleFilterDelegate<String>
propertyName
- name of property to comparedate
- Date
to comparepublic String before(String propertyName, Date date)
FilterDelegate
Date
.This is an
exclusive comparison.
property < date
before
in class SimpleFilterDelegate<String>
propertyName
- name of property to comparedate
- Date
to comparepublic String during(String propertyName, Date startDate, Date endDate)
FilterDelegate
startDate < property < endDate
during
in class SimpleFilterDelegate<String>
propertyName
- name of property to comparestartDate
- start date to compareendDate
- end date to comparepublic boolean isConfluenceQuery()
public boolean isWildCardQuery()
This work is licensed under a Creative Commons Attribution 4.0 International License.