|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Authenticated instant communication session. It can be used to establish communication with another user or more than one user, join a conference, or establish subscriptions to instant bulletin boards.
Method Summary | |
void |
addPrivacyList(PrivacyList list)
Adds the privacy list. |
void |
addSessionListener(CollaborationSessionListener listener)
Adds the listener for the current session. |
void |
changePassword(java.lang.String password,
RegistrationListener listener)
changes the password of the authenticated principal |
CollaborationPrincipal |
createPrincipal(java.lang.String uid)
create a principal object based on a fully-qualified user id |
CollaborationPrincipal |
createPrincipal(java.lang.String uid,
java.lang.String displayName)
create a principal object based on a fully-qualified user id |
PrivacyList |
createPrivacyList(java.lang.String name)
Creates a PrivacyList object. |
java.lang.String |
getActivePrivacyListName()
gets this users active privacy list |
ConferenceService |
getConferenceService()
Get the ConferenceService associated with this Session. |
java.lang.String |
getDefaultPrivacyListName()
gets this users default privacy list |
MediaService |
getMediaService()
Get the MediaService associated with this Session. |
NewsService |
getNewsService()
Get the NewsService associated with this Session. |
NotificationService |
getNotificationService()
Get the NotificationService associated with this session. |
PersonalStoreService |
getPersonalStoreService()
Get the PersonalStoreService associated with this Session. |
PresenceService |
getPresenceService()
Get the PresenceService associated with this Session. |
CollaborationPrincipal |
getPrincipal()
get the Principal object for the current session |
PrivacyList |
getPrivacyList(java.lang.String name)
|
StreamingService |
getStreamingService()
Get the StreamingService associated with this Session. |
java.util.List |
listPrivacyLists()
lists the name of the privacy lists Each Element in the List is a string |
void |
logout()
terminate the session |
void |
removePrivacyList(java.lang.String name)
remove the named PrivacyList. |
void |
removeSessionListener(CollaborationSessionListener listener)
Removes the listener for the current session. |
void |
setActivePrivacyListName(java.lang.String name)
set this privacy list as active. |
void |
setDefaultPrivacyListName(java.lang.String name)
sets this users default privacy list |
void |
unregister(RegistrationListener listener)
unregister the authenticated principal |
Method Detail |
public NotificationService getNotificationService() throws CollaborationException
CollaborationException
public ConferenceService getConferenceService() throws CollaborationException
CollaborationException
public NewsService getNewsService() throws CollaborationException
CollaborationException
public PersonalStoreService getPersonalStoreService() throws CollaborationException
CollaborationException
public PresenceService getPresenceService() throws CollaborationException
CollaborationException
public StreamingService getStreamingService() throws CollaborationException
CollaborationException
public void addSessionListener(CollaborationSessionListener listener)
listener
- implementation of CollaborationSessionListener or subclass(es) thereofpublic void removeSessionListener(CollaborationSessionListener listener)
listener
- implementation of CollaborationSessionListener or subclass(es) thereofpublic void logout()
public CollaborationPrincipal createPrincipal(java.lang.String uid) throws CollaborationException
uid
- FQ user id.
CollaborationException
public CollaborationPrincipal createPrincipal(java.lang.String uid, java.lang.String displayName) throws CollaborationException
uid
- FQ user id.displayName
-
CollaborationException
public CollaborationPrincipal getPrincipal() throws CollaborationException
CollaborationException
public void unregister(RegistrationListener listener) throws CollaborationException
listener
- callback object for getting the unregistration events notifications
CollaborationException
public void changePassword(java.lang.String password, RegistrationListener listener) throws CollaborationException
password
- new passwordlistener
- callback object for gettint the password change event notifications
CollaborationException
public PrivacyList createPrivacyList(java.lang.String name) throws CollaborationException
name
- The name of the PrivacyList
CollaborationException
public PrivacyList getPrivacyList(java.lang.String name) throws CollaborationException
name
- The name of the privacy list
CollaborationException
public void addPrivacyList(PrivacyList list) throws CollaborationException
list
- stores the privacy list to the server
CollaborationException
public java.lang.String getDefaultPrivacyListName() throws CollaborationException
CollaborationException
public void setDefaultPrivacyListName(java.lang.String name) throws CollaborationException
name
- The Privacy List name
CollaborationException
public java.lang.String getActivePrivacyListName() throws CollaborationException
CollaborationException
public void setActivePrivacyListName(java.lang.String name) throws CollaborationException
name
- The PrivacyList name to be made as active. This privacy list will be enforced for the current users session
CollaborationException
public java.util.List listPrivacyLists() throws CollaborationException
CollaborationException
public void removePrivacyList(java.lang.String name) throws CollaborationException
name
- The name of the privacy list to be removed
CollaborationException
public MediaService getMediaService() throws CollaborationException
CollaborationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |