|
Class grendel.addressbook.AddressCard.LDAP_Server
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
LDAPConnection fConnection
private static final String LEFT_PAREN
private static final String RIGHT_PARAN
Constructors
public LDAP_Server(String ServerName)
public LDAP_Server(String aServerName,
int aPort,
String aUserName,
String aPassword)
Methods
public void close()
Close the addres card source
- Implements:
- close in interface ICardSource
private String escape(String aStringToEscape)
public String opAnd(ITerm aLeftTerm,
ITerm aRightTerm)
- Implements:
- opAnd in interface IQueryString
public String opOr(ITerm aLeftTerm,
ITerm aRightTerm)
- Implements:
- opOr in interface IQueryString
public String opEqual(IAttribute ACA)
- Implements:
- opEqual in interface IQueryString
public String opNotEqual(IAttribute ACA)
- Implements:
- opNotEqual in interface IQueryString
public String opGTE(IAttribute ACA)
- Implements:
- opGTE in interface IQueryString
public String opLTE(IAttribute ACA)
- Implements:
- opLTE in interface IQueryString
public ICardSet getCardSet(ITerm aQueryTerm,
String[] anAttributesArray)
Retrieveing address cards as a set.
- Implements:
- getCardSet in interface ICardSource
public void add(ICard aCard) throws AC_Exception
Add an entry to the server.
- Implements:
- add in interface ICardSource
public LDAP_Card checkMyCard(ICard aCard) throws AC_Exception
Delete an entry from the server.
public void delete(ICard aCard) throws AC_Exception
Delete an entry from the server.
- Implements:
- delete in interface ICardSource
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
|