Package com.caplin.motif.fx.tobo
Class TOBOEntityAdapter
java.lang.Object
com.caplin.motif.fx.tobo.TOBOEntityAdapter
Constructs a TOBOEntityAdapter to handle requests for the TOBO Entity subjects.
-
Constructor Summary
ConstructorDescriptionTOBOEntityAdapter
(com.caplin.datasource.DataSource dataSource) Constructs a TOBOEntityAdapter to handle requests for the TOBO Entity subjects. -
Method Summary
Modifier and TypeMethodDescriptionvoid
registerTOBOEntityBlotterListener
(TOBOEntityListener<TOBOEntityChannel> toboEntityListener) Registers a BlotterListener that is capable of responding to TOBO Entity requestsvoid
registerTOBOEntityBlotterListener
(TOBOEntityListener<TOBOEntityChannel> toboEntityListener, String channelNamespace, String itemNamespace) Registers a BlotterListener that is capable of responding to TOBO Entity requestsvoid
registerTOBOEntityChangeProvider
(TOBOEntityChangeProvider<TOBOChangeEntitySubjectInfo> toboEntityChangeProvider) Registers a provider that is capable of responding to TOBO Entity change requests<T extends SubjectInfo>
voidregisterTOBOEntityChangeProvider
(TOBOEntityChangeProvider<T> toboEntityChangeProvider, com.caplin.datasource.namespace.Namespace namespace) Registers a provider that is capable of responding to TOBO Entity change requests
-
Constructor Details
-
TOBOEntityAdapter
public TOBOEntityAdapter(com.caplin.datasource.DataSource dataSource) Constructs a TOBOEntityAdapter to handle requests for the TOBO Entity subjects.- Parameters:
dataSource
- The dataSource to wrap.
-
-
Method Details
-
registerTOBOEntityBlotterListener
public void registerTOBOEntityBlotterListener(TOBOEntityListener<TOBOEntityChannel> toboEntityListener) Registers a BlotterListener that is capable of responding to TOBO Entity requests- Parameters:
toboEntityListener
- the TOBOEntityListener that will receive the TOBO Entity requests
-
registerTOBOEntityBlotterListener
public void registerTOBOEntityBlotterListener(TOBOEntityListener<TOBOEntityChannel> toboEntityListener, String channelNamespace, String itemNamespace) Registers a BlotterListener that is capable of responding to TOBO Entity requests- Parameters:
toboEntityListener
- the BlotterListener that will receive the TOBO Entity requestschannelNamespace
- the namespace for the channelitemNamespace
- the namespace for the blotter items
-
registerTOBOEntityChangeProvider
public void registerTOBOEntityChangeProvider(TOBOEntityChangeProvider<TOBOChangeEntitySubjectInfo> toboEntityChangeProvider) Registers a provider that is capable of responding to TOBO Entity change requests- Parameters:
toboEntityChangeProvider
- the TOBOEntityChangeProvider that will receive the TOBO Entity change requests
-
registerTOBOEntityChangeProvider
public <T extends SubjectInfo> void registerTOBOEntityChangeProvider(TOBOEntityChangeProvider<T> toboEntityChangeProvider, com.caplin.datasource.namespace.Namespace namespace) Registers a provider that is capable of responding to TOBO Entity change requests- Parameters:
toboEntityChangeProvider
- the TOBOEntityChangeProvider that will receive the TOBO Entity change requestsnamespace
- the namespace for the TOBO Entity change requests
-