Class w.c.p.ProfileManager(Object):

Part of wader.common.profiles View In Hierarchy

Known subclasses: wader.common.profiles.DBusProfileManager

I manage mobile profiles
Method __init__ Undocumented
Method close Undocumented
Method create_profile Creates a new mobile profile from opts
Method delete_profile Deletes profile
Method edit_profile Edits profile from the opts dict
Method get_profiles Undocumented
Method get_profile_opaths Returns all the stored profiles as a list of MobileProfile objects
Method get_profile_ids Undocumented
def __init__(self, path=MOBILE_PROFILES):
Undocumented
def close(self):
Undocumented
def create_profile(self, opts):
Creates a new mobile profile from opts
Parametersopts (type: dict )
def delete_profile(self, profile):
Deletes profile
Raiseswader.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_profiles(self):
Undocumented
def get_profile_opaths(self):
Returns all the stored profiles as a list of MobileProfile objects
def get_profile_ids(self):
Undocumented
API Documentation for wader-core, generated by pydoctor at 2008-08-27 16:53:37.