org.sakaiproject.service.legacy.announcement
Interface AnnouncementMessage

All Superinterfaces:
Comparable, Entity, Message
All Known Subinterfaces:
AnnouncementMessageEdit
All Known Implementing Classes:
AnnouncementAction.AnnouncementWrapper, BaseAnnouncementService.BaseAnnouncementMessageEdit

public interface AnnouncementMessage
extends Message

AnnouncementMessage is the Interface for a Sakai Announcement message.

The announcement message has header fields (from, date) and a body (text). Each message also has an id, unique within the channel. All fields are read only.

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

Field Summary
 
Fields inherited from interface org.sakaiproject.service.legacy.entity.Entity
SEPARATOR
 
Method Summary
 AnnouncementMessageHeader getAnnouncementHeader()
          A (AnnouncementMessageHeader) cover for getHeader to access the announcement message header.
 
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
 

Method Detail

getAnnouncementHeader

public AnnouncementMessageHeader getAnnouncementHeader()
A (AnnouncementMessageHeader) cover for getHeader to access the announcement message header.

Returns:
The announcement message header.