public class CoreDirectory extends AbstractDirectory
Directory
on top of a core repository.Modifier and Type | Field and Description |
---|---|
protected Schema |
schema |
cache, descriptor, fieldMapper, references, registry, sessionCount, sessionMaxCount
Constructor and Description |
---|
CoreDirectory(CoreDirectoryDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
CoreDirectoryDescriptor |
getDescriptor()
To be implemented with a more specific return type.
|
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() |
addReference, addReferences, addSession, doSanityChecks, getCache, getDirectoryDeleteConstraints, getFieldMapper, getIdField, getName, getParentDirectory, getPasswordField, getReference, getReferences, getReferences, getSchema, getTypes, invalidateCaches, invalidateDirectoryCache, isMultiTenant, isReadOnly, isReference, orderEntries, removeSession, setReadOnly, shutdown
public CoreDirectory(CoreDirectoryDescriptor descriptor)
public CoreDirectoryDescriptor getDescriptor()
AbstractDirectory
getDescriptor
in class AbstractDirectory
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 © 2016 Nuxeo SA. All rights reserved.