freesmartphone.org Framework DBus Interface Specification

org.freesmartphone.PIM.Source

Description

Get information about one PIM data source

Namespace

org.freesmartphone.PIM.Source

Methods

Signals

None

Errors

None

Methods

GetName ( ) → s

Description: Get the sources name.

Returns

s: source_name

The name of the PIM data source

GetStatus ( ) → s

Description: Get the sources status.

Returns

s: source_status

The status of the PIM data source

GetSupportedPIMDomains ( ) → as

Description: Get the list of PIM domains this source supports.

Returns

as: source_domains

The list of supported PIM domains

Enable ( )

Description: Enable backend.

Disable ( )

Description: Disable backend.

GetEnabled ( ) → b

Description: Check, if backend is enabled.

Returns

b: source_enabled

Current state of backend (enabled or disabled)

GetInitialized ( ) → b

Description: Check, if backend is already initialized.

Returns

b: source_initialized

Current state of backend (initialized or not initialized)

GetProperties ( ) → as

Description: Get the list of properties this source supports. Possible properties: add_entry, upd_entry, del_entry, upd_entry_with_new_field, needs_login

Returns

as: source_properties

The list of supported properties

SetAsDefault ( s )

Description: Set this backend as default in specified domain.

Parameters

s: domain

Name of domain

Synchronize ( ) → b

Description: Synchronize backend if it needs synchronizing.

Returns

b: success

True if synchronization went successfully; False otherwise.


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