class staticbo.shared. ExtensionManager
Source: shared/
Provides properties to customize asynchronous models' behavior.
new ExtensionManager(dataSource, modelPath)
Creates a new extension manager object for an asynchronous model.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
dataSource |
string |
|
The name of the data source. |
modelPath |
string |
|
The full path of the model. |
- Extends
- bo.shared.ExtensionManagerBase
- Throws
-
Argument error: The data source must be a non-empty string.
-
Argument error: The model path must be a non-empty string.
Properties
read-onlydaoBuilder
external.daoBuilder
Factory method to create the data access object for a model instance.
- Inherited from
- bo.shared.ExtensionManagerBase#daoBuilder
read-onlydataCreate
external.dataCreate
Returns the property values of a new instance from the data source.
- Inherited from
- bo.shared.ExtensionManagerBase#dataCreate
read-onlydataExecute
external.dataExecute
Executes a command on the data source.
- Inherited from
- bo.shared.ExtensionManagerBase#dataExecute
read-onlydataFetch
external.dataFetch
Returns the property values of an existing instance from the data source.
- Inherited from
- bo.shared.ExtensionManagerBase#dataFetch
read-onlydataInsert
external.dataInsert
Saves a new instance into the data source.
- Inherited from
- bo.shared.ExtensionManagerBase#dataInsert
read-onlydataRemove
external.dataRemove
Deletes an existing instance from the data source.
- Inherited from
- bo.shared.ExtensionManagerBase#dataRemove
read-onlydataSource
string
The name of the data source.
- Inherited from
- bo.shared.ExtensionManagerBase#dataSource
read-onlydataUpdate
external.dataUpdate
Saves an existing instance into the data source.
- Inherited from
- bo.shared.ExtensionManagerBase#dataUpdate
read-onlyfromCto
external.fromCto
Converts the client transfer object to model instance.
- Inherited from
- bo.shared.ExtensionManagerBase#fromCto
read-onlyfromDto
external.fromDto
Converts the data transfer object to model instance.
- Inherited from
- bo.shared.ExtensionManagerBase#fromDto
read-onlymodelPath
string
The path of the model definition.
- Inherited from
- bo.shared.ExtensionManagerBase#modelPath
read-onlytoCto
external.toCto
Converts the model instance to client transfer object.
- Inherited from
- bo.shared.ExtensionManagerBase#toCto
read-onlytoDto
external.toDto
Converts the model instance to data transfer object.
- Inherited from
- bo.shared.ExtensionManagerBase#toDto