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
Fields inherited from class org.nuxeo.ecm.directory.AbstractDirectory
cache, descriptor, fieldMapper, referenceClass, references, registry, schemaFieldMap, sessionCount, sessionMaxCount, TENANT_ID_FIELD, types
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet descriptorCreates a session for accessing entries in this directory.protected DocumentModel
setACL
(DocumentModel rootFolder, String userOrGroupName, String privilege, boolean granted) void
start()
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, shutdown
-
Field Details
-
schema
-
-
Constructor Details
-
CoreDirectory
-
-
Method Details
-
getDescriptor
Description copied from interface:Directory
Get descriptor -
start
public void start() -
setACL
protected DocumentModel setACL(DocumentModel rootFolder, String userOrGroupName, String privilege, boolean granted) -
getField
-
getSession
Description copied from interface:Directory
Creates a session for accessing entries in this directory.- Returns:
- a Session object
-