mailpuccino
Interface DirectoryService

All Superinterfaces:
ComponentType, Directory, DirectoryEntry
All Known Implementing Classes:
LDAPDirectoryService, LocalDirectoryService

public interface DirectoryService
extends Directory, ComponentType


Method Summary
 void addDirectoryListener(DirectoryListener Target)
           
 void close()
           
 DirectoryEntry createEntry()
           
 Directory createSub()
           
 InterfaceJPanel getEntryConfigInterface(DirectoryEntry Target)
           
 InterfaceJPanel getInterface()
           
 java.lang.String getName()
           
 void init(Preferences Config)
           
 void open()
           
 void removeDirectoryListener(DirectoryListener Target)
           
 void removeEntry(DirectoryEntry Target)
           
 java.util.Vector search(java.lang.String Attr, java.lang.String Pattern, int MaxHits, SearchHitsListener TheListener)
           
 void setCommStatusListener(CommStatusListener Target)
           
 
Methods inherited from interface mailpuccino.Directory
getEntries, getEntryCount
 
Methods inherited from interface mailpuccino.DirectoryEntry
getAttribute, getAttributes, getDirectory, setAttribute, setAttributes
 
Methods inherited from interface mailpuccino.ComponentType
getType
 

Method Detail

init

public void init(Preferences Config)

getName

public java.lang.String getName()

addDirectoryListener

public void addDirectoryListener(DirectoryListener Target)

removeDirectoryListener

public void removeDirectoryListener(DirectoryListener Target)

setCommStatusListener

public void setCommStatusListener(CommStatusListener Target)

open

public void open()
          throws DirectoryException
Throws:
DirectoryException

close

public void close()
           throws DirectoryException
Throws:
DirectoryException

search

public java.util.Vector search(java.lang.String Attr,
                               java.lang.String Pattern,
                               int MaxHits,
                               SearchHitsListener TheListener)
                        throws DirectoryException
Throws:
DirectoryException

createSub

public Directory createSub()
                    throws DirectoryException
Throws:
DirectoryException

createEntry

public DirectoryEntry createEntry()
                           throws DirectoryException
Throws:
DirectoryException

removeEntry

public void removeEntry(DirectoryEntry Target)
                 throws DirectoryException
Throws:
DirectoryException

getEntryConfigInterface

public InterfaceJPanel getEntryConfigInterface(DirectoryEntry Target)

getInterface

public InterfaceJPanel getInterface()