|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.silverpeas.notification.message.AbstractMessage
public abstract class AbstractMessage
User: Yohann Chastagnier Date: 07/11/13
Constructor Summary | |
---|---|
protected |
AbstractMessage(String content)
Default constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getContent()
Gets the content of the message. |
long |
getDisplayLiveTime()
Gets the time to live of the message after to have been displayed. |
int |
hashCode()
|
Message |
setDisplayLiveTime(long milliseconds)
Sets the time to live of the message after to have been displayed. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.silverpeas.notification.message.Message |
---|
getType |
Constructor Detail |
---|
protected AbstractMessage(String content)
Method Detail |
---|
public String getContent()
Message
getContent
in interface Message
public long getDisplayLiveTime()
Message
getDisplayLiveTime
in interface Message
public Message setDisplayLiveTime(long milliseconds)
Message
setDisplayLiveTime
in interface Message
milliseconds
- 0 <= unlimited
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |