| Package | Description |
|---|---|
| io.prismic |
| Modifier and Type | Method and Description |
|---|---|
static Predicate |
Predicates.any(String fragment,
Iterable<String> values) |
static Predicate |
Predicates.at(String fragment,
Iterable<String> value) |
static Predicate |
Predicates.at(String fragment,
String value) |
static Predicate |
Predicates.dateAfter(String fragment,
org.joda.time.DateTime after) |
static Predicate |
Predicates.dateBefore(String fragment,
org.joda.time.DateTime before) |
static Predicate |
Predicates.dateBetween(String fragment,
org.joda.time.DateTime lower,
org.joda.time.DateTime upper) |
static Predicate |
Predicates.dateYear(String fragment,
Integer year)
Deprecated.
|
static Predicate |
Predicates.dayOfMonth(String fragment,
Integer day) |
static Predicate |
Predicates.dayOfMonthAfter(String fragment,
Integer day) |
static Predicate |
Predicates.dayOfMonthBefore(String fragment,
Integer day) |
static Predicate |
Predicates.dayOfWeek(String fragment,
Predicates.DayOfWeek day) |
static Predicate |
Predicates.dayOfWeekAfter(String fragment,
Predicates.DayOfWeek day) |
static Predicate |
Predicates.dayOfWeekBefore(String fragment,
Predicates.DayOfWeek day) |
static Predicate |
Predicates.fulltext(String fragment,
String value) |
static Predicate |
Predicates.gt(String fragment,
Double upperBound) |
static Predicate |
Predicates.gt(String fragment,
Integer upperBound) |
static Predicate |
Predicates.hour(String fragment,
Integer hour) |
static Predicate |
Predicates.hourAfter(String fragment,
Integer hour) |
static Predicate |
Predicates.hourBefore(String fragment,
Integer hour) |
static Predicate |
Predicates.in(String fragment,
Iterable<String> values) |
static Predicate |
Predicates.inRange(String fragment,
Double lowerBound,
Double upperBound) |
static Predicate |
Predicates.inRange(String fragment,
Integer lowerBound,
Integer upperBound) |
static Predicate |
Predicates.lt(String fragment,
Double lowerBound) |
static Predicate |
Predicates.lt(String fragment,
Integer lowerBound) |
static Predicate |
Predicates.month(String fragment,
Predicates.Month month) |
static Predicate |
Predicates.monthAfter(String fragment,
Predicates.Month month) |
static Predicate |
Predicates.monthBefore(String fragment,
Predicates.Month month) |
static Predicate |
Predicates.near(String fragment,
Double latitude,
Double longitude,
Integer radius) |
static Predicate |
Predicates.similar(String documentId,
Integer maxResults) |
static Predicate |
Predicates.year(String fragment,
Integer year) |
| Modifier and Type | Method and Description |
|---|---|
Form.SearchForm |
Form.SearchForm.query(Predicate... predicates)
Allows to set the query field of the current form, using Predicate objects.
|
Form.SearchForm |
Api.query(Predicate... predicates)
Start a query defaulting on the master reference (you can still override it)
|
Document |
Api.queryFirst(Predicate p) |
Document |
Api.queryFirst(Predicate p,
String ref)
Return the first document matching the predicate
|
Copyright © 2016. All rights reserved.