MessageTemplatesDirectClientV1 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
-
createTemplate(String? correlationId, MessageTemplateV1 template)
→ Future<MessageTemplateV1?>
-
Creates a template.
override
-
deleteTemplateById(String? correlationId, String id)
→ Future<MessageTemplateV1?>
-
Deleted a template by it's unique id.
override
-
getTemplateById(String? correlationId, String id)
→ Future<MessageTemplateV1?>
-
Gets a template by its unique id.
override
-
getTemplateByIdOrName(String? correlationId, String idOrName)
→ Future<MessageTemplateV1?>
-
Gets a template by its unique id or name.
override
-
getTemplates(String? correlationId, FilterParams? filter, PagingParams? paging)
→ Future<DataPage<MessageTemplateV1>>
-
Gets a page of templates 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
-
updateTemplate(String? correlationId, MessageTemplateV1 template)
→ Future<MessageTemplateV1?>
-
Updates a template.
override