Class MessageEntity
- java.lang.Object
-
- org.silverpeas.core.webapi.notification.MessageEntity
-
public class MessageEntity extends Object
- Author:
- Yohann Chastagnier
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MessageEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageEntity
createFrom(Message message)
Creates a new content entityprotected String
getContent()
protected long
getDisplayLiveTime()
protected MessageType
getType()
-
-
-
Method Detail
-
createFrom
public static MessageEntity createFrom(Message message)
Creates a new content entity- Parameters:
message
-- Returns:
- the entity representing the specified content.
-
getType
protected MessageType getType()
-
getContent
protected String getContent()
-
getDisplayLiveTime
protected long getDisplayLiveTime()
-
-