summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/ContentProviderOperation.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix the rest of the javadoc warnings.Joe Onorato2010-09-161-4/+6
| | | | Change-Id: Ifbf422a2eb177858813d118f03ceddcd807e73b4
* Add error logging to ContentProviderOperation.Ken Shirriff2010-02-191-1/+20
| | | | | This will dump out the contents of the operation in some error cases to make debugging easier.
* Avoid NPE when callers send null selection args.Jeff Sharkey2009-10-291-2/+6
| | | | Fixes http://b/2226007
* Copy the selection args when creating a CPO since callers often reuse the ↵Jeff Hamilton2009-10-281-1/+2
| | | | | | | passed in array. Bug: 2221947 Change-Id: I3b7d5cbef61777d76ca7fc0d7c91c44553e609a9
* add the ability to do a newAssert with no valuesFred Quintana2009-09-151-18/+29
|
* add the ability to specify yieldpoints in a ContentProviderOperationFred Quintana2009-08-281-1/+14
|
* New ContentProviderOperation to assert values during batch.Jeff Sharkey2009-08-101-49/+58
| | | | | | | | | | | | When performing a set of batch operations, some callers need to enforce that a query has specific values. For example, when persisting edited Contact values, we need to assert that the RawContacts.VERSION matches the version we read out through queryEntities(). This change adds a new TYPE_ASSERT that uses withValues() and withSelection(), and checks all values when applying the batch operation, bailing if any values don't match.
* - add several common kinds and beef up some othersFred Quintana2009-08-061-5/+6
| | | | - change the ContentProviderOperation selection backref store the backref as a long instead of as a string
* Expose type constants and accessor for unit tests.Jeff Sharkey2009-07-281-6/+15
| | | | | | | | | | Internally, ContentProviderOperation maintains a "type", which correspond to builder methods, such as "newInsert()". Unit tests often need to assert which operations are being built, so this change adds a getType() accessor and esposes the internal constants used. They are marked with @hide so they are not exposed in the public API.
* add a data_version column to the data tableFred Quintana2009-06-111-0/+6
|
* - make it easier to add content values to the ContentProviderOperationFred Quintana2009-06-041-2/+49
| | | | - add the group membership common kind as well as some IM utilities to the ContactsContract
* - create a new generic ISyncAdapter implementation, SyncAdapterNewFred Quintana2009-06-011-50/+32
| | | | | | - change the applyBatch to take an ArrayList rather than an [] - change Entity to be a final flass that contains ContentValues - remove the ability to update/insert Entities by a ContentProviderOperation
* add ipc support to batchingFred Quintana2009-05-221-5/+141
|
* enhance ContentProvider with the ability to perform batch operationsFred Quintana2009-05-151-0/+358