public class MultiDirectory extends AbstractDirectory
name
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
|
addReference, addReferences, addSession, getCache, getFieldMapper, getReferences, invalidateCaches, isMultiTenant, isReference, orderEntries, removeSession, shutdown
public MultiDirectory(MultiDirectoryDescriptor descriptor)
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 Reference getReference(String referenceFieldName)
Directory
getReference
in interface Directory
getReference
in class AbstractDirectory
public void invalidateDirectoryCache() throws DirectoryException
Directory
invalidateDirectoryCache
in interface Directory
invalidateDirectoryCache
in class AbstractDirectory
DirectoryException
Copyright © 2013 Nuxeo SA. All Rights Reserved.