AccountsController class

Implemented types

Constructors

AccountsController()

Properties

commandSet AccountsCommandSet
read / write
dependencyResolver ↔ DependencyResolver
read / write
persistence IAccountsPersistence
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

configure(ConfigParams config) → void
Configures component by passing configuration parameters. [...]
createAccount(String correlationId, AccountV1 account) → Future<AccountV1>
Creates an account. [...]
override
deleteAccountById(String correlationId, String id) → Future<AccountV1>
Deleted an account by it's unique id. [...]
override
getAccountById(String correlationId, String id) → Future<AccountV1>
Gets an account by its unique id. [...]
override
getAccountByIdOrLogin(String correlationId, String idOrLogin) → Future<AccountV1>
Gets an account by its unique id or login. [...]
override
getAccountByLogin(String correlationId, String login) → Future<AccountV1>
Gets an account by its login. [...]
override
getAccounts(String correlationId, FilterParams filter, PagingParams paging) → Future<DataPage<AccountV1>>
Gets a page of accounts retrieved by a given filter. [...]
override
getCommandSet() → CommandSet
Gets a command set. [...]
logUserActivity(String correlationId, AccountV1 account, String activityType) → void
setReferences(IReferences references) → void
Set references to component. [...]
updateAccount(String correlationId, AccountV1 account) → Future<AccountV1>
Updates an account. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited