Provides access to a data source and enables you to bind, change, add, remove, and move items in that data source.
Notifies the IListDataSource that a sequence of edits is about to begin. The IListDataSource will defer notifications until endEdits is called.
Overwrites the data of the specified item.
The key for the item to replace.
The new data for the item.
A Promise that contains the IItem that was updated or an EditError if an error was encountered.
Creates an IListBinding that can retrieve items from the IListDataSource, enumerate the contents of the IListDataSource object's data, and optionally register for change notifications.
Enables the IListBinding to register for change notifications for individual items obtained from the IListDataSource. If you omit this parameter, change notifications won't be available.
The new IListBinding.
Notifies the IListDataSource that the batch of edits that began with the last beginEdits call has completed. The IListDataSource will submit notifications for any changes that occurred between the beginEdits and endEdits calls as a batch and resume normal change notifications.
Retrieves the number of items in the data source.
A Promise that provides a Number that is the number of items in the data source.
Inserts a new item after another item.
The key that can be used to retrieve the new item, if known.
The data for the item to add.
The key for an item in the data source. The new item will be added after this item.
A Promise that contains the IItem that was added or an EditError if an error was encountered.
Adds an item to the end of the data source.
The key that can be used to retrieve the new item, if known.
The data for the item to add.
A Promise that contains the IItem that was added or an EditError if an error was encountered.
Adds an item to the beginning of the data source.
The key that can be used to retrieve the new item, if known.
The data for the item to add.
A Promise that contains the IItem that was added or an EditError if an error was encountered.
Inserts an item before another item.
The key that can be used to retrieve the new item, if known.
The data for the item to add.
The key of an item in the data source. The new item will be inserted before this item.
A Promise that contains the IItem that was added or an EditError if an error was encountered.
Indicates that all previous data obtained from the IListDataAdapter is invalid and should be refreshed.
A Promise that completes when the data has been completely refreshed and all notifications have been sent.
Retrieves the item that has the specified description.
Domain-specific information, to be interpreted by the IListDataAdapter, that describes the item to retrieve.
A Promise that provides an IItem that contains the requested item or a FetchError if an error was encountered. If the item wasn't found, the promise completes with a value of null.
Retrieves the item at the specified index.
A value that is greater than or equal to zero that is the index of the item to retrieve.
A Promise that provides an IItem that contains the requested item or a FetchError if an error was encountered. If the item wasn't found, the promise completes with a value of null.
Retrieves the item with the specified key.
The key of the item to retrieve. It must be a non-empty string.
Domain-specific information that IListDataAdapter can use to improve the retrieval time.
A Promise that provides an IItem that contains the requested item or a FetchError if an error was encountered. If the item was not found, the promise completes with a null value.
Moves an item to just after another item.
The key that identifies the item to move.
The key of another item in the data source. The item specified by the key parameter will be moved after this item.
A Promise that contains the IItem that was moved or an EditError if an error was encountered.
Moves an item before another item.
The key that identifies the item to move.
The key of another item in the data source. The item specified by the key parameter will be moved before this item.
A Promise that contains the IItem that was moved or an EditError if an error was encountered.
Moves an item to the end of the data source.
The key that identifies the item to move.
A Promise that contains the IItem that was moved or an EditError if an error was encountered.
Moves the specified item to the beginning of the data source.
The key that identifies the item to move.
A Promise that contains the IItem that was moved or an EditError if an error was encountered.
Removes the specified item from the data source.
The key that identifies the item to remove.
A Promise that contains nothing if the operation was successful or an EditError if an error was encountered.
Occurs when the status of the IListDataSource changes.
An object that contains information about the event. The detail property of this object contains the following sub-properties: status.