Class
caplin.presenter.domain.node

PermissionOptionsNodeList

An OptionsNodeList that is populated with values retrieved from the caplin.services.security.PermissionService singleton.

Constructor Summary

Attributes Name and Description
caplin.presenter.domain.node.PermissionOptionsNodeList(String sSubject, String sNamespace)

Constructs a PermissionOptionsNodeList subscribed to the given subject and namespace.

Method Summary

Attributes Name and Description
void setSubject(String sSubject)

Update the Liberator subject that permissions are required for.

Methods inherited from class caplin.presenter.node.OptionsNodeList:
getFirstOption, getOptionByLabel, getOptionByValue, getOptionLabels, getOptions, getOptionValues, setOptions
Methods implemented from class caplin.services.security.PermissionServiceListener:
onAttributeChanged, onPermissionsChanged, onSinglePermissionChanged

Constructor Detail

caplin.presenter.domain.node.PermissionOptionsNodeList(String sSubject, String sNamespace)

Constructs a PermissionOptionsNodeList subscribed to the given subject and namespace.

Parameters
String sSubject The asset class and product, e.g. '/FX/USDCAD'
String sNamespace The namespace for the permissions, e.g. 'Account'

Method Detail

void setSubject(String sSubject)

Update the Liberator subject that permissions are required for.

Parameters
String sSubject The asset class and product, e.g. '/FX/USDCAD'