org.silverpeas.notification.web
Class MessageEntity

java.lang.Object
  extended by org.silverpeas.notification.web.MessageEntity

public class MessageEntity
extends Object

Author:
Yohann Chastagnier

Constructor Summary
protected MessageEntity()
           
 
Method Summary
static MessageEntity createFrom(Message message)
          Creates a new content entity
protected  String getContent()
           
protected  long getDisplayLiveTime()
           
protected  MessageType getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageEntity

protected MessageEntity()
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()


Copyright © 2016 Silverpeas. All Rights Reserved.