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, shutdown
public MultiDirectory(MultiDirectoryDescriptor descriptor)
protected MultiDirectoryDescriptor getDescriptor()
public String getName()
Directory
public String getSchema()
Directory
public String getParentDirectory()
Directory
public String getIdField()
Directory
public String getPasswordField()
Directory
public Session getSession() throws DirectoryException
Directory
DirectoryException
- if a session cannot be createdpublic List<Reference> getReferences(String referenceFieldName)
Directory
getReferences
in interface Directory
getReferences
in class AbstractDirectory
public void invalidateDirectoryCache() throws DirectoryException
Directory
invalidateDirectoryCache
in interface Directory
invalidateDirectoryCache
in class AbstractDirectory
DirectoryException
Copyright © 2015 Nuxeo SA. All rights reserved.