org.sakaiproject.service.legacy.message
Interface Message

All Superinterfaces:
Comparable, Entity
All Known Subinterfaces:
AnnouncementMessage, AnnouncementMessageEdit, ChatMessage, ChatMessageEdit, DiscussionMessage, DiscussionMessageEdit, MailArchiveMessage, MailArchiveMessageEdit, MessageEdit
All Known Implementing Classes:
AnnouncementAction.AnnouncementWrapper, BaseAnnouncementService.BaseAnnouncementMessageEdit, BaseChatService.BaseChatMessageEdit, BaseDiscussionService.BaseDiscussionMessageEdit, BaseMailArchiveService.BaseMailArchiveMessageEdit, BaseMessageService.BaseMessageEdit

public interface Message
extends Entity, Comparable

Message is the base interface for all Sakai communications messages.

Version:
$Revision: 2371 $
Author:
University of Michigan, Sakai Software Development Team
See Also:
org.sakaiproject.core.MessageHeader

Field Summary
 
Fields inherited from interface org.sakaiproject.service.legacy.entity.Entity
SEPARATOR
 
Method Summary
 String getBody()
          Access the body, as a string.
 MessageHeader getHeader()
          Access the message header.
 
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
 

Method Detail

getHeader

public MessageHeader getHeader()
Access the message header.

Returns:
The message header.

getBody

public String getBody()
Access the body, as a string.

Returns:
The body, as a string.