Package turbogears :: Package identity :: Module soprovider :: Class TG_Permission

Class TG_Permission

source code

              object --+    
                       |    
sqlobject.main.SQLObject --+
                           |
                          TG_Permission

Permissions for a given group.

Nested Classes
  sqlmeta
This object is the object we use to keep track of all sorts of information.

Inherited from sqlobject.main.SQLObject: SelectResultsClass, __metaclass__

Instance Methods
 
addTG_Group(self, obj)
 
removeTG_Group(self, obj)

Inherited from sqlobject.main.SQLObject: __eq__, __ge__, __getstate__, __gt__, __init__, __le__, __lt__, __ne__, __repr__, __setstate__, __sqlrepr__, destroySelf, expire, set, sync, syncUpdate, tablesUsedImmediate

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

Class Methods
 
by_permission_name(cls, val, connection=None)
permission_name
source code

Inherited from sqlobject.main.SQLObject: clearTable, coerceID, createIndexes, createIndexesSQL, createJoinTables, createJoinTablesSQL, createTable, createTableSQL, delete, deleteBy, deleteMany, dropJoinTables, dropTable, get, select, selectBy, setConnection, sqlrepr, tableExists

Static Methods

Inherited from sqlobject.main.SQLObject: __classinit__

Class Variables
  j = permission
  q = permission

Inherited from sqlobject.main.SQLObject: childName

Properties
  permission_name
_SO_val_permission_name
  description
_SO_val_description
  groups

Inherited from object: __class__

Property Details

permission_name

_SO_val_permission_name

Get Method:
_get_permission_name(self) - _SO_val_permission_name
Set Method:
_SO_set_permission_name(self, val) - permission_name

description

_SO_val_description

Get Method:
_get_description(self) - _SO_val_description
Set Method:
_set_description(self, val) - description

groups

Get Method:
_SO_get_groups(self)