aem-plugin / com.cognifide.gradle.aem.common.instance.service.repository / QueryCriteria

QueryCriteria

class QueryCriteria : QueryParams

Constructors

<init>

QueryCriteria()

Properties

limit

val limit: Int

offset

val offset: Int

queryString

val queryString: String

Functions

and

fun and(paramsDefiner: QueryParams.() -> Unit): Unit

copy

fun copy(): QueryCriteria

forMore

fun forMore(): QueryCriteria

fullTexts

fun fullTexts(vararg values: String, all: Boolean = false): Unit
fun fullTexts(values: Iterable<String>, all: Boolean = false): Unit

limit

fun limit(value: Int): Unit

names

fun names(vararg values: String): Unit
fun names(values: Iterable<String>): Unit

offset

fun offset(value: Int): Unit

or

fun or(paramsDefiner: QueryParams.() -> Unit): Unit

orderBy

fun orderBy(value: String, desc: Boolean = false): Unit

orderByContentLastModified

fun orderByContentLastModified(desc: Boolean = true): Unit

orderByLastModified

fun orderByLastModified(desc: Boolean = true): Unit

orderByName

fun orderByName(desc: Boolean = false): Unit

orderByPath

fun orderByPath(desc: Boolean = false): Unit

orderByProperty

fun orderByProperty(name: String, desc: Boolean = false): Unit

orderByScore

fun orderByScore(desc: Boolean = true): Unit

paths

fun paths(vararg values: String): Unit
fun paths(values: Iterable<String>): Unit

tags

fun tags(vararg values: String, all: Boolean = true): Unit
fun tags(values: Iterable<String>, all: Boolean = true): Unit

toString

fun toString(): String

types

fun types(vararg values: String): Unit
fun types(values: Iterable<String>): Unit

Companion Object Properties

LIMIT_DEFAULT

const val LIMIT_DEFAULT: Int