| java.lang.Object com.sun.addressbook.Element com.sun.addressbook.AddressBook com.sun.addressbook.ldap.LdapAddressBook
LdapAddressBook | public class LdapAddressBook extends AddressBook (Code) | | Ldap Adapter Address Book implementation: encapsulates the
commands to be carried out on the address book.
|
Method Summary | |
public void | add(Element element) Add a new Element to the address book. | protected void | addEntry(Entry entry) | protected void | addGroup(Group group) Create a new group in the address book. | public void | addGroupMember(Element element, Group group) Add an entry to an existing group in the address book. | public void | delete(Element element) Delete an Element from the address book. | protected void | deleteEntry(Entry entry) | protected void | deleteGroup(Group group) Delete an existing group in the address book. | public void | deleteGroupMember(Element element, Group group) Delete an Element from a group in the address book. | public Element[] | fetch(ABFilter abFilter) Run a search on the address book given the contraints and
filters specified in the ABFilter argument.
Parameters: abFilter - Definition of the contraints and the filters for thefetch. | protected Element[] | fetchAll(ABFilter abFilter) | protected Entry[] | fetchEntries(ABFilter abFilter) | public Element[] | fetchGroupMembers(ABFilter filter, Group group) | protected Group[] | fetchGroups(ABFilter abFilter) Fetch the list of groups in the address book. | public void | modify(Element oldElement, Element newElement) Modify an Element from the address book. | protected void | modifyEntry(Entry oldEntry, Entry newEntry) | public void | modifyGroup(Group oldGroup, Group newGroup) Modify a group in the address book. | public ABSearchTerm | newABSearchTerm(String name, String value, boolean exact) Return the ABSearchTerm object corresponding to the service type. | public ABSearchTerm | newABSearchTerm(ABSearchTerm term, int op) Return the ABSearchTerm object corresponding to the service type. | public ABSearchTerm | newABSearchTerm(ABSearchTerm[] terms, int op) Return the ABSearchTerm object corresponding to the service type. |
newABSearchTerm | public ABSearchTerm newABSearchTerm(String name, String value, boolean exact)(Code) | | Return the ABSearchTerm object corresponding to the service type.
ABSearchTerm object corresponding to the service type. |
newABSearchTerm | public ABSearchTerm newABSearchTerm(ABSearchTerm[] terms, int op) throws ABStoreException(Code) | | Return the ABSearchTerm object corresponding to the service type.
ABSearchTerm object corresponding to the service type. |
Methods inherited from com.sun.addressbook.AddressBook | abstract public void add(Element element) throws ABStoreException, OperationNotSupportedException(Code)(Java Doc) abstract public void addGroupMember(Element element, Group group) throws ABStoreException, OperationNotSupportedException(Code)(Java Doc) abstract public void delete(Element element) throws ABStoreException, OperationNotSupportedException(Code)(Java Doc) abstract public void deleteGroupMember(Element element, Group group) throws ABStoreException, OperationNotSupportedException(Code)(Java Doc) abstract public Element[] fetch(ABFilter abFilter) throws ABStoreException, OperationNotSupportedException(Code)(Java Doc) abstract public Element[] fetchGroupMembers(ABFilter filter, Group group) throws ABStoreException, OperationNotSupportedException(Code)(Java Doc) public String getAbID()(Code)(Java Doc) public String getLocale()(Code)(Java Doc) public ABStore getStore()(Code)(Java Doc) abstract public void modify(Element oldElement, Element newElement) throws ABStoreException, OperationNotSupportedException(Code)(Java Doc) abstract public ABSearchTerm newABSearchTerm(String name, String value, boolean exact)(Code)(Java Doc) abstract public ABSearchTerm newABSearchTerm(ABSearchTerm term, int op) throws ABStoreException(Code)(Java Doc) abstract public ABSearchTerm newABSearchTerm(ABSearchTerm[] terms, int op) throws ABStoreException(Code)(Java Doc) public void setLocale(String locale)(Code)(Java Doc)
|
|
|