Class CalendarServiceRequestListener

  • All Implemented Interfaces:
    com.caplin.motif.fx.calendar.CancellableSettlementDateRequestListener<com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo>, com.caplin.motif.fx.calendar.CancellableTenorDateRequestListener<com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo>, com.caplin.motif.fx.calendar.NdfDateProvider<com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo>, com.caplin.motif.fx.calendar.SettlementDateRequestListener<com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo>, com.caplin.motif.fx.calendar.SettlementFixingDateProvider<com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo>, com.caplin.motif.fx.calendar.TenorDateRequestListener<com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo>

    public class CalendarServiceRequestListener
    extends java.lang.Object
    implements com.caplin.motif.fx.calendar.SettlementDateRequestListener<com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo>, com.caplin.motif.fx.calendar.TenorDateRequestListener<com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo>, com.caplin.motif.fx.calendar.SettlementFixingDateProvider<com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo>, com.caplin.motif.fx.calendar.NdfDateProvider<com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCaption​(com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo subjectInfo)  
      java.lang.String getCaption​(com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo subjectInfo)  
      void getFixingDatesForSettlementDates​(com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo subjectInfo, java.util.Set<java.lang.String> settlementDates, com.caplin.motif.fx.calendar.Callback<java.util.Map<java.lang.String,​java.lang.String>> callback)  
      void getFixingDatesForTenorDates​(com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo subjectInfo, java.util.Map<com.caplin.motif.fx.common.Tenor,​java.lang.String> tenorDates, com.caplin.motif.fx.calendar.Callback<java.util.Map<com.caplin.motif.fx.common.Tenor,​java.lang.String>> callback)  
      void getMinimumTenorDate​(com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo retTenorDateSubjectInfo, com.caplin.motif.fx.calendar.Callback<java.lang.String> callback)  
      void getSettlementDates​(com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo subjectInfo, com.caplin.motif.fx.calendar.Callback<java.util.Set<java.lang.String>> callback)  
      void getTenorDates​(com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo tenorDateSubjectInfo, com.caplin.motif.fx.calendar.Callback<java.util.Map<com.caplin.motif.fx.common.Tenor,​java.lang.String>> callback)  
      boolean hasFixingDates​(com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo subjectInfo)  
      boolean isNonDeliverable​(com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo subjectInfo)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.caplin.motif.fx.calendar.NdfDateProvider

        getFixingSources, getForwardType, getSettlementCurrencies
      • Methods inherited from interface com.caplin.motif.fx.calendar.SettlementDateRequestListener

        cancelSettlementDatesRequest
      • Methods inherited from interface com.caplin.motif.fx.calendar.SettlementFixingDateProvider

        getForwardType
      • Methods inherited from interface com.caplin.motif.fx.calendar.TenorDateRequestListener

        cancelTenorDateRequest
    • Method Detail

      • getSettlementDates

        public void getSettlementDates​(com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo subjectInfo,
                                       com.caplin.motif.fx.calendar.Callback<java.util.Set<java.lang.String>> callback)
        Specified by:
        getSettlementDates in interface com.caplin.motif.fx.calendar.CancellableSettlementDateRequestListener<com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo>
      • getTenorDates

        public void getTenorDates​(com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo tenorDateSubjectInfo,
                                  com.caplin.motif.fx.calendar.Callback<java.util.Map<com.caplin.motif.fx.common.Tenor,​java.lang.String>> callback)
        Specified by:
        getTenorDates in interface com.caplin.motif.fx.calendar.CancellableTenorDateRequestListener<com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo>
      • getFixingDatesForSettlementDates

        public void getFixingDatesForSettlementDates​(com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo subjectInfo,
                                                     java.util.Set<java.lang.String> settlementDates,
                                                     com.caplin.motif.fx.calendar.Callback<java.util.Map<java.lang.String,​java.lang.String>> callback)
        Specified by:
        getFixingDatesForSettlementDates in interface com.caplin.motif.fx.calendar.SettlementFixingDateProvider<com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo>
      • getFixingDatesForTenorDates

        public void getFixingDatesForTenorDates​(com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo subjectInfo,
                                                java.util.Map<com.caplin.motif.fx.common.Tenor,​java.lang.String> tenorDates,
                                                com.caplin.motif.fx.calendar.Callback<java.util.Map<com.caplin.motif.fx.common.Tenor,​java.lang.String>> callback)
        Specified by:
        getFixingDatesForTenorDates in interface com.caplin.motif.fx.calendar.NdfDateProvider<com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo>
      • isNonDeliverable

        public boolean isNonDeliverable​(com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo subjectInfo)
        Specified by:
        isNonDeliverable in interface com.caplin.motif.fx.calendar.NdfDateProvider<com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo>
      • getMinimumTenorDate

        public void getMinimumTenorDate​(com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo retTenorDateSubjectInfo,
                                        com.caplin.motif.fx.calendar.Callback<java.lang.String> callback)
        Specified by:
        getMinimumTenorDate in interface com.caplin.motif.fx.calendar.NdfDateProvider<com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo>
      • hasFixingDates

        public boolean hasFixingDates​(com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo subjectInfo)
        Specified by:
        hasFixingDates in interface com.caplin.motif.fx.calendar.SettlementFixingDateProvider<com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo>
      • getCaption

        public java.lang.String getCaption​(com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo subjectInfo)
        Specified by:
        getCaption in interface com.caplin.motif.fx.calendar.SettlementFixingDateProvider<com.caplin.motif.fx.ret.calendar.subject.RETSettlementDateSubjectInfo>
      • getCaption

        public java.lang.String getCaption​(com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo subjectInfo)
        Specified by:
        getCaption in interface com.caplin.motif.fx.calendar.NdfDateProvider<com.caplin.motif.fx.ret.calendar.subject.RETTenorDateSubjectInfo>