Class TOBOEntityChangeProvider<T extends SubjectInfo>

  • All Implemented Interfaces:
    com.caplin.datasource.publisher.CachingDataProvider, com.caplin.datasource.subscription.SubscriptionListener

    public abstract class TOBOEntityChangeProvider<T extends SubjectInfo>
    extends com.caplin.datasource.subscription.BaseSubscriptionListener
    implements com.caplin.datasource.publisher.CachingDataProvider
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void genericMessageUpdated​(com.caplin.datasource.subscription.Subscription subscription, com.caplin.datasource.Peer peer, com.caplin.datasource.messaging.record.GenericMessage message)  
      void initialise​(TOBOEntityPublisher toboEntityPublisher)  
      void onRequest​(java.lang.String subject)  
      protected abstract void onRequest​(T subject)  
      protected abstract void onTOBOEntityChanged​(T subject, java.lang.String entityId, java.lang.String description)  
      • Methods inherited from class com.caplin.datasource.subscription.BaseSubscriptionListener

        containerUpdated, jsonUpdated, newsUpdated, pageUpdated, permissionUpdated, recordType2Updated, recordType3Updated, recordUpdated, storyUpdated, subjectErrorReceived, subjectStatusReceived
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.caplin.datasource.publisher.CachingDataProvider

        onDiscard, setPublisher
    • Constructor Detail

      • TOBOEntityChangeProvider

        public TOBOEntityChangeProvider​(java.util.logging.Logger logger,
                                        SubjectParser<T> subjectParser)
    • Method Detail

      • onTOBOEntityChanged

        protected abstract void onTOBOEntityChanged​(T subject,
                                                    java.lang.String entityId,
                                                    java.lang.String description)
      • onRequest

        protected abstract void onRequest​(T subject)
      • onRequest

        public void onRequest​(java.lang.String subject)
        Specified by:
        onRequest in interface com.caplin.datasource.publisher.CachingDataProvider
      • genericMessageUpdated

        public void genericMessageUpdated​(com.caplin.datasource.subscription.Subscription subscription,
                                          com.caplin.datasource.Peer peer,
                                          com.caplin.datasource.messaging.record.GenericMessage message)
        Specified by:
        genericMessageUpdated in interface com.caplin.datasource.subscription.SubscriptionListener
        Overrides:
        genericMessageUpdated in class com.caplin.datasource.subscription.BaseSubscriptionListener