Package org.nuxeo.ecm.directory.multi
Class MultiDirectory
java.lang.Object
org.nuxeo.ecm.directory.AbstractDirectory
org.nuxeo.ecm.directory.multi.MultiDirectory
- All Implemented Interfaces:
Directory
- Author:
- Florent Guillaume
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.ecm.directory.AbstractDirectory
AbstractDirectory.CSVLoaderConsumer -
Field Summary
Fields inherited from class org.nuxeo.ecm.directory.AbstractDirectory
cache, descriptor, fieldMapper, referenceClass, references, registry, schemaFieldMap, sessionCount, sessionMaxCount, TENANT_ID_FIELD, types -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet descriptorgetReferences(String referenceFieldName) Lookup the References by field name.Creates a session for accessing entries in this directory.voidInvalidates the cache instance of the directoryMethods inherited from class org.nuxeo.ecm.directory.AbstractDirectory
addInverseReferences, addReference, addReferences, addSession, doSanityChecks, fallbackOnDefaultCache, getCache, getDirectoryDeleteConstraints, getFieldMapper, getIdField, getName, getParentDirectory, getPasswordField, getReferences, getSchema, getSchemaFieldMap, getTypes, initialize, initializeInverseReferences, initializeReferences, initSchemaFieldMap, invalidateCaches, isMultiTenant, isReadOnly, isReference, loadData, loadDataOnInit, loadFromCSV, makeOrderBy, newReference, orderEntries, removeSession, setReadOnly, shutdownMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.directory.Directory
createBareDocumentModel, createBareDocumentModel
-
Constructor Details
-
MultiDirectory
-
-
Method Details
-
getDescriptor
Description copied from interface:DirectoryGet descriptor -
getSession
Description copied from interface:DirectoryCreates a session for accessing entries in this directory.- Returns:
- a Session object
-
getReferences
Description copied from interface:DirectoryLookup the References by field name.- Specified by:
getReferencesin interfaceDirectory- Overrides:
getReferencesin classAbstractDirectory- Returns:
- the matching references implementation or null
-
invalidateDirectoryCache
public void invalidateDirectoryCache()Description copied from interface:DirectoryInvalidates the cache instance of the directory- Specified by:
invalidateDirectoryCachein interfaceDirectory- Overrides:
invalidateDirectoryCachein classAbstractDirectory
-