org.silverpeas.notification.web
Class MessageEntity
java.lang.Object
org.silverpeas.notification.web.MessageEntity
public class MessageEntity
- extends Object
- Author:
- Yohann Chastagnier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageEntity
protected MessageEntity()
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()
Copyright © 2016 Silverpeas. All Rights Reserved.