org.sakaiproject.component.legacy.announcement
Class BaseAnnouncementService.BaseAnnouncementMessageEdit

java.lang.Object
  extended byorg.sakaiproject.component.legacy.message.BaseMessageService.BaseMessageEdit
      extended byorg.sakaiproject.component.legacy.announcement.BaseAnnouncementService.BaseAnnouncementMessageEdit
All Implemented Interfaces:
AnnouncementMessage, AnnouncementMessageEdit, Comparable, Edit, Entity, EventListener, Message, MessageEdit, SessionBindingListener
Enclosing class:
BaseAnnouncementService

public class BaseAnnouncementService.BaseAnnouncementMessageEdit
extends BaseMessageService.BaseMessageEdit
implements AnnouncementMessageEdit

AnnouncementMessage implementation


Field Summary
 
Fields inherited from class org.sakaiproject.component.legacy.message.BaseMessageService.BaseMessageEdit
m_active, m_body, m_channel, m_event, m_header, m_properties
 
Fields inherited from interface org.sakaiproject.service.legacy.entity.Entity
SEPARATOR
 
Constructor Summary
BaseAnnouncementService.BaseAnnouncementMessageEdit(MessageChannel channel, Element el)
          Construct from an existing definition, in xml.
BaseAnnouncementService.BaseAnnouncementMessageEdit(MessageChannel channel, Message other)
          Construct as a copy of another message.
BaseAnnouncementService.BaseAnnouncementMessageEdit(MessageChannel channel, String id)
          Construct.
 
Method Summary
 AnnouncementMessageHeader getAnnouncementHeader()
          Access the announcement message header.
 AnnouncementMessageHeaderEdit getAnnouncementHeaderEdit()
          Access the announcement message header.
 
Methods inherited from class org.sakaiproject.component.legacy.message.BaseMessageService.BaseMessageEdit
activate, closeEdit, compareTo, equals, finalize, getBody, getEvent, getHeader, getHeaderEdit, getId, getProperties, getPropertiesEdit, getReference, getReference, getUrl, getUrl, hashCode, isActiveEdit, set, setAll, setBody, setEvent, toXml, valueBound, valueUnbound
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 
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.message.MessageEdit
getHeaderEdit, setBody
 
Methods inherited from interface org.sakaiproject.service.legacy.entity.Edit
getPropertiesEdit, isActiveEdit
 

Constructor Detail

BaseAnnouncementService.BaseAnnouncementMessageEdit

public BaseAnnouncementService.BaseAnnouncementMessageEdit(MessageChannel channel,
                                                           String id)
Construct.

Parameters:
channel - The channel in which this message lives.
id - The message id.

BaseAnnouncementService.BaseAnnouncementMessageEdit

public BaseAnnouncementService.BaseAnnouncementMessageEdit(MessageChannel channel,
                                                           Message other)
Construct as a copy of another message.

Parameters:
other - The other message to copy.

BaseAnnouncementService.BaseAnnouncementMessageEdit

public BaseAnnouncementService.BaseAnnouncementMessageEdit(MessageChannel channel,
                                                           Element el)
Construct from an existing definition, in xml.

Parameters:
channel - The channel in which this message lives.
el - The message in XML in a DOM element.
Method Detail

getAnnouncementHeader

public AnnouncementMessageHeader getAnnouncementHeader()
Access the announcement message header.

Specified by:
getAnnouncementHeader in interface AnnouncementMessage
Returns:
The announcement message header.

getAnnouncementHeaderEdit

public AnnouncementMessageHeaderEdit getAnnouncementHeaderEdit()
Access the announcement message header.

Specified by:
getAnnouncementHeaderEdit in interface AnnouncementMessageEdit
Returns:
The announcement message header.