public final class Groupware extends Object
| Constructor and Description |
|---|
Groupware(NotesLocation location)
Constructor.
|
Groupware(NotesLocation location,
DNotesMonitor monitor)
Constructor.
|
Groupware(String locationUri)
Constructor.
|
Groupware(String locationUri,
DNotesMonitor monitor)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the groupware instance, including all internal resources of the
Notes connection.
|
Iterator |
getAddressBooks()
Returns an iterator over all available public and private addressbooks.
|
CalendarInterface |
getCalendar()
Returns an implementation of the calendar interface.
|
Mailbox |
getMailbox()
Returns an implementation of the mailbox interface for the current user.
|
Mailbox |
getMailbox(String username)
Returns an implementation of the mailbox interface for a given user.
|
public Groupware(String locationUri) throws GroupwareException
If the location is a IIOP location and the mail-server of the current user is not the server as specified in the location the connection will fail.
locationUri - location URI of notes databaseGroupwareException - if the groupware cannot be initializedpublic Groupware(String locationUri, DNotesMonitor monitor) throws GroupwareException
If the location is a IIOP location and the mail-server of the current user is not the server as specified in the location the connection will fail.
locationUri - location URI of notes databasemonitor - a monitorGroupwareException - if the groupware cannot be initializedpublic Groupware(NotesLocation location) throws GroupwareException
If the location is a IIOP location and the mail-server of the current user is not the server as specified in the location the connection will fail.
location - location of notes databaseGroupwareException - if the groupware cannot be initializedpublic Groupware(NotesLocation location, DNotesMonitor monitor) throws GroupwareException
If the location is a IIOP location and the mail-server of the current user is not the server as specified in the location the connection will fail.
location - location of notes databasemonitor - a monitorGroupwareException - if the groupware cannot be initializedpublic Mailbox getMailbox() throws GroupwareException
GroupwareException - if the mailbox cannot be openedpublic Mailbox getMailbox(String username) throws GroupwareException
username - usernameGroupwareException - if the mailbox cannot be openedpublic CalendarInterface getCalendar() throws GroupwareException
GroupwareException - if the calendar database cannot be opened.public Iterator getAddressBooks()
AddressBookpublic void close()
throws DNotesRuntimeException
DNotesRuntimeException - if an error occurs during disposal or
if not all objects can be disposedCopyright © 2005–2020. All rights reserved.