Class VacationBalanceNotificationPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
org.exoplatform.rhmanagement.integration.notification.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
FieldsModifier and TypeFieldDescriptionstatic final org.exoplatform.commons.api.notification.model.ArgumentLiteral<Float>static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<UserRHDataDTO>static final StringFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionVacationBalanceNotificationPlugin(org.exoplatform.container.xml.InitParams initParams) -
Method Summary
Modifier and TypeMethodDescriptiongetId()booleanisValid(org.exoplatform.commons.api.notification.NotificationContext ctx) protected org.exoplatform.commons.api.notification.model.NotificationInfomakeNotification(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, startMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
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 -
ID
- See Also:
-
-
Constructor Details
-
VacationBalanceNotificationPlugin
public VacationBalanceNotificationPlugin(org.exoplatform.container.xml.InitParams initParams)
-
-
Method Details
-
getId
- Specified by:
getIdin classorg.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-
isValid
public boolean isValid(org.exoplatform.commons.api.notification.NotificationContext ctx) - Specified by:
isValidin classorg.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:
makeNotificationin classorg.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-