|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
NewsChannels inherit all the attributes and behaviors of a conference, in particular, members can be instantly notified of new messages, access control rules are created and manages the same way.
However, An instant bulletin board differs from a public conference in the following ways.
Field Summary |
Fields inherited from interface com.sun.im.service.Conference |
INVITE, LISTEN, MANAGE, NONE, PUBLISH, STATUS_APPROVED, STATUS_MODIFIED, STATUS_PENDING, STATUS_REJECTED, STATUS_SUBMIT |
Method Summary | |
void |
getMessages()
retrieves all the messages posted to the newschannel. |
void |
modifyMessage(java.lang.String messageId,
Message message)
modify a message from the bulletin board |
void |
removeMessage(java.lang.String MessageId)
remove a message from the bulletin board |
void |
setListener(NewsChannelListener listener)
set listener to the newschannel. |
void |
subscribe(NewsChannelListener listener)
subscribe to a bulletin board. |
Methods inherited from interface com.sun.im.service.Conference |
addMessage, addModeratedMessage, close, createInviteMessage, createMessage, getDefaultPrivilege, getDestination, getDisplayName, getEventMask, getParticipants, getPrivilege, getPrivilege, getProperty, hasPrivilege, invite, isPublic, join, join, leave, listPrivileges, moderate, save, setDefaultPrivilege, setDisplayName, setEventMask, setPrivilege, setPrivileges, setProperty |
Method Detail |
public void removeMessage(java.lang.String MessageId) throws CollaborationException
MessageId
- id of the message to remove
CollaborationException
public void modifyMessage(java.lang.String messageId, Message message) throws CollaborationException
messageId
- messageID message idmessage
- the modified message.
CollaborationException
public void subscribe(NewsChannelListener listener) throws CollaborationException
listener
- the listener by which modifications to the bulletin
board are conveyed asynchronously to the caller.
CollaborationException
public void setListener(NewsChannelListener listener) throws CollaborationException
listener
- the listener by which notifications are conveyed asynchronously to the caller.
CollaborationException
public void getMessages() throws CollaborationException
CollaborationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |