Package modules :: Module contacts_opimd
[hide private]
[frames] | no frames]

Module contacts_opimd

source code


Syncronize with OPIMD

General information about opimd is available here (L{http://wiki.openmoko.org/wiki/Opimd}).

This file is part of Pisi.

Pisi is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Pisi is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Pisi.  If not, see <http://www.gnu.org/licenses/>

Classes [hide private]
  SynchronizationModule
The implementation of the interface contacts.AbstractContactSynchronizationModule for OPIMD persistence backend
Variables [hide private]
  BUSNAME = "org.freesmartphone.opimd"
  PATH_CONTACTS = "/org/freesmartphone/PIM/Contacts"
  INTERFACE_CONTACTS = "org.freesmartphone.PIM.Contacts"
  INTERFACE_QUERY = "org.freesmartphone.PIM.ContactQuery"
  INTERFACE_CONTACT = "org.freesmartphone.PIM.Contact"
  INTERFACE_FIELDS = "org.freesmartphone.PIM.Fields"
  BACKEND_TYPE_SQLITE = "SQLite-Contacts"
  CONF_FIELDSUPPORT = "field_support"
Type assignment
  TYPE_DEFS = {"Name": 'name', "Middlename": 'name', "Surname": ...
Variables Details [hide private]

CONF_FIELDSUPPORT

Type assignment

Available Types are: objectpath, phonenumber, address, email, name, date, uri, photo, text, longtext, boolean, timezone, number, integer, generic

See http://wiki.openmoko.org/wiki/Opimd_redesign#Changes_in_fields for details.

Value:
"field_support"

TYPE_DEFS

Value:
{"Name": 'name', "Middlename": 'name', "Surname": 'name', "Email": 'em\
ail', "Phone": 'phonenumber', "Mobile phone": 'phonenumber', "Home pho\
ne": 'phonenumber', "Work phone": 'phonenumber', "HomeStreet": 'addres\
s', "HomePostalCode": 'address', "HomeCity": 'address', "HomeCountry":\
 'address', "HomeState": 'address', "Organisation": None, "BusinessPos\
talCode": 'address', "BusinessStreet": 'address', "BusinessCity": 'add\
ress', "BusinessCountry": 'address', "BusinessState": 'address', "Fax \
phone": 'phonenumber', "Title": None, "Departement": None,}