Name
|
Purpose
|
contains(context)
|
contains(ctx) takes a WGContext object as parameter and checks if this context is contained in the collection result.
|
each(function)
|
Applies a function to each element of the collection result.
|
exclude(context)
|
Filters out the given document from the collection result
|
filter(function)
|
Applies a filter to the collection result
|
firstResult
|
Returns the first result document of the collection
|
firstResultContent
|
Returns the first result document of the collection as WGAPI content object
|
getPage([offset,] size)
|
Returns a page of result documents
|
getSingleValue(itemName)
|
Returns the value of an item from the first result document of this collection
|
isEmpty()
|
Tests if the result has at last one elements, the current user can read.
|
map(function)
|
map(function) takes a JS-Function as parameter. This function is called for each result entry with the TMLContext as parameter and must return some value. The return value of map() is a list of all mapped values.
|
onlyPublished
|
Reports if the collection result returns only published documents
|
originalResult
|
Returns the original QueryResult or NavigatorResult of this collection result
|
size
|
Returns the number of result documents in the collection
|
skip(size)
|
Skips the first documents in the current collection result
|