Package sabayon :: Module systemdb :: Class GroupDatabase
[hide private]
[frames] | no frames]

Class GroupDatabase

source code


Encapsulate a group mapping

Instance Methods [hide private]
  __init__(self, db_file=None)
Create a SystemDatabase object.
  get_profile(self, groupname, profile_location=True, ignore_default=False)
  is_sabayon_controlled(self, groupname)
  set_profile(self, groupname, profile)
  get_groups(self)
Return the list of groups on the system.

Inherited from SystemDatabase: __del__, gen_get_profile, gen_is_sabayon_controlled, gen_set_profile, get_default_profile, get_profiles, set_default_profile

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, db_file=None)
(Constructor)

source code 
Create a SystemDatabase object.
Overrides: SystemDatabase.__init__
(inherited documentation)

get_profile(self, groupname, profile_location=True, ignore_default=False)

source code 
None

is_sabayon_controlled(self, groupname)

source code 
None

set_profile(self, groupname, profile)

source code 
None

get_groups(self)

source code 
Return the list of groups on the system. These should be real groups - i.e. should not include system groups like lp, udev, etc.