public class MongoDBDirectory extends AbstractDirectory
Directory
Modifier and Type | Field and Description |
---|---|
protected String |
countersCollectionName |
protected boolean |
initialized |
protected Map<String,Field> |
schemaFieldMap |
cache, descriptor, fieldMapper, references, registry, sessionCount, sessionMaxCount
Constructor and Description |
---|
MongoDBDirectory(MongoDBDirectoryDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
String |
getCountersCollectionName() |
MongoDBDirectoryDescriptor |
getDescriptor()
To be implemented with a more specific return type.
|
Map<String,Field> |
getSchemaFieldMap() |
Session |
getSession()
Creates a session for accessing entries in this directory.
|
addReference, addReferences, addSession, doSanityChecks, getCache, getDirectoryDeleteConstraints, getFieldMapper, getIdField, getName, getParentDirectory, getPasswordField, getReference, getReferences, getReferences, getSchema, getTypes, invalidateCaches, invalidateDirectoryCache, isMultiTenant, isReadOnly, isReference, orderEntries, removeSession, setReadOnly, shutdown
protected Map<String,Field> schemaFieldMap
protected String countersCollectionName
protected boolean initialized
public MongoDBDirectory(MongoDBDirectoryDescriptor descriptor)
public MongoDBDirectoryDescriptor getDescriptor()
AbstractDirectory
getDescriptor
in class AbstractDirectory
public Session getSession() throws DirectoryException
Directory
DirectoryException
- if a session cannot be createdpublic Map<String,Field> getSchemaFieldMap()
public String getCountersCollectionName()
Copyright © 2017 Nuxeo. All rights reserved.