public class MultiDirectory extends AbstractDirectory
| Constructor and Description |
|---|
MultiDirectory(MultiDirectoryDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIdField()
Gets the id field of the schema for this directory.
|
String |
getName()
Gets the unique name of the directory, used for registering.
|
String |
getParentDirectory()
Gets the name of the parent directory.
|
String |
getPasswordField()
Gets the password field of the schema for this directory.
|
Reference |
getReference(String referenceFieldName)
Lookup a Reference by field name.
|
String |
getSchema()
Gets the schema name used by this directory.
|
Session |
getSession()
Creates a session for accessing entries in this directory.
|
void |
invalidateDirectoryCache()
Invalidates the cache instance of the directory
|
void |
shutdown()
Shuts down the directory.
|
addReference, addReferences, getCache, getFieldMapper, getReferences, invalidateCaches, isReference, orderEntriespublic MultiDirectory(MultiDirectoryDescriptor descriptor)
public String getName()
Directorypublic String getSchema()
Directorypublic String getParentDirectory()
Directorypublic String getIdField()
Directorypublic String getPasswordField()
Directorypublic Session getSession() throws DirectoryException
DirectoryDirectoryException - if a session cannot be createdpublic void shutdown()
throws DirectoryException
DirectoryDirectoryExceptionpublic Reference getReference(String referenceFieldName)
DirectorygetReference in interface DirectorygetReference in class AbstractDirectorypublic void invalidateDirectoryCache()
throws DirectoryException
DirectoryinvalidateDirectoryCache in interface DirectoryinvalidateDirectoryCache in class AbstractDirectoryDirectoryExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.