Jwma

dtw.webmail.model
Interface JwmaContactGroupImpl

All Superinterfaces:
JwmaContactGroup
All Known Implementing Classes:
CastorContactGroup

public interface JwmaContactGroupImpl
extends JwmaContactGroup

Interface for JwmaContactGroup implementations. This is the interface any specialized implementation has to expose internal to controllers and models.

Version:
0.9.7 07/02/2003
Author:
Dieter Wimberger

Method Summary
 void addContact(JwmaContactImpl contact)
          Adds a JwmaContactImpl instance to this contact database.
 boolean containsContact(java.lang.String uid)
          Tests if this JwmaContactGroupImpl contains a contact with the given unique identifier.
 void removeContact(JwmaContactImpl contact)
          Removes a JwmaContactImpl instance from this contact database.
 void setComments(java.lang.String comments)
          Sets the comments about this JwmaContactGroupImpl.
 void setName(java.lang.String name)
          Sets the name of this JwmaContactGroupImpl.
 
Methods inherited from interface dtw.webmail.model.JwmaContactGroup
getComments, getName, getUID, listContacts
 

Method Detail

setName

public void setName(java.lang.String name)
Sets the name of this JwmaContactGroupImpl.

Parameters:
name - the name of this group as String.

setComments

public void setComments(java.lang.String comments)
Sets the comments about this JwmaContactGroupImpl.

Parameters:
comments - the comments about this group as String.

addContact

public void addContact(JwmaContactImpl contact)
Adds a JwmaContactImpl instance to this contact database.

Parameters:
contact - the JwmaContactImpl to be added.

removeContact

public void removeContact(JwmaContactImpl contact)
Removes a JwmaContactImpl instance from this contact database.

Parameters:
contact - the JwmaContactImpl to be removed.

containsContact

public boolean containsContact(java.lang.String uid)
Tests if this JwmaContactGroupImpl contains a contact with the given unique identifier.

Parameters:
uid - a unique identifier of a contact.
Returns:
true if contained, false otherwise.

Jwma

Copyright © 2000-2003 jwma team (All Rights Reserved.)