public class ActivityBlotterService
extends java.lang.Object
implements com.caplin.datasource.blotter.BlotterApplicationListener
Constructor and Description |
---|
ActivityBlotterService(BlotterItemFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
blotterChannelClosed(com.caplin.datasource.blotter.BlotterChannel channel)
Called once when the activity blotter is discarded by the user.
|
void |
blotterChannelOpened(com.caplin.datasource.blotter.BlotterChannel channel)
Called once when the activity blotter is subscribed to by the user.
|
void |
updateDeal(java.lang.String user,
java.lang.String dealId,
java.util.Map<java.lang.String,java.lang.String> fields)
Called by us whenever the state of a deal changes (notified by the FX API).
|
@Inject public ActivityBlotterService(BlotterItemFactory factory)
public void blotterChannelOpened(com.caplin.datasource.blotter.BlotterChannel channel)
blotterChannelOpened
in interface com.caplin.datasource.blotter.BlotterApplicationListener
channel
- BlotterChannel
associated with requested subject.public void blotterChannelClosed(com.caplin.datasource.blotter.BlotterChannel channel)
blotterChannelClosed
in interface com.caplin.datasource.blotter.BlotterApplicationListener
channel
- BlotterChannel
associated with requested subject.public void updateDeal(java.lang.String user, java.lang.String dealId, java.util.Map<java.lang.String,java.lang.String> fields)
user
- A string identifying the logged in user, their logged in namedealId
- A string identifying a new or existing dealfields
- A dictionary of field : value pairsCopyright © 2016 Caplin Systems.