org.sakaiproject.service.legacy.email
Interface MailArchiveMessageHeaderEdit

All Superinterfaces:
AttachmentContainer, AttachmentContainerEdit, MailArchiveMessageHeader, MessageHeader, MessageHeaderEdit
All Known Implementing Classes:
BaseMailArchiveService.BaseMailArchiveMessageHeaderEdit

public interface MailArchiveMessageHeaderEdit
extends MailArchiveMessageHeader, MessageHeaderEdit

MailArchiveMessageHeader is the Interface for a CHEF Mail Archive Message header.

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 setDateSent(Time sent)
          Set the date: sent of the message.
 void setFromAddress(String from)
          Set the the from: address of the message.
 void setMailHeaders(List headers)
          Set the entire set of mail headers of the message.
 void setSubject(String subject)
          Set the subject of the message.
 
Methods inherited from interface org.sakaiproject.service.legacy.email.MailArchiveMessageHeader
getDateSent, getFromAddress, getMailHeaders, 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 message.

Parameters:
subject - The subject of the message.

setFromAddress

public void setFromAddress(String from)
Set the the from: address of the message.

Parameters:
from - The from: address of the message.

setDateSent

public void setDateSent(Time sent)
Set the date: sent of the message.

Parameters:
sent - The the date: sent of the message.

setMailHeaders

public void setMailHeaders(List headers)
Set the entire set of mail headers of the message.

Parameters:
headers - The the entire set of mail headers of the message (List of String).