net.wimpi.pim.contact.db
Interface ContactDatabase

All Superinterfaces:
Identifiable
All Known Implementing Classes:
ContactDatabaseImpl

public interface ContactDatabase
extends Identifiable

Interface modeling a ContactDatabase.

Version:
0.1 (22/07/2003)
Author:
Dieter Wimberger

Method Summary
 ContactGroup createContactGroup()
          Creates and returns a new ContactGroup instance.
 ContactCollection getContactCollection()
          Returns the collection of contacts stored in this ContactDatabase.
 ContactGroupCollection getContactGroupCollection()
          Returns the collection of contact groups stored in this ContactDatabase.
 Contact getOwner()
          Returns the owner of this ContactDatabase.
 void setOwner(Contact contact)
          Sets the owner of this ContactDatabase.
 
Methods inherited from interface net.wimpi.pim.util.Identifiable
getUID
 

Method Detail

getOwner

public Contact getOwner()
Returns the owner of this ContactDatabase.

Returns:
the owner as Contact.

setOwner

public void setOwner(Contact contact)
Sets the owner of this ContactDatabase.

Parameters:
contact - the owner as Contact.

getContactCollection

public ContactCollection getContactCollection()
Returns the collection of contacts stored in this ContactDatabase.

Returns:
the collection of contacts as ContactCollection.

getContactGroupCollection

public ContactGroupCollection getContactGroupCollection()
Returns the collection of contact groups stored in this ContactDatabase.

Returns:
the collection of groups as ContactGroupCollection.

createContactGroup

public ContactGroup createContactGroup()
Creates and returns a new ContactGroup instance.

Returns:
a new ContactGroup instace.


Copyright © 2001-2003 jpim team.