Package org.nuxeo.directory.mongodb
Class MongoDBDirectoryDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.directory.BaseDirectoryDescriptor
-
- org.nuxeo.directory.mongodb.MongoDBDirectoryDescriptor
-
- All Implemented Interfaces:
Cloneable
public class MongoDBDirectoryDescriptor extends BaseDirectoryDescriptor
- Since:
- 9.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.nuxeo.ecm.directory.BaseDirectoryDescriptor
BaseDirectoryDescriptor.SubstringMatchType
-
-
Field Summary
Fields Modifier and Type Field Description MongoDBReferenceDescriptor[]
mongodbReferences
-
Fields inherited from class org.nuxeo.ecm.directory.BaseDirectoryDescriptor
AUTO_INCREMENT_ID_FIELD_DEFAULT, autoincrementIdField, CACHE_MAX_SIZE_DEFAULT, CACHE_TIMEOUT_DEFAULT, cacheEntryName, cacheEntryWithoutReferencesName, cacheMaxSize, cacheTimeout, computeMultiTenantId, CREATE_TABLE_POLICIES, CREATE_TABLE_POLICY_ALWAYS, CREATE_TABLE_POLICY_DEFAULT, CREATE_TABLE_POLICY_NEVER, CREATE_TABLE_POLICY_ON_MISSING_COLUMNS, createTablePolicy, DATA_LOADING_POLICIES, DATA_LOADING_POLICY_LEGACY, DATA_LOADING_POLICY_NEVER_LOAD, DATA_LOADING_POLICY_REJECT_DUPLICATE, DATA_LOADING_POLICY_SKIP_DUPLICATE, DATA_LOADING_POLICY_UPDATE_DUPLICATE, dataFileCharacterSeparator, dataFileName, dataLoadingPolicy, DEFAULT_DATA_FILE_CHARACTER_SEPARATOR, extendz, idField, name, negativeCaching, parentDirectory, passwordField, passwordHashAlgorithm, permissions, READ_ONLY_DEFAULT, readOnly, remove, schemaName, SUBSTRING_MATCH_TYPE_DEFAULT, substringMatchType, tableName, template, types
-
-
Constructor Summary
Constructors Constructor Description MongoDBDirectoryDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MongoDBDirectoryDescriptor
clone()
Sub-classes MUST OVERRIDE and use a more specific return type.MongoDBReferenceDescriptor[]
getMongoDBReferences()
protected void
merge(MongoDBDirectoryDescriptor other)
void
merge(BaseDirectoryDescriptor other)
MongoDBDirectory
newDirectory()
Creates a newDirectory
instance from thisBaseDirectoryDescriptor
.-
Methods inherited from class org.nuxeo.ecm.directory.BaseDirectoryDescriptor
checkDataLoadingPolicy, getCacheMaxSize, getCacheTimeout, getCreateTablePolicy, getDataFileCharacterSeparator, getDataFileName, getDataLoadingPolicy, getDeleteConstraints, getInverseReferences, getReferences, getSubstringMatchType, isAutoincrementIdField, isComputeMultiTenantId, isReadOnly, setAutoincrementIdField, setReadOnly
-
-
-
-
Field Detail
-
mongodbReferences
public MongoDBReferenceDescriptor[] mongodbReferences
-
-
Method Detail
-
getMongoDBReferences
public MongoDBReferenceDescriptor[] getMongoDBReferences()
-
merge
public void merge(BaseDirectoryDescriptor other)
- Overrides:
merge
in classBaseDirectoryDescriptor
-
merge
protected void merge(MongoDBDirectoryDescriptor other)
-
clone
public MongoDBDirectoryDescriptor clone()
Description copied from class:BaseDirectoryDescriptor
Sub-classes MUST OVERRIDE and use a more specific return type.Usually it's bad to use clone(), and a copy-constructor is preferred, but here we want the copy method to be inheritable so clone() is appropriate.
- Overrides:
clone
in classBaseDirectoryDescriptor
-
newDirectory
public MongoDBDirectory newDirectory()
Description copied from class:BaseDirectoryDescriptor
Creates a newDirectory
instance from thisBaseDirectoryDescriptor
.- Overrides:
newDirectory
in classBaseDirectoryDescriptor
-
-