Interface DatePeriodExpression
-
- All Superinterfaces:
Expression
public interface DatePeriodExpression extends Expression
An expression for searching in a date period, typically the validity of a document.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DatePeriodPredicate
all()
Returns a DatePeriodPredicate matching all date periods.DatePeriodPredicate
includingCurrent()
Returns a DatePeriodPredicate matching all current objects.DatePeriodPredicate
includingExpired()
Returns a DatePeriodPredicate matching all expired objects.DatePeriodPredicate
includingFuture()
Returns a DatePeriodPredicate matching all future objects (objects that have yet to become valid).-
Methods inherited from interface com.iknowbase.api.contentservices.query.content.expressions.Expression
getObjectReference
-
-
-
-
Method Detail
-
all
DatePeriodPredicate all()
Returns a DatePeriodPredicate matching all date periods.- Returns:
- the DatePeriodPredicate
-
includingCurrent
DatePeriodPredicate includingCurrent()
Returns a DatePeriodPredicate matching all current objects. The returned predicate can be configured further, to include other objects as well.- Returns:
- the DatePeriodPredicate
-
includingExpired
DatePeriodPredicate includingExpired()
Returns a DatePeriodPredicate matching all expired objects. The returned predicate can be configured further, to include other objects as well.- Returns:
- the DatePeriodPredicate
-
includingFuture
DatePeriodPredicate includingFuture()
Returns a DatePeriodPredicate matching all future objects (objects that have yet to become valid). The returned predicate can be configured further, to include other objects as well.- Returns:
- the DatePeriodPredicate
-
-