Class VacationBalanceNotificationPlugin

  • All Implemented Interfaces:
    org.exoplatform.container.component.ComponentPlugin

    public class VacationBalanceNotificationPlugin
    extends org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
    Created by The eXo Platform SAS
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.exoplatform.commons.api.notification.model.ArgumentLiteral<Float> DAYS_TO_CONSUME  
      static org.exoplatform.commons.api.notification.model.ArgumentLiteral<UserRHDataDTO> EMPLOYEE  
      static String ID  
      • Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

        desc, name
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getId()  
      boolean isValid​(org.exoplatform.commons.api.notification.NotificationContext ctx)  
      protected org.exoplatform.commons.api.notification.model.NotificationInfo makeNotification​(org.exoplatform.commons.api.notification.NotificationContext ctx)  
      • Methods inherited from class org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin

        buildNotification, end, getKey, getOrganizationService, getPluginConfigs, isOldPlugin, setOldPlugin, start
      • Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

        getDescription, getName, setDescription, setName
    • Field Detail

      • EMPLOYEE

        public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<UserRHDataDTO> EMPLOYEE
      • DAYS_TO_CONSUME

        public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<Float> DAYS_TO_CONSUME
    • Constructor Detail

      • VacationBalanceNotificationPlugin

        public VacationBalanceNotificationPlugin​(org.exoplatform.container.xml.InitParams initParams)
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in class org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
      • isValid

        public boolean isValid​(org.exoplatform.commons.api.notification.NotificationContext ctx)
        Specified by:
        isValid in class org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
      • makeNotification

        protected org.exoplatform.commons.api.notification.model.NotificationInfo makeNotification​(org.exoplatform.commons.api.notification.NotificationContext ctx)
        Specified by:
        makeNotification in class org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin