Class Event
- java.lang.Object
-
- fr.paris.lutece.plugins.grubusiness.business.notification.Event
-
public class Event extends java.lang.ObjectNotificationEvent class, object to log events as delivery success or failure.
-
-
Constructor Summary
Constructors Constructor Description Event()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetEventDate()Returns the Notification Event Date.intgetId()Gives the notification idjava.lang.StringgetMessage()get the messagejava.lang.StringgetReason()get the reasonintgetRedelivry()get the nb of times that the message has been redelivredjava.lang.StringgetStatus()get the statusjava.lang.StringgetType()get type of eventvoidsetEventDate(java.lang.Long lEventDate)Sets the NotificationDate.voidsetId(int nId)Sets the notification idvoidsetMessage(java.lang.String _strMessage)set the messagevoidsetReason(java.lang.String _strReason)set the reasonvoidsetRedelivry(int nRedelivry)set redelivry nbvoidsetStatus(java.lang.String _strStatus)set the statusvoidsetType(java.lang.String _strType)set type
-
-
-
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
-
getEventDate
public java.lang.Long getEventDate()
Returns the Notification Event Date.- Returns:
- The NotificationDate
-
setEventDate
public void setEventDate(java.lang.Long lEventDate)
Sets the NotificationDate.- Parameters:
lEventDate-
-
getType
public java.lang.String getType()
get type of event- Returns:
- the type
-
setType
public void setType(java.lang.String _strType)
set type- Parameters:
_strType-
-
getStatus
public java.lang.String getStatus()
get the status- Returns:
- the status
-
setStatus
public void setStatus(java.lang.String _strStatus)
set the status- Parameters:
_strStatus-
-
getReason
public java.lang.String getReason()
get the reason- Returns:
- the reason
-
setReason
public void setReason(java.lang.String _strReason)
set the reason- Parameters:
_strReason-
-
getMessage
public java.lang.String getMessage()
get the message- Returns:
- the message
-
setMessage
public void setMessage(java.lang.String _strMessage)
set the message- Parameters:
_strMessage-
-
getRedelivry
public int getRedelivry()
get the nb of times that the message has been redelivred- Returns:
- the redelivry number
-
setRedelivry
public void setRedelivry(int nRedelivry)
set redelivry nb- Parameters:
nRedelivry-
-
-