The items of the current page.
The total number of items in the collection.
Whether or not this collection should stop fetching items from the server.
Build the query parameters with paging related properties.
Adds a filter to the query. Removes any previous filters with the same filter.
The filter to add.
The type of filter.
Binds a handler to an Observable or to a dojo.connect. Binding to an Observable:
``` this.auto(someObservable, function (newValue) { });
with explicit scope:
this.auto(someObservable, this, function (newValue) { });
Alternately, pass an event name as a string to use dojo.connect:
this.auto(window, "onclick", function () { }); ```
Either an Observable (for observable bindings) or a regular object (if arg1 is a string)
If arg0 is an Observable, a function or scope object. Otherwise, an event name (to use with dojo.connect).
If arg0 is an Observable, a function handler.
Disposes any bindings tracked by this object.
Disposes any bindings tracked by this object.
Get the total length of the collection.
Get the query parameters being used to populate the items.
Gets a language resource from the Application's resource dictionary, given a key, and optional locale.
Returns null
if the resource does not exist.
The locale of the resource to fetch. Defaults to the current application locale.
Increments the page number.
Override or attach to provide custom clean-up behaviour.
Decrements the page number.
Refreshes the collection.
Remove filters using a given field.
The field of the filters to remove.
The type of filter.
Set the query parameters used to populate the items.
The query parameters.
Sort the documents.
The sorter that describes how to sort the documents.
Tracks a subscription to an {@link geocortex.framework.commands.Command}, disposing it when this object is disposed with the destroy method.
Tracks a subscription to an {@link geocortex.framework.events.Event}, disposing it when this object is disposed with the destroy method.
Whether or not the document collection is successfully initialized.