Class NotificationEvent
- java.lang.Object
-
- fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent
-
public class NotificationEvent extends java.lang.ObjectNotificationEvent class, object to log events as delivery success or failure.
-
-
Constructor Summary
Constructors Constructor Description NotificationEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DemandgetDemand()Returns the DemandEventgetEvent()get eventintgetId()Gives the notification idjava.lang.StringgetMsgId()get msg idjava.lang.LonggetNotificationDate()Returns the NotificationDate.voidsetDemand(Demand demand)Sets the Demand.voidsetEvent(Event event)set eventvoidsetId(int nId)Sets the notification idvoidsetMsgId(java.lang.String strMsgId)set message IdvoidsetNotificationDate(java.lang.Long lNotificationDate)Sets the NotificationDate.
-
-
-
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
-
getNotificationDate
public java.lang.Long getNotificationDate()
Returns the NotificationDate.- Returns:
- The NotificationDate
-
setNotificationDate
public void setNotificationDate(java.lang.Long lNotificationDate)
Sets the NotificationDate.- Parameters:
lNotificationDate-
-
getMsgId
public java.lang.String getMsgId()
get msg id- Returns:
- the message id
-
setMsgId
public void setMsgId(java.lang.String strMsgId)
set message Id- Parameters:
strMsgId-
-
getEvent
public Event getEvent()
get event- Returns:
- the event
-
setEvent
public void setEvent(Event event)
set event- Parameters:
event-
-
-