Class NotificationEvent
- java.lang.Object
-
- fr.paris.lutece.plugins.grubusiness.business.notification.NotificationEvent
-
public class NotificationEvent extends Object
NotificationEvent 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 idStringgetMsgId()get msg idLonggetNotificationDate()Returns the NotificationDate.voidsetDemand(Demand demand)Sets the Demand.voidsetEvent(Event event)set eventvoidsetId(int nId)Sets the notification idvoidsetMsgId(String strMsgId)set message IdvoidsetNotificationDate(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 Long getNotificationDate()
Returns the NotificationDate.- Returns:
- The NotificationDate
-
setNotificationDate
public void setNotificationDate(Long lNotificationDate)
Sets the NotificationDate.- Parameters:
lNotificationDate-
-
getMsgId
public String getMsgId()
get msg id- Returns:
- the message id
-
setMsgId
public void setMsgId(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-
-
-