new ubMethodParams()#

Structure passed as a parameter for all entity level scripting methods

Members

dataStore: TubDataStoreinstance #

Data Store associated with current method execution context. If initialized - will be added to client response

externalCall: Booleaninstance #

Indicate current method execution initiated by external caller (client). If false - this method is called from server.

mParams: TubListinstance #

In/Out method parameters. All parameters added or modified in this object is passed back to client In case method is called from client mParams is a serialized request body

originalParams: TubListinstance #

Params caller pass to HTTP request.

skipOptimisticLock: Booleaninstance #

Do not check row modification date while execute statement.

Methods

preventDefault()instance#

Do not call methods of other mixins with the same method name. This mean if preventDefault() is called in the overridden beforeselect, only beforeselect of mixin method will not be called. Useful if we want to override original method implementation by our own implementation.

See ubm_form.update implementation for usage sample.