Class TOBOEntityAdapter

java.lang.Object
com.caplin.motif.fx.tobo.TOBOEntityAdapter

public class TOBOEntityAdapter extends Object
Constructs a TOBOEntityAdapter to handle requests for the TOBO Entity subjects.
  • 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 requests
      channelNamespace - the namespace for the channel
      itemNamespace - 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 requests
      namespace - the namespace for the TOBO Entity change requests