You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.addressbook.AddressCard.LDAP_CardSet

java.lang.Object
   |
   +----grendel.addressbook.AddressCard.LDAP_CardSet

public class  LDAP_CardSet
     extends java.lang.Object
     implements grendel.addressbook.AddressCard.ICardSet, 
                java.util.Enumeration
{
          // Fields 2
     private LDAP_Server fParentSource;
     private LDAPSearchResults fResultSet;

          // Constructors 1
     protected LDAP_CardSet(LDAP_Server, LDAPSearchResults);

          // Methods 6
     public void add(ICard);
     public Enumeration getEnumeration();
     public boolean hasMoreElements();
     public Object nextElement();
     public void remove(ICard);
     public synchronized void sort(String[]);
}



Fields


fParentSource

   private LDAP_Server fParentSource


fResultSet

   private LDAPSearchResults fResultSet



Constructors


LDAP_CardSet

   protected LDAP_CardSet(LDAP_Server aParentSource, 
                          LDAPSearchResults aResultSet) 

Constructor for LDAP server.




Methods


add

   public void add(ICard aCard) 

Add a card to the set. This only addes the card to the set NOT the source of the set.

Implements:
add in interface ICardSet


remove

   public void remove(ICard aCard) 

Remove a card from the set. This only removes the card from the set NOT the source of the set.

Implements:
remove in interface ICardSet


sort

   public synchronized void sort(String[] sortAttrs) 

Sort the set.

Implements:
sort in interface ICardSet


getEnumeration

   public Enumeration getEnumeration() 

Return the card set enumeration. We enumerate our own cards. FIX: Not multi-threaded!

Implements:
getEnumeration in interface ICardSet


hasMoreElements

   public boolean hasMoreElements() 

Enumeration methods

Implements:
hasMoreElements in interface Enumeration


nextElement

   public Object nextElement() 

Enumeration methods

Implements:
nextElement in interface Enumeration


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4