Package org.nuxeo.ecm.directory.core
Class CoreDirectory
java.lang.Object
org.nuxeo.ecm.directory.AbstractDirectory
org.nuxeo.ecm.directory.core.CoreDirectory
- All Implemented Interfaces:
Directory
Implementation of a
Directory on top of a core repository.- Since:
- 8.2
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.ecm.directory.AbstractDirectory
AbstractDirectory.CSVLoaderConsumer -
Field Summary
FieldsFields inherited from class org.nuxeo.ecm.directory.AbstractDirectory
cache, descriptor, fieldMapper, referenceClass, references, registry, schemaFieldMap, sessionCount, sessionMaxCount, TENANT_ID_FIELD, types -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet descriptorCreates a session for accessing entries in this directory.protected DocumentModelsetACL(DocumentModel rootFolder, String userOrGroupName, String privilege, boolean granted) voidstart()Methods inherited from class org.nuxeo.ecm.directory.AbstractDirectory
addInverseReferences, addReference, addReferences, addSession, doSanityChecks, fallbackOnDefaultCache, getCache, getDirectoryDeleteConstraints, getFieldMapper, getIdField, getName, getParentDirectory, getPasswordField, getReferences, getReferences, getSchema, getSchemaFieldMap, getTypes, initialize, initializeInverseReferences, initializeReferences, initSchemaFieldMap, invalidateCaches, invalidateDirectoryCache, isMultiTenant, isReadOnly, isReference, loadData, loadDataOnInit, loadFromCSV, makeOrderBy, newReference, orderEntries, removeSession, setReadOnly, shutdownMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.directory.Directory
createBareDocumentModel, createBareDocumentModel
-
Field Details
-
schema
-
-
Constructor Details
-
CoreDirectory
-
-
Method Details
-
getDescriptor
Description copied from interface:DirectoryGet descriptor -
start
public void start() -
setACL
protected DocumentModel setACL(DocumentModel rootFolder, String userOrGroupName, String privilege, boolean granted) -
getField
-
getSession
Description copied from interface:DirectoryCreates a session for accessing entries in this directory.- Returns:
- a Session object
-