Class Overview
Container for multiple EntityDelta
objects, usually when editing
together as an entire aggregate. Provides convenience methods for parceling
and applying another EntitySet
over it.
Summary
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
[Expand]
Inherited Fields |
From class
java.util.AbstractList
|
[Expand]
Inherited Methods |
From class
java.util.ArrayList
boolean
|
add(E arg0)
|
void
|
add(int arg0, E arg1)
|
boolean
|
addAll(Collection<? extends E> arg0)
|
boolean
|
addAll(int arg0, Collection<? extends E> arg1)
|
void
|
clear()
|
Object
|
clone()
|
boolean
|
contains(Object arg0)
|
void
|
ensureCapacity(int arg0)
|
E
|
get(int arg0)
|
int
|
indexOf(Object arg0)
|
boolean
|
isEmpty()
|
int
|
lastIndexOf(Object arg0)
|
E
|
remove(int arg0)
|
boolean
|
remove(Object arg0)
|
void
|
removeRange(int arg0, int arg1)
|
E
|
set(int arg0, E arg1)
|
int
|
size()
|
<T>
T[]
|
toArray(T[] arg0)
|
Object[]
|
toArray()
|
void
|
trimToSize()
|
|
From class
java.util.AbstractList
boolean
|
add(E arg0)
|
void
|
add(int arg0, E arg1)
|
boolean
|
addAll(int arg0, Collection<? extends E> arg1)
|
void
|
clear()
|
boolean
|
equals(Object arg0)
|
abstract
E
|
get(int arg0)
|
int
|
hashCode()
|
int
|
indexOf(Object arg0)
|
Iterator<E>
|
iterator()
|
int
|
lastIndexOf(Object arg0)
|
ListIterator<E>
|
listIterator(int arg0)
|
ListIterator<E>
|
listIterator()
|
E
|
remove(int arg0)
|
void
|
removeRange(int arg0, int arg1)
|
E
|
set(int arg0, E arg1)
|
List<E>
|
subList(int arg0, int arg1)
|
|
From class
java.util.AbstractCollection
boolean
|
add(E arg0)
|
boolean
|
addAll(Collection<? extends E> arg0)
|
void
|
clear()
|
boolean
|
contains(Object arg0)
|
boolean
|
containsAll(Collection<?> arg0)
|
boolean
|
isEmpty()
|
abstract
Iterator<E>
|
iterator()
|
boolean
|
remove(Object arg0)
|
boolean
|
removeAll(Collection<?> arg0)
|
boolean
|
retainAll(Collection<?> arg0)
|
abstract
int
|
size()
|
<T>
T[]
|
toArray(T[] arg0)
|
Object[]
|
toArray()
|
String
|
toString()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
From interface
java.lang.Iterable
|
From interface
java.util.Collection
abstract
boolean
|
add(E arg0)
|
abstract
boolean
|
addAll(Collection<? extends E> arg0)
|
abstract
void
|
clear()
|
abstract
boolean
|
contains(Object arg0)
|
abstract
boolean
|
containsAll(Collection<?> arg0)
|
abstract
boolean
|
equals(Object arg0)
|
abstract
int
|
hashCode()
|
abstract
boolean
|
isEmpty()
|
abstract
Iterator<E>
|
iterator()
|
abstract
boolean
|
remove(Object arg0)
|
abstract
boolean
|
removeAll(Collection<?> arg0)
|
abstract
boolean
|
retainAll(Collection<?> arg0)
|
abstract
int
|
size()
|
abstract
<T>
T[]
|
toArray(T[] arg0)
|
abstract
Object[]
|
toArray()
|
|
From interface
java.util.List
abstract
boolean
|
add(E arg0)
|
abstract
void
|
add(int arg0, E arg1)
|
abstract
boolean
|
addAll(Collection<? extends E> arg0)
|
abstract
boolean
|
addAll(int arg0, Collection<? extends E> arg1)
|
abstract
void
|
clear()
|
abstract
boolean
|
contains(Object arg0)
|
abstract
boolean
|
containsAll(Collection<?> arg0)
|
abstract
boolean
|
equals(Object arg0)
|
abstract
E
|
get(int arg0)
|
abstract
int
|
hashCode()
|
abstract
int
|
indexOf(Object arg0)
|
abstract
boolean
|
isEmpty()
|
abstract
Iterator<E>
|
iterator()
|
abstract
int
|
lastIndexOf(Object arg0)
|
abstract
ListIterator<E>
|
listIterator(int arg0)
|
abstract
ListIterator<E>
|
listIterator()
|
abstract
E
|
remove(int arg0)
|
abstract
boolean
|
remove(Object arg0)
|
abstract
boolean
|
removeAll(Collection<?> arg0)
|
abstract
boolean
|
retainAll(Collection<?> arg0)
|
abstract
E
|
set(int arg0, E arg1)
|
abstract
int
|
size()
|
abstract
List<E>
|
subList(int arg0, int arg1)
|
abstract
<T>
T[]
|
toArray(T[] arg0)
|
abstract
Object[]
|
toArray()
|
|
Fields
Public Methods
Build a list of ContentProviderOperation
that will transform all
the "before" Entity
states into the modified state which all
EntityDelta
objects represent. This method specifically creates
any AggregationExceptions rules needed to groups edits together.
public
int
describeContents
()
public
long
findRawContactId
()
Search all contained EntityDelta
for the first one with an
existing _ID
value. Usually used when creating
AggregationExceptions during an update.
Create an EntitySet
based on Contacts specified by the
given query parameters. This closes the EntityIterator when
finished, so it doesn't subscribe to updates.
Create an EntitySet
that contains the given EntityDelta
,
usually when inserting a new Contacts entry.
public
Long
getRawContactId
(int index)
public
int
indexOfRawContactId
(Long rawContactId)
Find index of given _ID
when present.
Merge the "after" values from the given EntitySet
, discarding any
previous "after" states. This is typically used when re-parenting user
edits onto an updated EntitySet
.
public
void
readFromParcel
(Parcel source)
public
void
splitRawContacts
()
public
void
writeToParcel
(Parcel dest, int flags)
Protected Methods