freesmartphone.org Framework DBus Interface Specification

org.freesmartphone.PIM.DateQuery

Description

This interface gives access to a date query.

Namespace

org.freesmartphone.PIM.DateQuery

Methods

Signals

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.

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.


| Specified 2008-2009 by the Freesmartphone.org team. | Join us and discuss further drafts smartphones-standards (at) linuxtogo (dot) org