Class v.c.p.ProfileManager(object):

Part of vmc.common.profiles View In Hierarchy

I manage mobile profiles
Method __init__ Undocumented
Method add_profile Called when a new profile is added remotely (with an updater)
Method create_profile Creates a new mobile profile with name from the opts dict
Method delete_profile Deletes profile
Method edit_profile Edits profile from the opts dict
Method get_profile_list Returns all the stored profiles as a list of MobileProfile objects
Method load_profile Loads profile
def __init__(self, path=MOBILE_PROFILES):
Undocumented
def _configure_connection(self, profile):
Undocumented
def _configure_profile(self, name, opts):
Undocumented
def add_profile(self, profile):
Called when a new profile is added remotely (with an updater)
def create_profile(self, name, opts):
Creates a new mobile profile with name from the opts dict
def delete_profile(self, profile):
Deletes profile
Raisesvmc.common.exceptions.ProfileInUseErrorIf the profile to delete is the active profile
OSErrorRaised if we don't have permissions to delete profile
IOErrorRaised if profile doesn't exists or any other IO error
def edit_profile(self, profile, opts):
Edits profile from the opts dict
def get_profile_list(self):
Returns all the stored profiles as a list of MobileProfile objects
def load_profile(self, profile):

Loads profile

This just swaps the profiles in the config singleton and sets the new connection preferences
API Documentation for vodafone-mobile-connect-card-driver-for-linux, generated by pydoctor at 2008-01-10 13:06:31.