public class MultiDirectory extends AbstractDirectory
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
|
void |
shutdown()
Shuts down the directory.
|
addReference, addReferences, getCache, getFieldMapper, getReferences, invalidateCaches, isReference, orderEntries
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 void shutdown() throws DirectoryException
Directory
DirectoryException
public 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 © 2011 Nuxeo SA. All Rights Reserved.