AccountsDirectClientV1 class
Properties
-
controller
↔ dynamic
-
The controller reference.
getter/setter pairinherited
-
counters
↔ CompositeCounters
-
The performance counters
getter/setter pairinherited
-
dependencyResolver
↔ DependencyResolver
-
The dependency resolver to get controller reference.
getter/setter pairinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
logger
↔ CompositeLogger
-
The logger.
getter/setter pairinherited
-
opened
↔ bool
-
The open flag.
getter/setter pairinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
tracer
↔ CompositeTracer
-
The tracer.
getter/setter pairinherited
Methods
-
close(String? correlationId)
→ Future
-
Closes component and frees used resources.
inherited
-
configure(ConfigParams config)
→ void
-
Configures component by passing configuration parameters.
inherited
-
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
-
instrument(String? correlationId, String name)
→ InstrumentTiming
-
Adds instrumentation to log calls and measure call time.
It returns a Timing object that is used to end the time measurement.
inherited
-
instrumentError(String? correlationId, String name, dynamic err, [bool? reerror = false])
→ void
-
Adds instrumentation to error handling.
inherited
-
isOpen()
→ bool
-
Checks if the component is opened.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
open(String? correlationId)
→ Future
-
Opens the component.
inherited
-
setReferences(IReferences references)
→ void
-
Sets references to dependent components.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateAccount(String? correlationId, AccountV1 account)
→ Future<AccountV1>
-
Updates an account.
override