public class MultiDirectory extends AbstractDirectory
Modifier and Type | Field and Description |
---|---|
protected boolean |
initialized |
cache, descriptor, fieldMapper, referenceClass, references, registry, schemaFieldMap, sessionCount, sessionMaxCount, types
Constructor and Description |
---|
MultiDirectory(MultiDirectoryDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
MultiDirectoryDescriptor |
getDescriptor()
Get descriptor
|
List<Reference> |
getReferences(String referenceFieldName)
Lookup the References by field name.
|
Session |
getSession()
Creates a session for accessing entries in this directory.
|
protected void |
initializeIfNeeded() |
void |
invalidateDirectoryCache()
Invalidates the cache instance of the directory
|
addInverseReferences, addReference, addReferences, addReferences, addSession, doSanityChecks, fallbackOnDefaultCache, getCache, getDirectoryDeleteConstraints, getFieldMapper, getIdField, getName, getParentDirectory, getPasswordField, getReference, getReferences, getSchema, getSchemaFieldMap, getTypes, initSchemaFieldMap, invalidateCaches, isMultiTenant, isReadOnly, isReference, orderEntries, removeSession, setReadOnly, shutdown
protected volatile boolean initialized
public MultiDirectory(MultiDirectoryDescriptor descriptor)
public MultiDirectoryDescriptor getDescriptor()
Directory
public Session getSession() throws DirectoryException
Directory
DirectoryException
- if a session cannot be createdprotected void initializeIfNeeded()
public 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 © 2018 Nuxeo. All rights reserved.