Property

Classes

Property

inner
configuration

The configuration object for business objects.

Properties

Name Type Optional Description

connectionManager

bo.dataAccess.ConnectionManagerBase

 

The connection manager instance. It must be set via bo.initialize or bo.configuration.initialize.

daoBuilder

external.daoBuilder

 

Factory method to create data access objects. The default method is bo.dataAccess.daoBuilder.

getUser

external.getUser

 

Returns the current user. The default method returns null, i.e. anonymous user is assumed.

getLocale

external.getLocale

 

Returns the current locale. The default method returns an empty string, i.e. the business objects will use the default messages.

pathOfLocales

string

Yes

The relative path of the directory containing project locales. If not supplied, the business objects cannot interpret the first message argument as the message key, i.e. the first message argument must be the message text.

noAccessBehavior

bo.rules.NoAccessBehavior

 

The default behavior for unauthorized operations. The default value is bo.rules.NoAccessBehavior#throwError.

initialize

internal~initializeCfg

 

Reads the configuration of business objects.