org.sakaiproject.component.legacy.chat
Class BaseChatService.BaseChatMessageEdit

java.lang.Object
  extended byorg.sakaiproject.component.legacy.message.BaseMessageService.BaseMessageEdit
      extended byorg.sakaiproject.component.legacy.chat.BaseChatService.BaseChatMessageEdit
All Implemented Interfaces:
ChatMessage, ChatMessageEdit, Comparable, Edit, Entity, EventListener, Message, MessageEdit, SessionBindingListener
Enclosing class:
BaseChatService

public class BaseChatService.BaseChatMessageEdit
extends BaseMessageService.BaseMessageEdit
implements ChatMessageEdit

ChatMessage implementation


Field Summary
 
Fields inherited from class org.sakaiproject.component.legacy.message.BaseMessageService.BaseMessageEdit
m_active, m_body, m_channel, m_event, m_header, m_properties
 
Fields inherited from interface org.sakaiproject.service.legacy.entity.Entity
SEPARATOR
 
Constructor Summary
BaseChatService.BaseChatMessageEdit(MessageChannel channel, Element el)
          Construct from an existing definition, in xml.
BaseChatService.BaseChatMessageEdit(MessageChannel channel, Message other)
          Construct as a copy of another message.
BaseChatService.BaseChatMessageEdit(MessageChannel channel, String id)
          Construct.
 
Method Summary
 ChatMessageHeader getChatHeader()
          Access the chat message header.
 ChatMessageHeaderEdit getChatHeaderEdit()
          Access the chat message header.
 
Methods inherited from class org.sakaiproject.component.legacy.message.BaseMessageService.BaseMessageEdit
activate, closeEdit, compareTo, equals, finalize, getBody, getEvent, getHeader, getHeaderEdit, getId, getProperties, getPropertiesEdit, getReference, getReference, getUrl, getUrl, hashCode, isActiveEdit, set, setAll, setBody, setEvent, toXml, valueBound, valueUnbound
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sakaiproject.service.legacy.message.Message
getBody, getHeader
 
Methods inherited from interface org.sakaiproject.service.legacy.entity.Entity
getId, getProperties, getReference, getReference, getUrl, getUrl, toXml
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.sakaiproject.service.legacy.message.MessageEdit
getHeaderEdit, setBody
 
Methods inherited from interface org.sakaiproject.service.legacy.entity.Edit
getPropertiesEdit, isActiveEdit
 

Constructor Detail

BaseChatService.BaseChatMessageEdit

public BaseChatService.BaseChatMessageEdit(MessageChannel channel,
                                           String id)
Construct.

Parameters:
channel - The channel in which this message lives.
id - The message id.

BaseChatService.BaseChatMessageEdit

public BaseChatService.BaseChatMessageEdit(MessageChannel channel,
                                           Message other)
Construct as a copy of another message.

Parameters:
other - The other message to copy.

BaseChatService.BaseChatMessageEdit

public BaseChatService.BaseChatMessageEdit(MessageChannel channel,
                                           Element el)
Construct from an existing definition, in xml.

Parameters:
channel - The channel in which this message lives.
el - The message in XML in a DOM element.
Method Detail

getChatHeader

public ChatMessageHeader getChatHeader()
Access the chat message header.

Specified by:
getChatHeader in interface ChatMessage
Returns:
The chat message header.

getChatHeaderEdit

public ChatMessageHeaderEdit getChatHeaderEdit()
Access the chat message header.

Specified by:
getChatHeaderEdit in interface ChatMessageEdit
Returns:
The chat message header.