public class CoreDirectory extends AbstractDirectory
Directory
on top of a core repository.Modifier and Type | Field and Description |
---|---|
protected Schema |
schema |
cache, descriptor, fieldMapper, referenceClass, references, registry, schemaFieldMap, sessionCount, sessionMaxCount, types
Constructor and Description |
---|
CoreDirectory(CoreDirectoryDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
CoreDirectoryDescriptor |
getDescriptor()
Get descriptor
|
Field |
getField(String name) |
Session |
getSession()
Creates a session for accessing entries in this directory.
|
protected DocumentModel |
setACL(DocumentModel rootFolder,
String userOrGroupName,
String privilege,
boolean granted) |
void |
start() |
addInverseReferences, addReference, addReferences, addReferences, addSession, doSanityChecks, fallbackOnDefaultCache, getCache, getDirectoryDeleteConstraints, getFieldMapper, getIdField, getName, getParentDirectory, getPasswordField, getReference, getReferences, getReferences, getSchema, getSchemaFieldMap, getTypes, initSchemaFieldMap, invalidateCaches, invalidateDirectoryCache, isMultiTenant, isReadOnly, isReference, orderEntries, removeSession, setReadOnly, shutdown
public CoreDirectory(CoreDirectoryDescriptor descriptor)
public CoreDirectoryDescriptor getDescriptor()
Directory
public void start()
protected DocumentModel setACL(DocumentModel rootFolder, String userOrGroupName, String privilege, boolean granted)
public Field getField(String name) throws DirectoryException
DirectoryException
public Session getSession() throws DirectoryException
Directory
DirectoryException
- if a session cannot be createdCopyright © 2018 Nuxeo. All rights reserved.