public static final class EvernoteSearchHelper.Result
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillNoteRef(java.util.List<NotesMetadataList> notesMetadataList,
java.util.List<NoteRef> result,
LinkedNotebook linkedNotebook) |
java.util.List<NoteRef> |
getAllAsNoteRef() |
java.util.Map<android.util.Pair<java.lang.String,LinkedNotebook>,java.util.List<NotesMetadataList>> |
getBusinessResults() |
java.util.List<NoteRef> |
getBusinessResultsAsNoteRef() |
java.util.Map<android.util.Pair<java.lang.String,LinkedNotebook>,java.util.List<NotesMetadataList>> |
getLinkedNotebookResults() |
java.util.List<NoteRef> |
getLinkedNotebookResultsAsNoteRef() |
java.util.List<NotesMetadataList> |
getPersonalResults() |
java.util.List<NoteRef> |
getPersonalResultsAsNoteRef() |
void |
setNoteRefFactory(NoteRef.Factory noteRefFactory)
Exchange the factory to control how the
NoteRef instances are created if you receive
the results as NoteRef. |
public void setNoteRefFactory(NoteRef.Factory noteRefFactory)
NoteRef instances are created if you receive
the results as NoteRef.noteRefFactory - The new factory to construct the NoteRef instances.public java.util.List<NotesMetadataList> getPersonalResults()
NotesMetadataLists containing the personal notes. Returns
null, if EvernoteSearchHelper.Scope.PERSONAL_NOTES wasn't set.public java.util.List<NoteRef> getPersonalResultsAsNoteRef()
null, if EvernoteSearchHelper.Scope.PERSONAL_NOTES wasn't set.public java.util.Map<android.util.Pair<java.lang.String,LinkedNotebook>,java.util.List<NotesMetadataList>> getLinkedNotebookResults()
LinkedNotebook and its GUID. Returns null, if
EvernoteSearchHelper.Scope.LINKED_NOTEBOOKS wasn't set.public java.util.List<NoteRef> getLinkedNotebookResultsAsNoteRef()
null, if EvernoteSearchHelper.Scope.LINKED_NOTEBOOKS wasn't set.public java.util.Map<android.util.Pair<java.lang.String,LinkedNotebook>,java.util.List<NotesMetadataList>> getBusinessResults()
null, if
EvernoteSearchHelper.Scope.BUSINESS wasn't set.public java.util.List<NoteRef> getBusinessResultsAsNoteRef()
null, if EvernoteSearchHelper.Scope.BUSINESS wasn't set.public java.util.List<NoteRef> getAllAsNoteRef()
null, if no results
were found then the list is empty.protected void fillNoteRef(java.util.List<NotesMetadataList> notesMetadataList,
java.util.List<NoteRef> result,
LinkedNotebook linkedNotebook)