Jtx Collection
Represents a locally stored jtx collection (journals, notes, tasks). Communicates with the jtx Board content provider via provider.
Methods that use ContentValues operate directly on rows of the JtxContract.JtxICalObject table. Methods that use Entity operate on JtxContract.JtxICalObject rows together with associated sub-rows (attendees, categories, alarms, etc.).
Parameters
jtx collection provider
content values as read from the jtx Board provider; JtxContract.JtxCollection.ID must be set
Throws
when JtxContract.JtxCollection.ID is not set
Properties
Functions
Inserts a new jtx object into this collection.
Counts jtx objects in this collection that match the given selection criteria.
Deletes all jtx objects of this collection from the local storage.
Deletes a jtx object row. The jtx Board provider automatically deletes associated sub-rows.
Gets the first jtx object row (without sub-rows) that matches the given query.
Gets a specific jtx object, identified by its ID, from this collection.
Gets the main row of a specific jtx object, identified by its ID, from this collection.
Iterates jtx object rows (without sub-rows) from this collection.
Updates this collection in the jtx Board content provider.
Updates a jtx object's main row and refreshes all sub-rows.
Enqueues an update of a jtx object's main row and refreshes all sub-rows into batch.
Updates a specific jtx object's main row with the given values. Doesn't influence sub-rows.
Updates jtx object rows in this collection.