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

Class SynchronizationModule

source code

      pisiinterfaces.AbstractSynchronizationModule --+        
                                                     |        
contacts.contacts.AbstractContactSynchronizationModule --+    
                                                         |    
                        contacts_vcf.SynchronizationModule --+
                                                             |
                     generic_remote.RemoteRessourceHandler --+
                                                             |
                                                            SynchronizationModule

The implementation of the interface events.AbstractCalendarSynchronizationModule for the VCF remote backend

Instance Methods [hide private]
 
__init__(self, modulesString, config, configsection, folder, verbose=False, soft=False)
Constructor
source code
 
load(self)
The file is downloaded from the webserver and then passed on to the (local) vcf module for parsing
source code
 
saveModifications(self)
Modifications are applied by local VCF module - the new file is uploaded to the original location.
source code

Inherited from contacts.contacts.AbstractContactSynchronizationModule: addContact, allContacts, flush, getContact, removeContact, replaceContact

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

Inherited from generic_remote.RemoteRessourceHandler: cleanup, download, upload

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

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

source code 

Constructor

Local variables are initialized. The settings from the configuration file are loaded. Super class constructors are called.

Overrides: generic_remote.RemoteRessourceHandler.__init__

load(self)

source code 

The file is downloaded from the webserver and then passed on to the (local) vcf module for parsing

Overrides: contacts_vcf.SynchronizationModule.load

saveModifications(self)

source code 

Modifications are applied by local VCF module - the new file is uploaded to the original location.

Overrides: contacts_vcf.SynchronizationModule.saveModifications