freesmartphone.org PIM.NoteQuery Interface
Description
This interface gives access to a note query.
Namespace
org.freesmartphone.PIM.NoteQuery
Methods
Signals
Properties
None
Errors
None
Methods
GetResultCount ( ) → i
Description: Return the number of items in the query result
Returns:
i: count Amount of notes in the query result.
Rewind ( )
Description: Rewind the result cursor to the first note (for this dbus client only).
Skip ( i )
Description: Skip n notes in the result cursor (for this dbus client only).
Parameters:*
i: count Amount of notes to skip.
GetNotePath ( ) → s
Description: Path for the note the result cursor points to.
Returns:
s: note_path The path to the note.
GetResult ( ) → a{sv}
Description: Return the next note in the query result, and move the query to the next note.
Returns:
a{sv}: item fields of the result.
GetMultipleResults ( i ) → aa{sv}
Description: Get multiple notes from the result set at once.
Parameters:*
i: count The number of notes to get from the result set. A negative value means all.
Returns:
aa{sv}: resultset The list of the returned notes data.
Dispose ( )
Description: Delete the query result object.
Signals
NoteAdded ( s )
Description: Sent when a new note which matches this query is loaded.
Parameters:
s: note_path The path of the newly loaded note.