|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.evernote.edam.notestore.SyncChunk
public class SyncChunk
This structure is given out by the NoteStore when a client asks to receive the current state of an account. The client asks for the server's state one chunk at a time in order to allow clients to retrieve the state of a large account without needing to transfer the entire account in a single message. The server always gives SyncChunks using an ascending series of Update Sequence Numbers (USNs).
| Constructor Summary | |
|---|---|
SyncChunk()
|
|
SyncChunk(long currentTime,
int updateCount)
|
|
SyncChunk(SyncChunk other)
Performs a deep copy on other. |
|
| Method Summary | |
|---|---|
void |
addToExpungedLinkedNotebooks(String elem)
|
void |
addToExpungedNotebooks(String elem)
|
void |
addToExpungedNotes(String elem)
|
void |
addToExpungedSearches(String elem)
|
void |
addToExpungedTags(String elem)
|
void |
addToLinkedNotebooks(LinkedNotebook elem)
|
void |
addToNotebooks(Notebook elem)
|
void |
addToNotes(Note elem)
|
void |
addToResources(Resource elem)
|
void |
addToSearches(SavedSearch elem)
|
void |
addToTags(Tag elem)
|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(SyncChunk other)
|
SyncChunk |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(Object that)
|
boolean |
equals(SyncChunk that)
|
int |
getChunkHighUSN()
|
long |
getCurrentTime()
|
List<String> |
getExpungedLinkedNotebooks()
|
Iterator<String> |
getExpungedLinkedNotebooksIterator()
|
int |
getExpungedLinkedNotebooksSize()
|
List<String> |
getExpungedNotebooks()
|
Iterator<String> |
getExpungedNotebooksIterator()
|
int |
getExpungedNotebooksSize()
|
List<String> |
getExpungedNotes()
|
Iterator<String> |
getExpungedNotesIterator()
|
int |
getExpungedNotesSize()
|
List<String> |
getExpungedSearches()
|
Iterator<String> |
getExpungedSearchesIterator()
|
int |
getExpungedSearchesSize()
|
List<String> |
getExpungedTags()
|
Iterator<String> |
getExpungedTagsIterator()
|
int |
getExpungedTagsSize()
|
List<LinkedNotebook> |
getLinkedNotebooks()
|
Iterator<LinkedNotebook> |
getLinkedNotebooksIterator()
|
int |
getLinkedNotebooksSize()
|
List<Notebook> |
getNotebooks()
|
Iterator<Notebook> |
getNotebooksIterator()
|
int |
getNotebooksSize()
|
List<Note> |
getNotes()
|
Iterator<Note> |
getNotesIterator()
|
int |
getNotesSize()
|
List<Resource> |
getResources()
|
Iterator<Resource> |
getResourcesIterator()
|
int |
getResourcesSize()
|
List<SavedSearch> |
getSearches()
|
Iterator<SavedSearch> |
getSearchesIterator()
|
int |
getSearchesSize()
|
List<Tag> |
getTags()
|
Iterator<Tag> |
getTagsIterator()
|
int |
getTagsSize()
|
int |
getUpdateCount()
|
int |
hashCode()
|
boolean |
isSetChunkHighUSN()
Returns true if field chunkHighUSN is set (has been asigned a value) and false otherwise |
boolean |
isSetCurrentTime()
Returns true if field currentTime is set (has been asigned a value) and false otherwise |
boolean |
isSetExpungedLinkedNotebooks()
Returns true if field expungedLinkedNotebooks is set (has been asigned a value) and false otherwise |
boolean |
isSetExpungedNotebooks()
Returns true if field expungedNotebooks is set (has been asigned a value) and false otherwise |
boolean |
isSetExpungedNotes()
Returns true if field expungedNotes is set (has been asigned a value) and false otherwise |
boolean |
isSetExpungedSearches()
Returns true if field expungedSearches is set (has been asigned a value) and false otherwise |
boolean |
isSetExpungedTags()
Returns true if field expungedTags is set (has been asigned a value) and false otherwise |
boolean |
isSetLinkedNotebooks()
Returns true if field linkedNotebooks is set (has been asigned a value) and false otherwise |
boolean |
isSetNotebooks()
Returns true if field notebooks is set (has been asigned a value) and false otherwise |
boolean |
isSetNotes()
Returns true if field notes is set (has been asigned a value) and false otherwise |
boolean |
isSetResources()
Returns true if field resources is set (has been asigned a value) and false otherwise |
boolean |
isSetSearches()
Returns true if field searches is set (has been asigned a value) and false otherwise |
boolean |
isSetTags()
Returns true if field tags is set (has been asigned a value) and false otherwise |
boolean |
isSetUpdateCount()
Returns true if field updateCount is set (has been asigned a value) and false otherwise |
void |
read(TProtocol iprot)
Reads an instance of the object from the given protocol. |
void |
setChunkHighUSN(int chunkHighUSN)
|
void |
setChunkHighUSNIsSet(boolean value)
|
void |
setCurrentTime(long currentTime)
|
void |
setCurrentTimeIsSet(boolean value)
|
void |
setExpungedLinkedNotebooks(List<String> expungedLinkedNotebooks)
|
void |
setExpungedLinkedNotebooksIsSet(boolean value)
|
void |
setExpungedNotebooks(List<String> expungedNotebooks)
|
void |
setExpungedNotebooksIsSet(boolean value)
|
void |
setExpungedNotes(List<String> expungedNotes)
|
void |
setExpungedNotesIsSet(boolean value)
|
void |
setExpungedSearches(List<String> expungedSearches)
|
void |
setExpungedSearchesIsSet(boolean value)
|
void |
setExpungedTags(List<String> expungedTags)
|
void |
setExpungedTagsIsSet(boolean value)
|
void |
setLinkedNotebooks(List<LinkedNotebook> linkedNotebooks)
|
void |
setLinkedNotebooksIsSet(boolean value)
|
void |
setNotebooks(List<Notebook> notebooks)
|
void |
setNotebooksIsSet(boolean value)
|
void |
setNotes(List<Note> notes)
|
void |
setNotesIsSet(boolean value)
|
void |
setResources(List<Resource> resources)
|
void |
setResourcesIsSet(boolean value)
|
void |
setSearches(List<SavedSearch> searches)
|
void |
setSearchesIsSet(boolean value)
|
void |
setTags(List<Tag> tags)
|
void |
setTagsIsSet(boolean value)
|
void |
setUpdateCount(int updateCount)
|
void |
setUpdateCountIsSet(boolean value)
|
String |
toString()
|
void |
unsetChunkHighUSN()
|
void |
unsetCurrentTime()
|
void |
unsetExpungedLinkedNotebooks()
|
void |
unsetExpungedNotebooks()
|
void |
unsetExpungedNotes()
|
void |
unsetExpungedSearches()
|
void |
unsetExpungedTags()
|
void |
unsetLinkedNotebooks()
|
void |
unsetNotebooks()
|
void |
unsetNotes()
|
void |
unsetResources()
|
void |
unsetSearches()
|
void |
unsetTags()
|
void |
unsetUpdateCount()
|
void |
validate()
|
void |
write(TProtocol oprot)
Writes the object to the given protocol. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SyncChunk()
public SyncChunk(long currentTime,
int updateCount)
public SyncChunk(SyncChunk other)
| Method Detail |
|---|
public SyncChunk deepCopy()
TBase
deepCopy in interface TBase<SyncChunk>public void clear()
TBase
clear in interface TBase<SyncChunk>public long getCurrentTime()
public void setCurrentTime(long currentTime)
public void unsetCurrentTime()
public boolean isSetCurrentTime()
public void setCurrentTimeIsSet(boolean value)
public int getChunkHighUSN()
public void setChunkHighUSN(int chunkHighUSN)
public void unsetChunkHighUSN()
public boolean isSetChunkHighUSN()
public void setChunkHighUSNIsSet(boolean value)
public int getUpdateCount()
public void setUpdateCount(int updateCount)
public void unsetUpdateCount()
public boolean isSetUpdateCount()
public void setUpdateCountIsSet(boolean value)
public int getNotesSize()
public Iterator<Note> getNotesIterator()
public void addToNotes(Note elem)
public List<Note> getNotes()
public void setNotes(List<Note> notes)
public void unsetNotes()
public boolean isSetNotes()
public void setNotesIsSet(boolean value)
public int getNotebooksSize()
public Iterator<Notebook> getNotebooksIterator()
public void addToNotebooks(Notebook elem)
public List<Notebook> getNotebooks()
public void setNotebooks(List<Notebook> notebooks)
public void unsetNotebooks()
public boolean isSetNotebooks()
public void setNotebooksIsSet(boolean value)
public int getTagsSize()
public Iterator<Tag> getTagsIterator()
public void addToTags(Tag elem)
public List<Tag> getTags()
public void setTags(List<Tag> tags)
public void unsetTags()
public boolean isSetTags()
public void setTagsIsSet(boolean value)
public int getSearchesSize()
public Iterator<SavedSearch> getSearchesIterator()
public void addToSearches(SavedSearch elem)
public List<SavedSearch> getSearches()
public void setSearches(List<SavedSearch> searches)
public void unsetSearches()
public boolean isSetSearches()
public void setSearchesIsSet(boolean value)
public int getResourcesSize()
public Iterator<Resource> getResourcesIterator()
public void addToResources(Resource elem)
public List<Resource> getResources()
public void setResources(List<Resource> resources)
public void unsetResources()
public boolean isSetResources()
public void setResourcesIsSet(boolean value)
public int getExpungedNotesSize()
public Iterator<String> getExpungedNotesIterator()
public void addToExpungedNotes(String elem)
public List<String> getExpungedNotes()
public void setExpungedNotes(List<String> expungedNotes)
public void unsetExpungedNotes()
public boolean isSetExpungedNotes()
public void setExpungedNotesIsSet(boolean value)
public int getExpungedNotebooksSize()
public Iterator<String> getExpungedNotebooksIterator()
public void addToExpungedNotebooks(String elem)
public List<String> getExpungedNotebooks()
public void setExpungedNotebooks(List<String> expungedNotebooks)
public void unsetExpungedNotebooks()
public boolean isSetExpungedNotebooks()
public void setExpungedNotebooksIsSet(boolean value)
public int getExpungedTagsSize()
public Iterator<String> getExpungedTagsIterator()
public void addToExpungedTags(String elem)
public List<String> getExpungedTags()
public void setExpungedTags(List<String> expungedTags)
public void unsetExpungedTags()
public boolean isSetExpungedTags()
public void setExpungedTagsIsSet(boolean value)
public int getExpungedSearchesSize()
public Iterator<String> getExpungedSearchesIterator()
public void addToExpungedSearches(String elem)
public List<String> getExpungedSearches()
public void setExpungedSearches(List<String> expungedSearches)
public void unsetExpungedSearches()
public boolean isSetExpungedSearches()
public void setExpungedSearchesIsSet(boolean value)
public int getLinkedNotebooksSize()
public Iterator<LinkedNotebook> getLinkedNotebooksIterator()
public void addToLinkedNotebooks(LinkedNotebook elem)
public List<LinkedNotebook> getLinkedNotebooks()
public void setLinkedNotebooks(List<LinkedNotebook> linkedNotebooks)
public void unsetLinkedNotebooks()
public boolean isSetLinkedNotebooks()
public void setLinkedNotebooksIsSet(boolean value)
public int getExpungedLinkedNotebooksSize()
public Iterator<String> getExpungedLinkedNotebooksIterator()
public void addToExpungedLinkedNotebooks(String elem)
public List<String> getExpungedLinkedNotebooks()
public void setExpungedLinkedNotebooks(List<String> expungedLinkedNotebooks)
public void unsetExpungedLinkedNotebooks()
public boolean isSetExpungedLinkedNotebooks()
public void setExpungedLinkedNotebooksIsSet(boolean value)
public boolean equals(Object that)
equals in class Objectpublic boolean equals(SyncChunk that)
public int hashCode()
hashCode in class Objectpublic int compareTo(SyncChunk other)
compareTo in interface Comparable<SyncChunk>
public void read(TProtocol iprot)
throws TException
TBase
read in interface TBase<SyncChunk>iprot - Input protocol
TException
public void write(TProtocol oprot)
throws TException
TBase
write in interface TBase<SyncChunk>oprot - Output protocol
TExceptionpublic String toString()
toString in class Object
public void validate()
throws TException
TException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||