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
-
Method Summary
Modifier and TypeMethodDescriptionGet descriptorgetReferences
(String referenceFieldName) Lookup the References by field name.Creates a session for accessing entries in this directory.void
Invalidates 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, shutdown
-
Constructor Details
-
MultiDirectory
-
-
Method Details
-
getDescriptor
Description copied from interface:Directory
Get descriptor -
getSession
Description copied from interface:Directory
Creates a session for accessing entries in this directory.- Returns:
- a Session object
-
getReferences
Description copied from interface:Directory
Lookup the References by field name.- Specified by:
getReferences
in interfaceDirectory
- Overrides:
getReferences
in classAbstractDirectory
- Returns:
- the matching references implementation or null
-
invalidateDirectoryCache
public void invalidateDirectoryCache()Description copied from interface:Directory
Invalidates the cache instance of the directory- Specified by:
invalidateDirectoryCache
in interfaceDirectory
- Overrides:
invalidateDirectoryCache
in classAbstractDirectory
-