public class MongoDBDirectory extends AbstractDirectory
Directory
Modifier and Type | Field and Description |
---|---|
protected String |
countersCollectionName |
protected boolean |
initialized |
cache, descriptor, fieldMapper, referenceClass, references, registry, schemaFieldMap, sessionCount, sessionMaxCount, types
Constructor and Description |
---|
MongoDBDirectory(MongoDBDirectoryDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
protected void |
addMongoDBReferences(MongoDBReferenceDescriptor[] mongodbReferences) |
String |
getCountersCollectionName() |
MongoDBDirectoryDescriptor |
getDescriptor()
Get descriptor
|
Session |
getSession()
Creates a session for accessing entries in this directory.
|
protected void |
loadData(Schema schema,
Session session) |
addInverseReferences, addReference, addReferences, addReferences, addSession, doSanityChecks, getCache, getDirectoryDeleteConstraints, getFieldMapper, getIdField, getName, getParentDirectory, getPasswordField, getReference, getReferences, getReferences, getSchema, getSchemaFieldMap, getTypes, invalidateCaches, invalidateDirectoryCache, isMultiTenant, isReadOnly, isReference, orderEntries, removeSession, setReadOnly, shutdown
protected String countersCollectionName
protected boolean initialized
public MongoDBDirectory(MongoDBDirectoryDescriptor descriptor)
public MongoDBDirectoryDescriptor getDescriptor()
Directory
public Session getSession() throws DirectoryException
Directory
DirectoryException
- if a session cannot be createdprotected void addMongoDBReferences(MongoDBReferenceDescriptor[] mongodbReferences)
public String getCountersCollectionName()
Copyright © 2017 Nuxeo. All rights reserved.