Package modules :: Module calendar_syncml :: Class SynchronizationModule
[hide private]
[frames] | no frames]

Class SynchronizationModule

source code

   pisiinterfaces.AbstractSynchronizationModule --+    
                                                  |    
events.events.AbstractCalendarSynchronizationModule --+
                                                      |
                                                     SynchronizationModule

The implementation of the interface events.AbstractCalendarSynchronizationModule for the Syncml Calendar backend

Instance Methods [hide private]
 
__init__(self, modulesString, config, configsection, folder, verbose=False, soft=False)
Constructor
source code
 
load(self)
Load all data from backend
source code
 
saveModifications(self)
Save whatever changcalendar_syncml.pyes have come by
source code

Inherited from events.events.AbstractCalendarSynchronizationModule: addEvent, allEvents, getEvent, removeEvent, replaceEvent

Inherited from pisiinterfaces.AbstractSynchronizationModule: addEntry, allEntries, flush, getDescription, getEntry, getName, postProcess, preProcess, prettyPrint, removeEntry, replaceEntry

Instance Variables [hide private]
Method Details [hide private]

__init__(self, modulesString, config, configsection, folder, verbose=False, soft=False)
(Constructor)

source code 

Constructor

Super class constructor (events.AbstractCalendarSynchronizationModule.__init__) is called. Local variables are initialized. The settings from the configuration file are loaded. The connection to the Google Gdata backend is established.

Overrides: pisiinterfaces.AbstractSynchronizationModule.__init__

load(self)

source code 

Load all data from backend

For data parsing (VCF) the tools layer in vobjecttools is used.

saveModifications(self)

source code 

Save whatever changcalendar_syncml.pyes have come by

The history of actions for this data source is iterated. For each item in there the corresponding action is carried out on the item in question. For data assembling (ICS) the tools layer in vobjecttools is used.