mailpuccino
Class LocalDirectoryService
java.lang.Object
mailpuccino.LocalDirectoryService
- All Implemented Interfaces:
- ComponentType, Directory, DirectoryEntry, DirectoryService
- Direct Known Subclasses:
- LDAPDirectoryService
- public class LocalDirectoryService
- extends java.lang.Object
- implements DirectoryService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeName
static java.lang.String TypeName
FIRE_ADDED
static final int FIRE_ADDED
- See Also:
- Constant Field Values
FIRE_CHANGED
static final int FIRE_CHANGED
- See Also:
- Constant Field Values
FIRE_DELETED
static final int FIRE_DELETED
- See Also:
- Constant Field Values
ListenerList
javax.swing.event.EventListenerList ListenerList
Config
protected Preferences Config
Contents
protected Preferences Contents
AllEntries
protected java.util.Vector AllEntries
Name
java.lang.String Name
LocalDirectoryService
public LocalDirectoryService()
getType
public java.lang.String getType()
- Specified by:
getType
in interface ComponentType
getName
public java.lang.String getName()
- Specified by:
getName
in interface DirectoryService
setCommStatusListener
public void setCommStatusListener(CommStatusListener Target)
- Specified by:
setCommStatusListener
in interface DirectoryService
init
public void init(Preferences Config)
- Specified by:
init
in interface DirectoryService
open
public void open()
throws DirectoryException
- Specified by:
open
in interface DirectoryService
- Throws:
DirectoryException
close
public void close()
throws DirectoryException
- Specified by:
close
in interface DirectoryService
- Throws:
DirectoryException
getEntries
public java.util.Vector getEntries()
throws DirectoryException
- Specified by:
getEntries
in interface Directory
- Throws:
DirectoryException
getEntryCount
public int getEntryCount()
throws DirectoryException
- Specified by:
getEntryCount
in interface Directory
- Throws:
DirectoryException
createSub
public Directory createSub()
throws DirectoryException
- Specified by:
createSub
in interface DirectoryService
- Throws:
DirectoryException
createEntry
public DirectoryEntry createEntry()
throws DirectoryException
- Specified by:
createEntry
in interface DirectoryService
- Throws:
DirectoryException
addEntry
public DirectoryEntry addEntry(DirectoryEntry Target)
throws DirectoryException
- Throws:
DirectoryException
removeEntry
public void removeEntry(DirectoryEntry Target)
throws DirectoryException
- Specified by:
removeEntry
in interface DirectoryService
- Throws:
DirectoryException
search
public java.util.Vector search(java.lang.String Attr,
java.lang.String Target,
int MaxHits,
SearchHitsListener HitsListener)
throws DirectoryException
- Specified by:
search
in interface DirectoryService
- Throws:
DirectoryException
getEntryConfigInterface
public InterfaceJPanel getEntryConfigInterface(DirectoryEntry Target)
- Specified by:
getEntryConfigInterface
in interface DirectoryService
getInterface
public InterfaceJPanel getInterface()
- Specified by:
getInterface
in interface DirectoryService
addDirectoryListener
public void addDirectoryListener(DirectoryListener Target)
- Specified by:
addDirectoryListener
in interface DirectoryService
removeDirectoryListener
public void removeDirectoryListener(DirectoryListener Target)
- Specified by:
removeDirectoryListener
in interface DirectoryService
fireChanged
public void fireChanged(DirectoryEntry Target)
fireAdded
public void fireAdded(DirectoryEntry Target)
fireDeleted
public void fireDeleted(DirectoryEntry Target)
getAttribute
public java.lang.String getAttribute(java.lang.String Name)
throws DirectoryException
- Specified by:
getAttribute
in interface DirectoryEntry
- Throws:
DirectoryException
getAttributes
public java.lang.String[] getAttributes(java.lang.String[] Names)
throws DirectoryException
- Specified by:
getAttributes
in interface DirectoryEntry
- Throws:
DirectoryException
setAttribute
public void setAttribute(java.lang.String Name,
java.lang.String Value)
throws DirectoryException
- Specified by:
setAttribute
in interface DirectoryEntry
- Throws:
DirectoryException
setAttributes
public void setAttributes(java.lang.String[] Names,
java.lang.String[] Values)
throws DirectoryException
- Specified by:
setAttributes
in interface DirectoryEntry
- Throws:
DirectoryException
getDirectory
public DirectoryService getDirectory()
- Specified by:
getDirectory
in interface DirectoryEntry