|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.todoroo.astrid.sync.SyncContainer
public class SyncContainer
Container class for transmitting tasks and including local and remote metadata. Synchronization Providers can subclass this class if desired.
SyncProvider| Field Summary | |
|---|---|
java.util.ArrayList<Metadata> |
metadata
|
Task |
task
|
| Constructor Summary | |
|---|---|
SyncContainer()
|
|
| Method Summary | |
|---|---|
Metadata |
findMetadata(java.lang.String key)
Check if the metadata contains anything with the given key |
void |
prepareForSaving()
Method called when sync container is about to be saved into the database. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Task task
public java.util.ArrayList<Metadata> metadata
| Constructor Detail |
|---|
public SyncContainer()
| Method Detail |
|---|
public Metadata findMetadata(java.lang.String key)
key -
public void prepareForSaving()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||