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