Class Restriction.RestrictionWithProperty<T>
java.lang.Object
com.atlassian.crowd.search.builder.Restriction.RestrictionWithProperty<T>
- Enclosing class:
- Restriction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncontaining
(T value) Returns a property restriction that is only satisfied if the value of the property contains the given value.endingWith
(T value) Returns a property restriction that is only satisfied if the value of the property ends with the given value.exactlyMatching
(T value) Returns a property restriction that is only satisfied if the value of the property exactly matches the given value.exactlyMatchingAny
(Collection<T> values) Returns a property restriction that is only satisfied if the value of the property exactly matches any of the given valuesgreaterThan
(T value) Returns a property restriction that is only satisfied if the value of the property is greater than the given value.greaterThanOrEqual
(T value) Returns a property restriction that is only satisfied if the value of the property is greater than or equal to the given value.isNull()
Returns a property restriction that is only satisfied if the value of the property is null.Returns a property restriction that is only satisfied if the value of the property is less than the given value.lessThanOrEqual
(T value) Returns a property restriction that is only satisfied if the value of the property is less than or equal to the given value.startingWith
(T value) Returns a property restriction that is only satisfied if the value of the property starts with the given value.
-
Constructor Details
-
RestrictionWithProperty
-
-
Method Details
-
exactlyMatching
Returns a property restriction that is only satisfied if the value of the property exactly matches the given value.- Parameters:
value
- value to exactly match- Returns:
- property restriction that is only satisfied if the value of the property exactly matches the given value.
-
exactlyMatchingAny
Returns a property restriction that is only satisfied if the value of the property exactly matches any of the given values- Parameters:
values
- values to exactly match- Returns:
- restriction that is only satisfied if the value of the property exactly matches any of the given values.
-
startingWith
Returns a property restriction that is only satisfied if the value of the property starts with the given value.- Parameters:
value
- prefix value- Returns:
- property restriction that is only satisfied if the value of the property starts with the given value.
-
endingWith
Returns a property restriction that is only satisfied if the value of the property ends with the given value. Please note, on some systems this query will result in full scan because suffix search might not use indexes. Try to avoid using this search option for performance reasons.- Parameters:
value
- suffix value- Returns:
- property restriction that is only satisfied if the value of the property ends with the given value.
-
containing
Returns a property restriction that is only satisfied if the value of the property contains the given value.- Parameters:
value
- value to contain- Returns:
- property restriction that is only satisfied if the value of the property contains the given value
-
lessThan
Returns a property restriction that is only satisfied if the value of the property is less than the given value.- Parameters:
value
- value to be less than- Returns:
- property restriction that is only satisfied if the value of the property is less than the given value
-
lessThanOrEqual
Returns a property restriction that is only satisfied if the value of the property is less than or equal to the given value.- Parameters:
value
- value to be less than or equal- Returns:
- property restriction that is only satisfied if the value of the property is less than or equal to the given value
-
greaterThan
Returns a property restriction that is only satisfied if the value of the property is greater than the given value.- Parameters:
value
- value to be greater than- Returns:
- property restriction that is only satisfied if the value of the property is greater than the given value
-
greaterThanOrEqual
Returns a property restriction that is only satisfied if the value of the property is greater than or equal to the given value.- Parameters:
value
- value to be greater than or equal to- Returns:
- property restriction that is only satisfied if the value of the property is greater than or equal to the given value
-
isNull
Returns a property restriction that is only satisfied if the value of the property is null.- Returns:
- property restriction that is only satisfied if the value of the property is null
-