AccountsController class
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
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setReferences(IReferences references)
→ void
-
Set references to component.
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateAccount(String? correlationId, AccountV1 account)
→ Future<AccountV1?>
-
Updates an account.
override