Class Notification
- java.lang.Object
-
- fr.paris.lutece.plugins.grubusiness.business.notification.Notification
-
public class Notification extends Object
The Class Notification, default notification object.
Fields description
- demand,Demand
- date, timestamp of the notification
- backoffice,BackofficeNotification
- sms,SMSNotification
- customer_email,EmailNotification
- mydashboard,MyDashboardNotification
- email, list ofBroadcastNotification
-
-
Constructor Summary
Constructors Constructor Description Notification()Instantiates a new notify gru global notification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBroadcastEmail(BroadcastNotification broadcastEmail)add a broadcastEmaiBackofficeNotificationgetBackofficeNotification()Gets the _backofficeNotification.List<BroadcastNotification>getBroadcastEmail()Gets the broadcastLonggetDate()Returns the NotificationDate.DemandgetDemand()Returns the DemandEmailNotificationgetEmailNotification()Gets the user email notification.intgetId()Gives the notification idMyDashboardNotificationgetMyDashboardNotification()Gets the user guichet.SMSNotificationgetSmsNotification()Gets the user sms.voidsetBackofficeNotification(BackofficeNotification backofficeNotification)Sets the _backofficeNotification.voidsetBroadcastEmail(List<BroadcastNotification> listBroadcastEmail)Sets the broadcastvoidsetDate(Long notificationDate)Sets the NotificationDate.voidsetDemand(Demand demand)Sets the Demand.voidsetEmailNotification(EmailNotification emailNotification)Sets the user email notification.voidsetId(int nId)Sets the notification idvoidsetMyDashboardNotification(MyDashboardNotification myDashboardNotification)Sets the user dashboard notif.voidsetSmsNotification(SMSNotification userSMS)Sets the user sms.
-
-
-
Method Detail
-
getId
public int getId()
Gives the notification id- Returns:
- the notification id
-
setId
public void setId(int nId)
Sets the notification id- Parameters:
nId- the id to set
-
getDemand
public Demand getDemand()
Returns the Demand- Returns:
- the Demand
-
setDemand
public void setDemand(Demand demand)
Sets the Demand.- Parameters:
demand- the Demand to set
-
getDate
public Long getDate()
Returns the NotificationDate.- Returns:
- The NotificationDate
-
setDate
public void setDate(Long notificationDate)
Sets the NotificationDate.- Parameters:
notificationDate- The NotificationDate
-
getEmailNotification
public EmailNotification getEmailNotification()
Gets the user email notification.- Returns:
- the user email
-
setEmailNotification
public void setEmailNotification(EmailNotification emailNotification)
Sets the user email notification.- Parameters:
emailNotification- the new user email
-
getSmsNotification
public SMSNotification getSmsNotification()
Gets the user sms.- Returns:
- the user sms
-
setSmsNotification
public void setSmsNotification(SMSNotification userSMS)
Sets the user sms.- Parameters:
userSMS- the new user sms
-
getBackofficeNotification
public BackofficeNotification getBackofficeNotification()
Gets the _backofficeNotification.- Returns:
- the backofficeNotification
-
setBackofficeNotification
public void setBackofficeNotification(BackofficeNotification backofficeNotification)
Sets the _backofficeNotification.- Parameters:
backofficeNotification- the backofficeNotification
-
getMyDashboardNotification
public MyDashboardNotification getMyDashboardNotification()
Gets the user guichet.- Returns:
- the user guichet
-
setMyDashboardNotification
public void setMyDashboardNotification(MyDashboardNotification myDashboardNotification)
Sets the user dashboard notif.- Parameters:
myDashboardNotification- the new myDashboard notification
-
getBroadcastEmail
public List<BroadcastNotification> getBroadcastEmail()
Gets the broadcast- Returns:
- the _broadcast
-
setBroadcastEmail
public void setBroadcastEmail(List<BroadcastNotification> listBroadcastEmail)
Sets the broadcast- Parameters:
listBroadcastEmail- the list of broadcast emails to set
-
addBroadcastEmail
public void addBroadcastEmail(BroadcastNotification broadcastEmail)
add a broadcastEmai- Parameters:
broadcastEmail- , the email to add
-
-