Package bodhi :: Package identity :: Module tables :: Class User
[hide private]
[frames] | no frames]

Class User

source code

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

Nested Classes [hide private]
  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 [hide private]
 
_get_permissions(self) source code
 
_set_password(self, cleartext_password)
Runs cleartext_password through the hash algorithm before saving.
source code
 
set_password_raw(self, password)
Saves the password as-is to the database.
source code
 
_SO_addGroup(self, obj)
 
_SO_from_python_created(value, state)
 
_SO_from_python_display_name(value, state)
 
_SO_from_python_password(value, state)
 
_SO_from_python_user_name(value, state)
 
_SO_get_created(self)
_SO_val_created
 
_SO_get_display_name(self)
_SO_val_display_name
 
_SO_get_groups(self)
 
_SO_get_password(self)
_SO_val_password
 
_SO_get_user_name(self)
_SO_val_user_name
 
_SO_removeGroup(self, obj)
 
_SO_set_created(self, val)
created
 
_SO_set_display_name(self, val)
display_name
 
_SO_set_password(self, val)
password
 
_SO_set_user_name(self, val)
user_name
 
_SO_to_python_created(value, state)
 
_SO_to_python_display_name(value, state)
 
_SO_to_python_password(value, state)
 
_SO_to_python_user_name(value, state)
 
_get_created(self)
_SO_val_created
 
_get_display_name(self)
_SO_val_display_name
 
_get_groups(self)
 
_get_password(self)
_SO_val_password
 
_get_user_name(self)
_SO_val_user_name
 
_set_created(self, val)
created
 
_set_display_name(self, val)
display_name
 
_set_user_name(self, val)
user_name
 
addGroup(self, obj)
 
removeGroup(self, obj)

Inherited from sqlobject.main.SQLObject: __init__, __repr__, addColumn, addIndex, addJoin, delColumn, delJoin, destroySelf, expire, set, sync, syncUpdate

Inherited from sqlobject.main.SQLObject (private): _SO_finishCreate, _SO_foreignKey, _SO_getID, _SO_getValue, _SO_loadValue, _SO_selectInit, _SO_setValue, _cacheValues, _childClasses, _create, _defaultOrder, _expired, _fromDatabase, _idName, _idType, _init, _lazyUpdate, _parentClass, _registry, _reprItems, _style, _table

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

Class Methods [hide private]
 
by_user_name(cls, val, connection=None)
user_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

Inherited from sqlobject.main.SQLObject (private): _SO_cleanDeprecatedAttrs, _SO_depends, _SO_fetchAlternateID, _SO_setupSqlmeta, _findAlternateID, _getJoinsToCreate, _notifyFinishClassCreation

Static Methods [hide private]

Inherited from sqlobject.main.SQLObject: __classinit__

Class Variables [hide private]
  _connection = <turbogears.database.PackageHub object at 0xa34e...
  q = tg_user

Inherited from sqlobject.main.SQLObject: childName

Inherited from sqlobject.main.SQLObject (private): _SO_finishedClassCreation, _inheritable, _parent

Properties [hide private]
  user_name
_SO_val_user_name
  display_name
_SO_val_display_name
  password
_SO_val_password
  groups
  created
_SO_val_created
  permissions

Inherited from object: __class__

Class Variable Details [hide private]

_connection

Value:
PackageHub("bodhi")

Property Details [hide private]

user_name

_SO_val_user_name
Get Method:
bodhi.identity.tables.User._SO_get_user_name(self) - _SO_val_user_name
Set Method:
bodhi.identity.tables.User._SO_set_user_name(self, val) - user_name

display_name

_SO_val_display_name
Get Method:
bodhi.identity.tables.User._get_display_name(self) - _SO_val_display_name
Set Method:
bodhi.identity.tables.User._SO_set_display_name(self, val) - display_name

password

_SO_val_password
Get Method:
bodhi.identity.tables.User._get_password(self) - _SO_val_password
Set Method:
bodhi.identity.tables.User._set_password(self, cleartext_password) - Runs cleartext_password through the hash algorithm before saving.

groups

Get Method:
bodhi.identity.tables.User._SO_get_groups(self)

created

_SO_val_created
Get Method:
bodhi.identity.tables.User._get_created(self) - _SO_val_created
Set Method:
bodhi.identity.tables.User._SO_set_created(self, val) - created

permissions

Get Method:
bodhi.identity.tables.User._get_permissions(self)