|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vodafone360.people.engine.contactsync.NativeContactsApi2.BatchOperation
private class NativeContactsApi2.BatchOperation
Inner class for applying batches. TODO: Move to own class if batches become supported in other areas
Field Summary | |
---|---|
(package private) java.util.ArrayList<ContentProviderOperation> |
mOperations
|
Constructor Summary | |
---|---|
NativeContactsApi2.BatchOperation()
Default constructor |
Method Summary | |
---|---|
void |
add(ContentProviderOperation cpo)
Adds a new operation to the batch |
void |
clear()
Clears all operations in the batch Effectively resets the batch. |
ContentProviderResult[] |
execute()
|
int |
size()
Current size of the batch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
java.util.ArrayList<ContentProviderOperation> mOperations
Constructor Detail |
---|
public NativeContactsApi2.BatchOperation()
Method Detail |
---|
public int size()
public void add(ContentProviderOperation cpo)
cpo
- Thepublic void clear()
public ContentProviderResult[] execute()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JavaDoc