|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.opencms.main.CmsBroadcast
A single broadcast message, send from one OpenCms user to another.
To addess a broadcast to another user, it must be placed in the
broadcast queue of that user using for example
CmsSessionManager.sendBroadcast(org.opencms.file.CmsObject, String, CmsUser).
| Constructor Summary | |
CmsBroadcast(CmsUser sender,
String message)
Creates a new broadcast, with the current system time set as send time. |
|
| Method Summary | |
String |
getMessage()
Returns the broadcast message content. |
long |
getSendTime()
Returns the time this broadcast was send. |
CmsUser |
getUser()
Returns the user that was the sender of this broadcast. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CmsBroadcast(CmsUser sender,
String message)
sender - the sender of the broadcastmessage - the message to send| Method Detail |
public String getMessage()
public long getSendTime()
public CmsUser getUser()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||