psdi.app.escalation.engine

Class CalendarCounter

  • java.lang.Object
    • psdi.app.escalation.engine.CalendarCounter


  • public class CalendarCounter
    extends java.lang.Object
    This class handles all calendar related behavior for the Escalation Engine
    • Constructor Detail

      • CalendarCounter

        public CalendarCounter()
        Constructor
        Parameters:
        escalationData -
        MboRemote -
    • Method Detail

      • setLogger

        public static void setLogger(MXLogger logger)
      • getLogger

        public static MXLogger getLogger()
      • isTodayCalendarHoliday

        public static boolean isTodayCalendarHoliday(java.util.Date now,
                                                     ReferencePointData refPointData)
                                              throws java.rmi.RemoteException,
                                                     MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • isTodayCalendarHoliday

        public static boolean isTodayCalendarHoliday(java.util.Date now,
                                                     EscalationData escalationData,
                                                     MboRemote escalationMbo)
                                              throws java.rmi.RemoteException,
                                                     MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • isRefPointEscalationWithinCalendarBoundary

        public static boolean isRefPointEscalationWithinCalendarBoundary(java.util.Date now,
                                                                         ReferencePointData refPointData)
                                                                  throws java.rmi.RemoteException,
                                                                         MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • isInBoundary

        public static boolean isInBoundary(MboRemote workPeriod,
                                           java.util.Date now)
                                    throws java.rmi.RemoteException,
                                           MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • isCalendarBasedRefPointReadyToFire

        public static boolean isCalendarBasedRefPointReadyToFire(java.util.Date now,
                                                                 ReferencePointData refPointData)
                                                          throws java.rmi.RemoteException,
                                                                 MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • getRealEndCalendar

        public static java.util.Calendar getRealEndCalendar(MboRemote workPeriod)
                                                     throws java.rmi.RemoteException,
                                                            MXException
        Gets the accurate workperiod end date represented as a Calendar
        Parameters:
        workPeriod -
        Returns:
        Throws:
        java.rmi.RemoteException
        MXException