org.sakaiproject.service.legacy.message
Interface MessageEdit

All Superinterfaces:
Comparable, Edit, Entity, Message
All Known Subinterfaces:
AnnouncementMessageEdit, ChatMessageEdit, DiscussionMessageEdit, MailArchiveMessageEdit
All Known Implementing Classes:
BaseAnnouncementService.BaseAnnouncementMessageEdit, BaseChatService.BaseChatMessageEdit, BaseDiscussionService.BaseDiscussionMessageEdit, BaseMailArchiveService.BaseMailArchiveMessageEdit, BaseMessageService.BaseMessageEdit

public interface MessageEdit
extends Message, Edit

MessageEdit is the base interface for all Sakai communications messages in r/w mode.

Version:
$Revision: 2371 $
Author:
University of Michigan, Sakai Software Development Team

Field Summary
 
Fields inherited from interface org.sakaiproject.service.legacy.entity.Entity
SEPARATOR
 
Method Summary
 MessageHeaderEdit getHeaderEdit()
          Access the message header.
 void setBody(String body)
          Replace the body, as a string.
 
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.entity.Edit
getPropertiesEdit, isActiveEdit
 

Method Detail

setBody

public void setBody(String body)
Replace the body, as a string.

Parameters:
body - The body, as a string.

getHeaderEdit

public MessageHeaderEdit getHeaderEdit()
Access the message header.

Returns:
The message header.