Class
caplin.presenter.domain.property

PermissionProperty

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

Constructor Summary

Attributes Name and Description
caplin.presenter.domain.property.PermissionProperty(String sSubject, String sNamespace)

Constructs a new permission property.

Method Summary

Attributes Name and Description
void setSubject(String sSubject)

Update the Liberator subject that permissions are subscribed for.

Methods inherited from class caplin.presenter.property.Property:
addChangeListener, addFormatter, addListener, addUpdateListener, getFormattedValue, getPath, getRenderedValue, getValue, removeAllListeners, removeListener
Methods implemented from class caplin.services.security.PermissionServiceListener:
onAttributeChanged, onPermissionsChanged, onSinglePermissionChanged

Constructor Detail

caplin.presenter.domain.property.PermissionProperty(String sSubject, String sNamespace)

Constructs a new permission property.

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 subscribed for.

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