public class Notification extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_TYPE |
| Constructor and Description |
|---|
Notification()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Timestamp |
getDateCreation()
Get the date creation of the notification
|
int |
getIdFolder()
Get the id folder of the notification
|
int |
getIdNotification()
Get the id notification
|
String |
getMessage()
Get the message of the notification
|
String |
getObject()
Get the object of the notification
|
String |
getSender()
Get the sender
|
String |
getUserGuidReceiver()
Get the user guid receiver
|
boolean |
isRead()
Check if the notification is read or not
|
void |
setDateCreation(Timestamp dateCreation)
Set the date creation of the notification
|
void |
setIdFolder(int nIdFolder)
Set the id folder of the notification
|
void |
setIdNotification(int nIdNotification)
Set the id notification
|
void |
setIsRead(boolean bIsRead)
Set the attribute is_read of the notification
|
void |
setMessage(String strMessage)
Set the message of the notification
|
void |
setObject(String strObject)
Set the object of the notification
|
void |
setSender(String strSender)
Set the sender
|
void |
setUserGuidReceiver(String strUserGuidReceiver)
Set the user guid receiver
|
public static final String RESOURCE_TYPE
public void setIdNotification(int nIdNotification)
nIdNotification - the id notificationpublic int getIdNotification()
public void setObject(String strObject)
strObject - the objectpublic String getObject()
public void setMessage(String strMessage)
strMessage - the message of the notificationpublic String getMessage()
public void setIdFolder(int nIdFolder)
nIdFolder - the id folderpublic int getIdFolder()
public void setSender(String strSender)
strSender - the senderpublic String getSender()
public void setUserGuidReceiver(String strUserGuidReceiver)
strUserGuidReceiver - the user guid receiverpublic String getUserGuidReceiver()
public void setDateCreation(Timestamp dateCreation)
dateCreation - the date creationpublic Timestamp getDateCreation()
public void setIsRead(boolean bIsRead)
bIsRead - true if it is read, false otherwisepublic boolean isRead()
Copyright © 2017 City of Paris. All rights reserved.