
Public Member Functions | |
| AccountFactory () | |
| bool | DeleteAccount (Account account) |
| bool | UpdateAccount (Account account) |
| bool | UpdateAccount (Account account, bool update_contact_info) |
| bool | AddAccount (Account new_account) |
| bool | AddAccount (Account new_account, bool allot_contact_info) |
| String | GetAccountNameFromId (int id, Organization organization) |
| Account | GetAccountByName (String name, Organization organization) |
| Account | GetAccountById (int id, Organization organization) |
| List< Map.Account > | GetAccountList (Db.FieldMatch[] Fields, Organization organization) |
| bool | GetAccountNameExists (String account_name, Organization organization) |
| Account | NewAccount (String account_name, String hashed_password, AccountType Type, AccountStatus Status, Organization organization) |
| Account | GetAccountBySession (String session_id) |
| Account | GetAccountBySession (Session.AccountSession session) |
| void | UpdateAccountStatistics (Account user) |
Protected Member Functions | |
| override bool | CanUpdateColumn (String column_name) |
| override void | SetParameters (IDataParameterCollection coll, Map.NameId map, Db.DbProcessingInstruction instruction) |
| override NameId | Read (IDataReader reader, Db.DbProcessingInstruction instruction) |
| void | UpdateAccountStatistics (IDbConnection connection, Account user) |
Private Member Functions | |
| Account | GetAccountBySession (IDbConnection connection, String session_id) |
| Account | GetAccountBySession (IDbConnection connection, Session.AccountSession session) |
Static Private Member Functions | |
| static Map.Account | MapConverter (Map.NameId map) |
Private Attributes | |
| Dictionary< int, String > | account_names = null |
| Core.Tools.AccountManager.Factories.AccountFactory.AccountFactory | ( | ) |
| override bool Core.Tools.AccountManager.Factories.AccountFactory.CanUpdateColumn | ( | String | column_name | ) | [protected, virtual] |
Reimplemented from Core.Tools.AccountManager.Factories.NameIdFactory.
| bool Core.Tools.AccountManager.Factories.AccountFactory.DeleteAccount | ( | Account | account | ) |
| bool Core.Tools.AccountManager.Factories.AccountFactory.UpdateAccount | ( | Account | account | ) |
| bool Core.Tools.AccountManager.Factories.AccountFactory.UpdateAccount | ( | Account | account, | |
| bool | update_contact_info | |||
| ) |
| bool Core.Tools.AccountManager.Factories.AccountFactory.AddAccount | ( | Account | new_account | ) |
| bool Core.Tools.AccountManager.Factories.AccountFactory.AddAccount | ( | Account | new_account, | |
| bool | allot_contact_info | |||
| ) |
| String Core.Tools.AccountManager.Factories.AccountFactory.GetAccountNameFromId | ( | int | id, | |
| Organization | organization | |||
| ) |
| Account Core.Tools.AccountManager.Factories.AccountFactory.GetAccountByName | ( | String | name, | |
| Organization | organization | |||
| ) |
| Account Core.Tools.AccountManager.Factories.AccountFactory.GetAccountById | ( | int | id, | |
| Organization | organization | |||
| ) |
| List<Map.Account> Core.Tools.AccountManager.Factories.AccountFactory.GetAccountList | ( | Db.FieldMatch[] | Fields, | |
| Organization | organization | |||
| ) |
| override void Core.Tools.AccountManager.Factories.AccountFactory.SetParameters | ( | IDataParameterCollection | coll, | |
| Map.NameId | map, | |||
| Db.DbProcessingInstruction | instruction | |||
| ) | [protected] |
| bool Core.Tools.AccountManager.Factories.AccountFactory.GetAccountNameExists | ( | String | account_name, | |
| Organization | organization | |||
| ) |
| Account Core.Tools.AccountManager.Factories.AccountFactory.NewAccount | ( | String | account_name, | |
| String | hashed_password, | |||
| AccountType | Type, | |||
| AccountStatus | Status, | |||
| Organization | organization | |||
| ) |
| override NameId Core.Tools.AccountManager.Factories.AccountFactory.Read | ( | IDataReader | reader, | |
| Db.DbProcessingInstruction | instruction | |||
| ) | [protected, virtual] |
Reimplemented from Core.Tools.AccountManager.Factories.NameIdFactory.
| static Map.Account Core.Tools.AccountManager.Factories.AccountFactory.MapConverter | ( | Map.NameId | map | ) | [static, private] |
| Account Core.Tools.AccountManager.Factories.AccountFactory.GetAccountBySession | ( | String | session_id | ) |
| Account Core.Tools.AccountManager.Factories.AccountFactory.GetAccountBySession | ( | Session.AccountSession | session | ) |
| Account Core.Tools.AccountManager.Factories.AccountFactory.GetAccountBySession | ( | IDbConnection | connection, | |
| String | session_id | |||
| ) | [private] |
| Account Core.Tools.AccountManager.Factories.AccountFactory.GetAccountBySession | ( | IDbConnection | connection, | |
| Session.AccountSession | session | |||
| ) | [private] |
| void Core.Tools.AccountManager.Factories.AccountFactory.UpdateAccountStatistics | ( | Account | user | ) |
| void Core.Tools.AccountManager.Factories.AccountFactory.UpdateAccountStatistics | ( | IDbConnection | connection, | |
| Account | user | |||
| ) | [protected] |
Dictionary<int, String> Core.Tools.AccountManager.Factories.AccountFactory.account_names = null [private] |