Package org.javlo.service
Class NotificationService.Notification
- java.lang.Object
-
- org.javlo.service.NotificationService.Notification
-
- Enclosing class:
- NotificationService
public static final class NotificationService.Notification extends Object
-
-
Constructor Summary
Constructors Constructor Description Notification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBootstrapIcon()
Date
getCreationDate()
String
getDiplayCreationDate()
String
getDisplayMessage()
String
getMessage()
String
getReceiver()
String
getSortableTimeLabel()
String
getTimeLabel()
int
getType()
get the type, same time than in GenericMessageString
getTypeLabel()
String
getUrl()
String
getUserId()
boolean
isAdmin()
boolean
isForAll()
void
setAdmin(boolean admin)
void
setCreationDate(Date creationDate)
void
setMessage(String message)
void
setReceiver(String receiver)
void
setType(int type)
void
setUrl(String url)
void
setUserId(String userId)
-
-
-
Method Detail
-
getMessage
public String getMessage()
-
getDisplayMessage
public String getDisplayMessage()
-
isForAll
public boolean isForAll()
-
setMessage
public void setMessage(String message)
-
getUrl
public String getUrl()
-
setUrl
public void setUrl(String url)
-
getType
public int getType()
get the type, same time than in GenericMessage- Returns:
-
getTypeLabel
public String getTypeLabel()
-
getBootstrapIcon
public String getBootstrapIcon()
-
setType
public void setType(int type)
-
getCreationDate
public Date getCreationDate()
-
setCreationDate
public void setCreationDate(Date creationDate)
-
getDiplayCreationDate
public String getDiplayCreationDate()
-
getUserId
public String getUserId()
-
setUserId
public void setUserId(String userId)
-
getTimeLabel
public String getTimeLabel()
-
getSortableTimeLabel
public String getSortableTimeLabel()
-
getReceiver
public String getReceiver()
-
setReceiver
public void setReceiver(String receiver)
-
isAdmin
public boolean isAdmin()
-
setAdmin
public void setAdmin(boolean admin)
-
-