public interface AnnouncementChannel<T extends AnnouncementMessage> extends MessageChannel<T>
AnnouncementChannel is the extension to the MessageChanel interface for a Sakai Announcement service announcement channel.
| Modifier and Type | Method and Description |
|---|---|
AnnouncementMessageEdit |
addAnnouncementMessage()
a (AnnouncementMessage) cover for addMessage to add a new message to this channel.
|
AnnouncementMessage |
addAnnouncementMessage(String subject,
boolean draft,
List attachments,
String body)
a (AnnouncementMessage) cover for addMessage to add a new message to this channel.
|
AnnouncementMessageEdit |
editAnnouncementMessage(String messageId)
A (AnnouncementMessageEdit) cover for editMessage.
|
AnnouncementMessage |
getAnnouncementMessage(String messageId)
A (AnnouncementMessage) cover for getMessage to return a specific announcement channel message, as specified by message id.
|
void |
removeAnnouncementMessage(String messageId)
A cover for removeMessage.
|
addMessage, allowAddChannelMessage, allowAddDraftMessage, allowAddMessage, allowEditMessage, allowGetMessages, allowRemoveMessage, cancelMessage, commitMessage_order, commitMessage, commitMessage, commitMessage, editMessage, getContext, getCount, getCount, getGroupsAllowAddMessage, getGroupsAllowGetMessage, getGroupsAllowRemoveMessage, getMessage, getMessages, getMessages, getMessagesPublic, mergeMessage, removeMessage, removeMessagegetId, getProperties, getReference, getReference, getUrl, getUrl, toXmlAnnouncementMessage getAnnouncementMessage(String messageId) throws IdUnusedException, PermissionException
messageId - The id of the message to get.IdUnusedException - If this name is not a defined message in this announcement channel.PermissionException - If the user does not have any permissions to read the message.AnnouncementMessageEdit editAnnouncementMessage(String messageId) throws IdUnusedException, PermissionException, InUseException
messageId - The id of the message to get.IdUnusedException - If this name is not a defined message in this channel.PermissionException - If the user does not have any permissions to read the message.InUseException - if the current user does not have permission to mess with this user.void removeAnnouncementMessage(String messageId) throws PermissionException
messageId - The id of the message to get.PermissionException - If the user does not have any permissions to delete the message.AnnouncementMessageEdit addAnnouncementMessage() throws PermissionException
PermissionException - If the user does not have write permission to the channel.AnnouncementMessage addAnnouncementMessage(String subject, boolean draft, List attachments, String body) throws PermissionException
subject - The message header subject.draft - The message header draft indication.attachments - The message header attachments, a vector of Reference objects.body - The message body.PermissionException - If the user does not have write permission to the channel.Copyright © 2003–2018 The Sakai Foundation. All rights reserved.