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_Server

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

public class  LDAP_Server
     extends java.lang.Object
     implements grendel.addressbook.AddressCard.ICardSource, 
                grendel.addressbook.AddressCard.IQueryString
{
          // Fields 3
     private static final String LEFT_PAREN;
     private static final String RIGHT_PARAN;
     LDAPConnection fConnection;

          // Constructors 2
     public LDAP_Server(String);
     public LDAP_Server(String, int, String, String);

          // Methods 13
     public void add(ICard) throws AC_Exception;
     public LDAP_Card checkMyCard(ICard) throws AC_Exception;
     public void close();
     public void delete(ICard) throws AC_Exception;
     private String escape(String);
     public ICardSet getCardSet(ITerm, String[]);
     public String opAnd(ITerm, ITerm);
     public String opEqual(IAttribute);
     public String opGTE(IAttribute);
     public String opLTE(IAttribute);
     public String opNotEqual(IAttribute);
     public String opOr(ITerm, ITerm);
     public void update(ICard) throws AC_Exception;
}



Fields


fConnection

   LDAPConnection fConnection


LEFT_PAREN

   private static final String LEFT_PAREN


RIGHT_PARAN

   private static final String RIGHT_PARAN



Constructors


LDAP_Server

   public LDAP_Server(String ServerName) 


LDAP_Server

   public LDAP_Server(String aServerName, 
                      int aPort, 
                      String aUserName, 
                      String aPassword) 



Methods


close

   public void close() 

Close the addres card source

Implements:
close in interface ICardSource


escape

   private String escape(String aStringToEscape) 


opAnd

   public String opAnd(ITerm aLeftTerm, 
                       ITerm aRightTerm) 
Implements:
opAnd in interface IQueryString


opOr

   public String opOr(ITerm aLeftTerm, 
                      ITerm aRightTerm) 
Implements:
opOr in interface IQueryString


opEqual

   public String opEqual(IAttribute ACA) 
Implements:
opEqual in interface IQueryString


opNotEqual

   public String opNotEqual(IAttribute ACA) 
Implements:
opNotEqual in interface IQueryString


opGTE

   public String opGTE(IAttribute ACA) 
Implements:
opGTE in interface IQueryString


opLTE

   public String opLTE(IAttribute ACA) 
Implements:
opLTE in interface IQueryString


getCardSet

   public ICardSet getCardSet(ITerm aQueryTerm, 
                              String[] anAttributesArray) 

Retrieveing address cards as a set.

Implements:
getCardSet in interface ICardSource


add

   public void add(ICard aCard)  throws AC_Exception

Add an entry to the server.

Implements:
add in interface ICardSource


checkMyCard

   public LDAP_Card checkMyCard(ICard aCard)  throws AC_Exception

Delete an entry from the server.



delete

   public void delete(ICard aCard)  throws AC_Exception

Delete an entry from the server.

Implements:
delete in interface ICardSource


update

   public void update(ICard aCard)  throws AC_Exception

Update an entries attributes on the server.

Implements:
update in interface ICardSource


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