Package turbogears :: Package identity :: Module soprovider :: Class TG_User
[hide private]

Class TG_User

source code


Reasonably basic User definition.

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

Inherited from sqlobject.inheritance.InheritableSQLObject: SelectResultsClass

Inherited from sqlobject.main.SQLObject: __metaclass__

Instance Methods [hide private]
 
_get_permissions(self) source code
 
_set_password(self, cleartext_password)
Run cleartext_password through the hash algorithm before saving.
source code
 
set_password_raw(self, password)
Save the password as-is to the database.
source code
 
_SO_addTG_Group(self, obj)
 
_SO_from_python_childName(value, state)
 
_SO_from_python_created(value, state)
 
_SO_from_python_display_name(value, state)
 
_SO_from_python_email_address(value, state)
 
_SO_from_python_password(value, state)
 
_SO_from_python_user_name(value, state)
 
_SO_get_childName(self)
 
_SO_get_created(self)
 
_SO_get_display_name(self)
 
_SO_get_email_address(self)
 
_SO_get_groups(self)
 
_SO_get_password(self)
 
_SO_get_user_name(self)
 
_SO_removeTG_Group(self, obj)
 
_SO_set_childName(self, val)
 
_SO_set_created(self, val)
 
_SO_set_display_name(self, val)
 
_SO_set_email_address(self, val)
 
_SO_set_password(self, val)
 
_SO_set_user_name(self, val)
 
_SO_to_python_childName(value, state)
 
_SO_to_python_created(value, state)
 
_SO_to_python_display_name(value, state)
 
_SO_to_python_email_address(value, state)
 
_SO_to_python_password(value, state)
 
_SO_to_python_user_name(value, state)
 
_get_childName(self)
 
_get_created(self)
 
_get_display_name(self)
 
_get_email_address(self)
 
_get_groups(self)
 
_get_password(self)
 
_get_user_name(self)
 
_set_childName(self, val)
 
_set_created(self, val)
 
_set_display_name(self, val)
 
_set_email_address(self, val)
 
_set_user_name(self, val)
 
addTG_Group(self, obj)
 
removeTG_Group(self, obj)

Inherited from sqlobject.inheritance.InheritableSQLObject: destroySelf

Inherited from sqlobject.inheritance.InheritableSQLObject (private): _create, _reprItems

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

Inherited from sqlobject.main.SQLObject (private): _SO_finishCreate, _SO_foreignKey, _SO_getID, _SO_getValue, _SO_loadValue, _SO_selectInit, _SO_setValue, _expired, _init

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

Class Methods [hide private]
 
by_email_address(cls, val, connection=None) source code
 
by_user_name(cls, val, connection=None) source code

Inherited from sqlobject.inheritance.InheritableSQLObject: get, select, selectBy

Inherited from sqlobject.inheritance.InheritableSQLObject (private): _SO_setupSqlmeta, _findAlternateID, _notifyFinishClassCreation

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

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

Static Methods [hide private]

Inherited from sqlobject.inheritance.InheritableSQLObject: __classinit__

Class Variables [hide private]
  userId = DeprecatedAttr("userId", "user_name")
  emailAddress = DeprecatedAttr("emailAddress", "email_address")
  displayName = DeprecatedAttr("displayName", "display_name")
  _connection = PackageHub("turbogears.identity")

Inherited from sqlobject.inheritance.InheritableSQLObject: q

Inherited from sqlobject.inheritance.InheritableSQLObject (private): _inheritable

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

Properties [hide private]
  user_name
  email_address
  display_name
  password
  created
  groups
  childName
  permissions

Inherited from object: __class__

Property Details [hide private]

user_name

Get Method:
_get_user_name(self)
Set Method:
_SO_set_user_name(self, val)

email_address

Get Method:
_get_email_address(self)
Set Method:
_SO_set_email_address(self, val)

display_name

Get Method:
_SO_get_display_name(self)
Set Method:
_SO_set_display_name(self, val)

password

Get Method:
_get_password(self)
Set Method:
_set_password(self, cleartext_password) - Run cleartext_password through the hash algorithm before saving.

created

Get Method:
_get_created(self)
Set Method:
_SO_set_created(self, val)

groups

Get Method:
_SO_get_groups(self)

childName

Get Method:
_SO_get_childName(self)
Set Method:
_SO_set_childName(self, val)

permissions

Get Method:
_get_permissions(self)