| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The NewsService
| Method Summary | |
|  NewsChannel | getNewsChannel(java.lang.String destination,
               NewsChannelListener listener)retrieve and subscribe to a bulletin board. | 
|  java.util.Collection | getSubscribedNewsChannels()get all bulletin boards to which the user has a subsription | 
|  java.util.Collection | listNewsChannels()list all available bulletin boards | 
|  java.util.Collection | listNewsChannels(int access)list all available bulletin boards to which the user has the given access | 
|  NewsChannel | newNewsChannel(java.lang.String destination,
               NewsChannelListener listener,
               int defaultAccess)create a new bulletin board. | 
| Method Detail | 
public NewsChannel getNewsChannel(java.lang.String destination,
                                  NewsChannelListener listener)
                           throws CollaborationException
destination - address of the bulletin boardlistener - callback object by wich new messages are provided.
CollaborationException
public NewsChannel newNewsChannel(java.lang.String destination,
                                  NewsChannelListener listener,
                                  int defaultAccess)
                           throws CollaborationException
destination - address of the bulletin boarddefaultAccess - default privilege of new subscribers.listener - callback object by wich new messages are provided.
CollaborationException
public java.util.Collection listNewsChannels()
                                      throws CollaborationException
CollaborationException
public java.util.Collection listNewsChannels(int access)
                                      throws CollaborationException
access - privilege user has to the bulletin board
CollaborationException
public java.util.Collection getSubscribedNewsChannels()
                                               throws CollaborationException
CollaborationException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||