Novell exteNd
Director 5.2 API

com.sssw.cm.api
Interface EbiDirectoryContents


public interface EbiDirectoryContents

An object that implements this interface manages an ordered list of EbiDirectoryEntry objects. The ordering is by "key" (which is the Entry's name value in lower-case). The implementation uses a binary search for finding an Entry.

See Also:
EbiContentMgmtDelegate.getDirectoryContents(EbiContext, EbiDirectory, boolean, boolean)

Method Summary
 EbiDirectoryEntry findEntry(String keyToFind)
          Finds a Directory Entry by its key.
 int getCount()
          Gets the number of Entries in the Directory.
 Collection getEntries()
          Gets the Directory Entry list.
 

Method Detail

getEntries

public Collection getEntries()
Gets the Directory Entry list.
Returns:
a Collection of EbiDirectoryEntry's

findEntry

public EbiDirectoryEntry findEntry(String keyToFind)
Finds a Directory Entry by its key.
Returns:
EbiDirectoryEntry representing the found Entry; null if not found

getCount

public int getCount()
Gets the number of Entries in the Directory.
Returns:
the number of Entries in the Directory

Novell exteNd
Director 5.2 API