org.sakaiproject.service.legacy.discussion
Interface DiscussionMessageHeaderEdit

All Superinterfaces:
AttachmentContainer, AttachmentContainerEdit, DiscussionMessageHeader, MessageHeader, MessageHeaderEdit
All Known Implementing Classes:
BaseDiscussionService.BaseDiscussionMessageHeaderEdit

public interface DiscussionMessageHeaderEdit
extends DiscussionMessageHeader, MessageHeaderEdit

DiscussionMessageHeaderEdit is an editable DiscussionMessageHeader

Version:
$Revision: 632 $
Author:
University of Michigan, CHEF Software Development Team

Nested Class Summary
 
Nested classes inherited from class org.sakaiproject.service.legacy.message.MessageHeader
MessageHeader.MessageAccess
 
Method Summary
 void setCategory(String category)
          Set the category of the discussion message.
 void setReplyTo(String id)
          Set the local or resource id of the message this one is a reply to, used in threading.
 void setSubject(String subject)
          Set the subject of the discussion message.
 
Methods inherited from interface org.sakaiproject.service.legacy.discussion.DiscussionMessageHeader
getCategory, getReplyTo, getSubject
 
Methods inherited from interface org.sakaiproject.service.legacy.message.MessageHeader
getAccess, getDate, getDraft, getFrom, getGroups, getId, toXml
 
Methods inherited from interface org.sakaiproject.service.legacy.entity.AttachmentContainer
getAttachments
 
Methods inherited from interface org.sakaiproject.service.legacy.message.MessageHeaderEdit
addGroup, removeGroup, setAccess, setDate, setDraft, setFrom
 
Methods inherited from interface org.sakaiproject.service.legacy.entity.AttachmentContainerEdit
addAttachment, clearAttachments, removeAttachment, replaceAttachments
 

Method Detail

setSubject

public void setSubject(String subject)
Set the subject of the discussion message.

Parameters:
subject - The subject of the discussion message.

setCategory

public void setCategory(String category)
Set the category of the discussion message.

Parameters:
category - The category of the discussion message.

setReplyTo

public void setReplyTo(String id)
Set the local or resource id of the message this one is a reply to, used in threading.

Returns:
The id of the message this one is a reply to, used in threading, or null if none.