public class LDAPDirectoryProxy extends Object implements Directory
| Constructor and Description |
|---|
LDAPDirectoryProxy(LDAPDirectoryDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
DirectoryCache |
getCache()
Gets the cache instance of the directory
|
LDAPDirectory |
getDirectory() |
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.
|
Collection<Reference> |
getReferences()
Lookup all References defined on the directory.
|
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
|
boolean |
isMultiTenant()
Returns
true if this directory is a multi tenant directory,
false otherwise. |
void |
shutdown()
Shuts down the directory.
|
public LDAPDirectoryProxy(LDAPDirectoryDescriptor descriptor)
public LDAPDirectory getDirectory() throws DirectoryException
DirectoryExceptionpublic String getName() throws DirectoryException
DirectorygetName in interface DirectoryDirectoryExceptionpublic String getSchema() throws DirectoryException
DirectorygetSchema in interface DirectoryDirectoryExceptionpublic String getParentDirectory() throws DirectoryException
DirectorygetParentDirectory in interface DirectoryDirectoryExceptionpublic String getIdField() throws DirectoryException
DirectorygetIdField in interface DirectoryDirectoryExceptionpublic String getPasswordField() throws DirectoryException
DirectorygetPasswordField in interface DirectoryDirectoryExceptionpublic Session getSession() throws DirectoryException
DirectorygetSession in interface DirectoryDirectoryException - if a session cannot be createdpublic void shutdown()
throws DirectoryException
Directoryshutdown in interface DirectoryDirectoryExceptionpublic Reference getReference(String referenceFieldName)
DirectorygetReference in interface Directorypublic Collection<Reference> getReferences() throws DirectoryException
DirectorygetReferences in interface DirectoryDirectoryExceptionpublic DirectoryCache getCache() throws DirectoryException
DirectorygetCache in interface DirectoryDirectoryExceptionpublic void invalidateDirectoryCache()
throws DirectoryException
DirectoryinvalidateDirectoryCache in interface DirectoryDirectoryExceptionpublic boolean isMultiTenant()
throws DirectoryException
Directorytrue if this directory is a multi tenant directory,
false otherwise.isMultiTenant in interface DirectoryDirectoryExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.