|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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);
Fields inherited from interface com.compoze.collab.ISession |
PROP_ADMIN_LOCALE, PROP_AUTO_FETCH, PROP_LOCALE, PROP_LOG_LEVEL, PROP_PROGRAMMER_LOCALE, PROP_PROVIDER, PROP_SCHEMA, PROPVALUE_REMOVE, STATE_AUTHENTICATED, STATE_INITIALIZED, STATE_OPEN, STATE_UNINITIALIZED |
Method Summary | |
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. |
java.util.TimeZone |
getTimeZone()
Gets the user's timezone. |
java.util.TimeZone |
getTimeZone(boolean bDefault)
Gets the user's timezone. |
void |
setTimeZone(java.util.TimeZone timezone)
Sets the user's timezone. |
Methods inherited from interface com.compoze.collab.ISession |
addLogListener, close, endProfile, endTimer, endTimer, getAdminLocale, getAttribute, getDefaultRootContainer, getLocale, getLogLevel, getOption, getOptions, getProgrammerLocale, getProperty, getProvider, getState, isCapabilitySupported, log, login, login, logout, open, open, removeAttribute, setAdminLocale, setAttribute, setLocale, setLogLevel, setOption, setOptions, setProgrammerLocale, startProfile, startProfile, startTimer, startTimer |
Method Detail |
public 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
- public 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
- public IRootContainer getRootContainer(DefaultRootContainerClass defaultRootContainerClass) throws CollaborationException
defaultRootContainerClass
- the type of container to retrieve.CollaborationException
- public 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
- public void setTimeZone(java.util.TimeZone timezone) throws CollaborationException
timezone
- the java timezone (not null
)CollaborationException
- if there was an error setting the timezone.public java.util.TimeZone getTimeZone() throws CollaborationException
null
if it is not setCollaborationException
- if there was an error getting the time zonesetTimeZone(TimeZone)
,
getTimeZone(boolean)
public java.util.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 nullnull
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)
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |