public class MultiDirectory extends AbstractDirectory
cache, fieldMapper, name, references, registry, sessionCount, sessionMaxCount| Constructor and Description |
|---|
MultiDirectory(MultiDirectoryDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
protected MultiDirectoryDescriptor |
getDescriptor() |
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.
|
List<Reference> |
getReferences(String referenceFieldName)
Lookup the References 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
|
addReference, addReferences, addSession, getCache, getFieldMapper, getReference, getReferences, invalidateCaches, isMultiTenant, isReference, orderEntries, removeSession, shutdownpublic MultiDirectory(MultiDirectoryDescriptor descriptor)
protected MultiDirectoryDescriptor getDescriptor()
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 List<Reference> getReferences(String referenceFieldName)
DirectorygetReferences in interface DirectorygetReferences in class AbstractDirectorypublic void invalidateDirectoryCache() throws DirectoryException
DirectoryinvalidateDirectoryCache in interface DirectoryinvalidateDirectoryCache in class AbstractDirectoryDirectoryExceptionCopyright © 2016 Nuxeo SA. All rights reserved.