Package org.nuxeo.ecm.directory.memory
Class MemoryDirectory
- java.lang.Object
-
- org.nuxeo.ecm.directory.AbstractDirectory
-
- org.nuxeo.ecm.directory.memory.MemoryDirectory
-
- All Implemented Interfaces:
Directory
public class MemoryDirectory extends AbstractDirectory
- Author:
- Florent Guillaume
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.nuxeo.ecm.directory.AbstractDirectory
AbstractDirectory.CSVLoaderConsumer
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Map<String,Object>>
data
Set<String>
schemaSet
-
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 Constructor Description MemoryDirectory(MemoryDirectoryDescriptor descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MemoryDirectoryDescriptor
getDescriptor()
Get descriptorMemoryDirectorySession
getSession()
Creates a session for accessing entries in this directory.-
Methods inherited from class org.nuxeo.ecm.directory.AbstractDirectory
addInverseReferences, addReference, addReferences, addSession, doSanityChecks, fallbackOnDefaultCache, getCache, getDirectoryDeleteConstraints, getFieldMapper, getIdField, getName, getParentDirectory, getPasswordField, getReference, getReferences, getReferences, getSchema, getSchemaFieldMap, getTypes, initialize, initializeInverseReferences, initializeReferences, initSchemaFieldMap, invalidateCaches, invalidateDirectoryCache, isMultiTenant, isReadOnly, isReference, loadData, loadDataOnInit, loadFromCSV, makeOrderBy, newReference, orderEntries, removeSession, setReadOnly, shutdown
-
-
-
-
Constructor Detail
-
MemoryDirectory
public MemoryDirectory(MemoryDirectoryDescriptor descriptor)
-
-
Method Detail
-
getDescriptor
public MemoryDirectoryDescriptor getDescriptor()
Description copied from interface:Directory
Get descriptor
-
getSession
public MemoryDirectorySession getSession()
Description copied from interface:Directory
Creates a session for accessing entries in this directory.- Returns:
- a Session object
-
-