Class: DataPortalEventArgs

bo.shared. DataPortalEventArgs

Provides the context for data portal events.

new DataPortalEventArgs(event, modelName, action, methodName, error)

Creates new data portal event arguments.

Warning: Data portal event arguments are created in models internally. They are intended only to make publicly available the context for data portal events.

Parameters:
Name Type Argument Description
event bo.shared.DataPortalEvent

The data portal event.

modelName string

The name of the business object model.

action bo.shared.DataPortalAction <optional>

The type of the data portal operation.

methodName string <optional>

The name of the data access object method called.

error bo.shared.DataPortalError <optional>

The eventual error occurred in data portal action.

Throws:

Members

<readonly> action :bo.shared.DataPortalAction

The type of the data portal operation.

Type:

<readonly> error :bo.shared.DataPortalError

The error occurred in data portal action, otherwise null.

Type:

<readonly> eventName :string

The name of the data portal event.

Type:
  • string

<readonly> locale :string

The current locale.

Type:
  • string

<readonly> methodName :string

The name of the data access object method called.

Type:
  • string

<readonly> modelName :string

The name of the business object model.

Type:
  • string

<readonly> user :bo.system.UserInfo

The current user.

Type:
If you find bugs or have feature requests, please let us know.

JavaScript business objects ♦ Copyright © 2014-2016 Logikum, Ltd.
Documentation generated by JSDoc 3.2.2 on 2015. December 31. using the DocStrap template.