|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.bea.domingo.map.BaseDatabase
de.bea.domingo.groupware.map.NamesDatabase
public final class NamesDatabase
Interface to public and private name and address book databases.
| Constructor Summary | |
|---|---|
NamesDatabase(DSession session,
NotesLocation location)
Constructor. |
|
NamesDatabase(java.lang.String locationUri)
Constructor. |
|
| Method Summary | |
|---|---|
java.util.Iterator |
getContacts()
Returns an iterator over all contacts in the Address Book. |
boolean |
isPrivate()
Indicates if a database is a Personal Address Book. |
boolean |
isPublic()
Indicates if a database is a Public Address Book. |
protected void |
registerMappers()
Implemented by derived class; must register all mappers. |
| Methods inherited from class de.bea.domingo.map.BaseDatabase |
|---|
create, getDatabase, getSession, getTitle, map, map, map, register, save |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.bea.domingo.groupware.AddressBook |
|---|
getTitle |
| Constructor Detail |
|---|
public NamesDatabase(java.lang.String locationUri)
throws java.io.IOException,
DNotesException
locationUri - URI of location of database.
java.io.IOException - if the location is not a valid notes location
DNotesException - if the database cannot be opened
public NamesDatabase(DSession session,
NotesLocation location)
throws DNotesException
session - an existing domingo sessionlocation - location of database.
DNotesException - if the uri is invalid or the database cannot be
opened| Method Detail |
|---|
public java.util.Iterator getContacts()
Should return in alphabetical order
getContacts in interface AddressBookAddressBook.getContacts()public boolean isPrivate()
isPrivate in interface AddressBooktrue if the database is a Personal Address Book,
false if the database is not Personal Address BookAddressBook.isPrivate()public boolean isPublic()
isPublic in interface AddressBooktrue if the database is a Public Address Book,
false if the database is not Public Address BookAddressBook.isPublic()
protected void registerMappers()
throws MapperRegistrationException
registerMappers in class BaseDatabaseMapperRegistrationException - if an error occurred during
registering a mapperBaseDatabase.registerMappers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||