Class Event
java.lang.Object
fr.paris.lutece.plugins.grubusiness.business.notification.Event
NotificationEvent class, object to log events as delivery success or failure.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the Notification Event Date.intgetId()Gives the notification idget the messageget the reasonintget the nb of times that the message has been redelivredget the statusgetType()get type of eventvoidsetEventDate(Long lEventDate) Sets the NotificationDate.voidsetId(int nId) Sets the notification idvoidsetMessage(String _strMessage) set the messagevoidset the reasonvoidsetRedelivry(int nRedelivry) set redelivry nbvoidset the statusvoidset type
-
Constructor Details
-
Event
public Event()
-
-
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
-
getEventDate
Returns the Notification Event Date.- Returns:
- The NotificationDate
-
setEventDate
Sets the NotificationDate.- Parameters:
lEventDate-
-
getType
get type of event- Returns:
- the type
-
setType
set type- Parameters:
_strType-
-
getStatus
get the status- Returns:
- the status
-
setStatus
set the status- Parameters:
_strStatus-
-
getReason
get the reason- Returns:
- the reason
-
setReason
set the reason- Parameters:
_strReason-
-
getMessage
get the message- Returns:
- the message
-
setMessage
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-
-