Caplin Trader 4.2.0

Class: module:caplin/presenter/domain/property/PermissionProperty

module:caplin/presenter/domain/property/PermissionProperty

A presenter property that subscribes to the permissions for a given subject and namespace.

Constructor

new module:caplin/presenter/domain/property/PermissionProperty(sSubject, namespace)

Constructs a new permission property.
Extends:
Parameters:
Name Type Description
sSubject String The asset class and product, e.g. '/FX/USDCAD'
namespace String The namespace for the permissions, e.g. 'Account'
Implements:

Extends

Methods

setSubject(sSubject)

Update the Liberator subject that permissions are subscribed for.
Parameters:
Name Type Description
sSubject String The asset class and product, e.g. '/FX/USDCAD'