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
DirectoryException
public String getName() throws DirectoryException
Directory
getName
in interface Directory
DirectoryException
public String getSchema() throws DirectoryException
Directory
getSchema
in interface Directory
DirectoryException
public String getParentDirectory() throws DirectoryException
Directory
getParentDirectory
in interface Directory
DirectoryException
public String getIdField() throws DirectoryException
Directory
getIdField
in interface Directory
DirectoryException
public String getPasswordField() throws DirectoryException
Directory
getPasswordField
in interface Directory
DirectoryException
public Session getSession() throws DirectoryException
Directory
getSession
in interface Directory
DirectoryException
- if a session cannot be createdpublic void shutdown() throws DirectoryException
Directory
shutdown
in interface Directory
DirectoryException
public Reference getReference(String referenceFieldName)
Directory
getReference
in interface Directory
public Collection<Reference> getReferences() throws DirectoryException
Directory
getReferences
in interface Directory
DirectoryException
public DirectoryCache getCache() throws DirectoryException
Directory
getCache
in interface Directory
DirectoryException
public void invalidateDirectoryCache() throws DirectoryException
Directory
invalidateDirectoryCache
in interface Directory
DirectoryException
public boolean isMultiTenant() throws DirectoryException
Directory
true
if this directory is a multi tenant directory,
false
otherwise.isMultiTenant
in interface Directory
DirectoryException
Copyright © 2013 Nuxeo SA. All Rights Reserved.