|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--portlets.compoze.groupware.GroupwareSession
This class represents a groupware session.
Field Summary | |
static java.lang.String |
PROPERTY_SET_GROUPWARE
|
static java.lang.String |
PROVIDER_TRACE
|
Constructor Summary | |
GroupwareSession(java.lang.String sUsername,
com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper)
Constructor. |
Method Summary | |
Accounts |
getAccounts()
Gets the accounts. |
AddressBookPreferences |
getAddressBookPreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper,
com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext context)
Gets the address book preferences. |
CalendarPreferences |
getCalendarPreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper,
com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext context)
Gets the calendar preferences. |
Account |
getCurrentAccount()
Gets the current account. |
FeatureGroup |
getFeatureGroup(javax.servlet.http.HttpServletRequest req)
Gets the feature group. |
GroupwarePreferences |
getGroupwarePreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper,
com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext context)
Gets the groupware preferences. |
HomePreferences |
getHomePreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper,
com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext context)
Gets the home preferences. |
java.lang.String |
getImAddress(java.lang.String sEmail)
Gets the Im address. |
MailPreferences |
getMailPreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper,
com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext context)
Gets the mail preferences. |
portlets.compoze.groupware.controls.provider.Provider |
getProvider()
Gets the provider for the current account. |
portlets.compoze.groupware.controls.provider.ProviderCapabilities |
getProviderCapabilities()
Gets the provider capabilities for the current account. |
TasksPreferences |
getTasksPreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper,
com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext context)
Gets the tasks preferences. |
boolean |
getTrace()
Gets the trace setting. |
java.lang.String |
getUsername()
Gets the username associated with this session. |
void |
setCurrentAccount(Account account)
Sets the current account. |
void |
setTrace(boolean bTrace)
Sets the trace setting. |
void |
synchronizeImContacts()
Synchronizes the Im contacts for the session accounts. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String PROPERTY_SET_GROUPWARE
public static final java.lang.String PROVIDER_TRACE
Constructor Detail |
public GroupwareSession(java.lang.String sUsername, com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper) throws GroupwareException
sUsername
- the user name (may not be null
)userProfileWrapper
- the user profile (may not be null
)portletPrefs
- the portlet preferences (may not be null
)provider
- the provider (may not be null
)providerCapabilities
- the provider capabilities (may not be null
)Method Detail |
public portlets.compoze.groupware.controls.provider.Provider getProvider() throws GroupwareException
getCurrentAccount()
public portlets.compoze.groupware.controls.provider.ProviderCapabilities getProviderCapabilities() throws GroupwareException
getCurrentAccount()
public void setTrace(boolean bTrace)
bTrace
- true
to trace the session; false
otherwisepublic boolean getTrace()
true
to trace the session; false
otherwisepublic void setCurrentAccount(Account account)
account
- the account or null
for default account (if applicable)public Account getCurrentAccount() throws NoAccountsException, GroupwareException
null
if no accounts existpublic GroupwarePreferences getGroupwarePreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper, com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext context) throws GroupwareException
public HomePreferences getHomePreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper, com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext context) throws GroupwareException
public AddressBookPreferences getAddressBookPreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper, com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext context) throws GroupwareException
public TasksPreferences getTasksPreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper, com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext context) throws GroupwareException
public MailPreferences getMailPreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper, com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext context) throws GroupwareException
public CalendarPreferences getCalendarPreferences(com.bea.p13n.usermgmt.profile.ProfileWrapper userProfileWrapper, com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext context) throws GroupwareException
public FeatureGroup getFeatureGroup(javax.servlet.http.HttpServletRequest req) throws GroupwareException
req
- the request (may not be null
)public Accounts getAccounts() throws GroupwareException
public java.lang.String getUsername()
public java.lang.String getImAddress(java.lang.String sEmail)
sEmail
- the email addressnull
if not foundpublic void synchronizeImContacts() throws GroupwareException
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |