Class Notification
java.lang.Object
fr.paris.lutece.plugins.grubusiness.business.notification.Notification
The Class Notification, default notification object.
Fields description
- demand,
- date, timestamp of the notification
- backoffice,
- sms,
- customer_email,
- mydashboard,
- email, list of
Fields description
- demand,
Demand- date, timestamp of the notification
- backoffice,
BackofficeNotification- sms,
SMSNotification- customer_email,
EmailNotification- mydashboard,
MyDashboardNotification- email, list of
BroadcastNotification-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBroadcastEmail(BroadcastNotification broadcastEmail) add a broadcastEmaiGets the _backofficeNotification.Gets the broadcastgetDate()Returns the NotificationDate.Returns the DemandGets the user email notification.intgetId()Gives the notification idGets the user guichet.Gets the user sms.voidsetBackofficeNotification(BackofficeNotification backofficeNotification) Sets the _backofficeNotification.voidsetBroadcastEmail(List<BroadcastNotification> listBroadcastEmail) Sets the broadcastvoidSets the NotificationDate.voidSets 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.
-
Constructor Details
-
Notification
public Notification()Instantiates a new notify gru global notification.
-
-
Method Details
-
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
Returns the Demand- Returns:
- the Demand
-
setDemand
Sets the Demand.- Parameters:
demand- the Demand to set
-
getDate
Returns the NotificationDate.- Returns:
- The NotificationDate
-
setDate
Sets the NotificationDate.- Parameters:
notificationDate- The NotificationDate
-
getEmailNotification
Gets the user email notification.- Returns:
- the user email
-
setEmailNotification
Sets the user email notification.- Parameters:
emailNotification- the new user email
-
getSmsNotification
Gets the user sms.- Returns:
- the user sms
-
setSmsNotification
Sets the user sms.- Parameters:
userSMS- the new user sms
-
getBackofficeNotification
Gets the _backofficeNotification.- Returns:
- the backofficeNotification
-
setBackofficeNotification
Sets the _backofficeNotification.- Parameters:
backofficeNotification- the backofficeNotification
-
getMyDashboardNotification
Gets the user guichet.- Returns:
- the user guichet
-
setMyDashboardNotification
Sets the user dashboard notif.- Parameters:
myDashboardNotification- the new myDashboard notification
-
getBroadcastEmail
Gets the broadcast- Returns:
- the _broadcast
-
setBroadcastEmail
Sets the broadcast- Parameters:
listBroadcastEmail- the list of broadcast emails to set
-
addBroadcastEmail
add a broadcastEmai- Parameters:
broadcastEmail- , the email to add
-