|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGroupwareSession
Superclass of all groupware sessions. Provides the ability to get the
default groupware root containers and containers within those roots. As
an example, the code to get the calendar folder with minimum properties
would be:
IContainer calContainer = groupwareSession.getDefaultContainer (DefaultContainerClassEnum.CALENDAR);
Field Summary |
---|
Fields inherited from interface com.compoze.collab.ISession |
---|
PROP_ADMIN_LOCALE, PROP_AUTO_FETCH, PROP_CACHE_DEPENDENCY_CHECK_MILLIS, PROP_CACHE_ENABLED, PROP_CACHE_QUERY_MAX, PROP_CACHE_UPDATE_MILLIS, PROP_CACHE_USE_SOFT_REFERENCES, PROP_LOCALE, PROP_LOG_LEVEL, PROP_PROGRAMMER_LOCALE, PROP_PROVIDER, PROP_SCHEMA, PROPVALUE_REMOVE, STATE_AUTHENTICATED, STATE_INITIALIZED, STATE_OPEN, STATE_UNINITIALIZED |
Method Summary | |
---|---|
Calendar |
getCalendar()
Gets a calendar instance in the user's time zone and locale. |
IContainer |
getDefaultContainer(DefaultContainerClass containerClass)
Gets the container that represents the specified default container class from the session's default root container. |
IContainer |
getDefaultContainer(DefaultContainerClass containerClass,
FetchProfile profile)
Gets the container that represents the specified default container class from the session's default root container. |
IRootContainer |
getRootContainer(DefaultRootContainerClass defaultRootContainerClass)
Gets the the root container specified by the supplied type. |
IRootContainer |
getRootContainer(DefaultRootContainerClass defaultRootContainerClass,
FetchProfile profile)
Gets the the root container specified by the supplied type. |
TimeZone |
getTimeZone()
Gets the user's timezone. |
TimeZone |
getTimeZone(boolean bDefault)
Gets the user's timezone. |
void |
setTimeZone(TimeZone timezone)
Sets the user's timezone. |
Methods inherited from interface com.compoze.collab.ISession |
---|
addLogListener, close, endProfile, endTimer, endTimer, getAdminLocale, getAttribute, getDefaultRootContainer, getDefaultRootContainer, getLocale, getLogLevel, getOption, getOptions, getProgrammerLocale, getProperties, getProperty, getProvider, getState, invalidateCache, isCapabilitySupported, log, login, login, logout, open, open, removeAttribute, setAdminLocale, setAttribute, setLocale, setLogLevel, setOption, setOptions, setProgrammerLocale, startProfile, startProfile, startTimer, startTimer |
Method Detail |
---|
IContainer getDefaultContainer(DefaultContainerClass containerClass) throws CollaborationException
IContainer.MINIMUM_CONTAINER_KEYS
to retrieve properties for the
specified type.
containerClass
- the type of container to retrieve, or
null
if the container type could not be found.
CollaborationException
IContainer getDefaultContainer(DefaultContainerClass containerClass, FetchProfile profile) throws CollaborationException
containerClass
- the type of container to retrieve
(not null
)profile
- the profile to use when retrieving the specified
container type.
null
if the container type could not be found.
CollaborationException
IRootContainer getRootContainer(DefaultRootContainerClass defaultRootContainerClass) throws CollaborationException
defaultRootContainerClass
- the type of container to retrieve.
CollaborationException
IRootContainer getRootContainer(DefaultRootContainerClass defaultRootContainerClass, FetchProfile profile) throws CollaborationException
defaultRootContainerClass
- the type of container to retrieve.profile
- the profile to use when retrieving
the root container.
CollaborationException
void setTimeZone(TimeZone timezone) throws CollaborationException
timezone
- the java timezone (not null
)
CollaborationException
- if there was an error setting the timezone.TimeZone getTimeZone() throws CollaborationException
null
if it is not set
CollaborationException
- if there was an error getting the time zonesetTimeZone(TimeZone)
,
getTimeZone(boolean)
TimeZone getTimeZone(boolean bDefault) throws CollaborationException
bDefault
- if true
and the time zone is not
already set, return the VM's default time zone, otherwise
return null
null
if it was never
set and bDefault
is false
or the VM's
default time zone if it was never set the bDefault
is true
CollaborationException
- if there was an error getting the time zonesetTimeZone(TimeZone)
Calendar getCalendar() throws CollaborationException
null
)
CollaborationException
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |