freesmartphone.org Framework DBus Interface Specification

org.freesmartphone.PIM.Notes

Description

This interface provides access to the collection of PIM notes.

Namespace

org.freesmartphone.PIM.Notes

Methods

Signals

Errors

None

Methods

Add ( a{sv} ) → s

Description: Add a new note to the default backend for notes.

Parameters

a{sv}: note_data

The new notes data.

Returns

s: note_path

The path of the added note.

GetUsedTags ( ) → as

Description: Returns list of all tags used in loaded notes.

Returns

as: used_tags

List of tags.

GetSingleEntrySingleField ( a{sv}s ) → s

Description: Query the content of one field of one note.

Parameters

a{sv}: query

The query.

s: field

The name of the field to query.

Returns

s: value

The content of the queried field.

Query ( a{sv} ) → s

Description: Start a query for notes.

Parameters

a{sv}: query

The query.

Returns

s: query_path

The path for the started query.

Signals

NewNote ( s )

Description: Sent when a new note is loaded.

Parameters

s: note_path

The path of the newly loaded note.

NewTag ( s )

Description: Sent when a newly loaded or updated note has some unused before tag.

Parameters

s: tag

The name of new tag.

TagRemoved ( s )

Description: Sent when last instance of tag in notes is removed.

Parameters

s: tag

The name of removed tag.


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