Package conduit :: Package dataproviders :: Module Opensync :: Class ContactDataprovider
[hide private]

Class ContactDataprovider

source code


Implement mappings between Conduit vcard and OS vcard

Instance Methods [hide private]
 
_change_to_object(self, change)
Map from an opensync data object to a Conduit data object
source code
 
_object_to_change(self, obj)
Map from a Conduit data object to an opensync data object
source code

Inherited from BaseDataprovider: __init__, delete, finish, get, get_UID, get_all, put, refresh

Inherited from BaseDataprovider (private): _convert, _get_config, _get_hash

Inherited from DataProvider.DataSource: add, get_changes, get_num_items

Inherited from DataProvider.DataProviderBase: configure, emit, emit_change_detected, get_configuration, get_configuration_xml, get_input_conversion_args, get_input_type, get_name, get_output_conversion_args, get_output_type, get_status, initialize, is_busy, is_configured, set_configuration, set_configuration_xml, set_status, uninitialize

Class Variables [hide private]
  _in_type_ = "contact"
  _out_type_ = "contact"
  _icon_ = "contact-new"
  _osync_type_ = "vcard30"

Inherited from BaseDataprovider: _module_type_

Inherited from DataProvider.DataProviderBase: __gsignals__, _category_, _configurable_, _description_, _name_

Method Details [hide private]

_change_to_object(self, change)

source code 
Map from an opensync data object to a Conduit data object
Overrides: BaseDataprovider._change_to_object
(inherited documentation)

_object_to_change(self, obj)

source code 
Map from a Conduit data object to an opensync data object
Overrides: BaseDataprovider._object_to_change
(inherited documentation)