Class Notification
java.lang.Object
fr.paris.lutece.plugins.crm.business.notification.Notification
Notification
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the date creation of the notificationintGet the id demandintGet the id notificationGet the message of the notificationGet the object of the notificationGet the senderbooleanisRead()Check if the notification is read or notvoidsetDateCreation(Timestamp dateCreation) Set the date creation of the notificationvoidsetIdDemand(int nIdDemand) Set the id demandvoidsetIdNotification(int nIdNotification) Set the id notificationvoidsetIsRead(boolean bIsRead) Set the status of the notificationvoidsetMessage(String strMessage) Set the message of the notificationvoidSet the object of the notificationvoidSet the sender
-
Constructor Details
-
Notification
public Notification()
-
-
Method Details
-
setIdNotification
public void setIdNotification(int nIdNotification) Set the id notification- Parameters:
nIdNotification- the id notification
-
getIdNotification
public int getIdNotification()Get the id notification- Returns:
- the id notification
-
setIdDemand
public void setIdDemand(int nIdDemand) Set the id demand- Parameters:
nIdDemand- the id demand
-
getIdDemand
public int getIdDemand()Get the id demand- Returns:
- the id demand
-
setObject
Set the object of the notification- Parameters:
strObject- the object
-
getObject
Get the object of the notification- Returns:
- the object of the notification
-
setMessage
Set the message of the notification- Parameters:
strMessage- the message of the notification
-
getMessage
Get the message of the notification- Returns:
- the message
-
setIsRead
public void setIsRead(boolean bIsRead) Set the status of the notification- Parameters:
bIsRead- true if the notification is read, false otherwise
-
isRead
public boolean isRead()Check if the notification is read or not- Returns:
- true if it is read, false otherwise
-
setDateCreation
Set the date creation of the notification- Parameters:
dateCreation- the date creation
-
getDateCreation
Get the date creation of the notification- Returns:
- the date creation of the notification
-
setSender
Set the sender- Parameters:
strSender- the sender
-
getSender
Get the sender- Returns:
- the senders
-