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 of BroadcastNotification
  • 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

      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