The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Search
Feedback


Class grendel.addressbook.AddressCard.LDAP_CardSet

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



Copyright © 1998 The Mozilla Organization.