public class MemoryDirectory extends AbstractDirectory
Modifier and Type | Field and Description |
---|---|
String |
idField |
protected boolean |
isReadOnly |
Map<String,Object> |
map |
String |
passwordField |
String |
schemaName |
Set<String> |
schemaSet |
MemoryDirectorySession |
session |
cache, fieldMapper, name, references, registry, sessionCount, sessionMaxCount
Constructor and Description |
---|
MemoryDirectory(String name,
String schemaName,
Set<String> schemaSet,
String idField,
String passwordField) |
MemoryDirectory(String name,
String schema,
String idField,
String passwordField) |
Modifier and Type | Method and Description |
---|---|
String |
getIdField()
Gets the id field of the schema for this directory.
|
String |
getName()
Gets the unique name of the directory, used for registering.
|
String |
getParentDirectory()
Gets the name of the parent directory.
|
String |
getPasswordField()
Gets the password field of the schema for this directory.
|
String |
getSchema()
Gets the schema name used by this directory.
|
SchemaManager |
getSchemaManager() |
Session |
getSession()
Creates a session for accessing entries in this directory.
|
boolean |
isReadOnly() |
void |
setReadOnly(boolean isReadOnly) |
void |
shutdown()
Shuts down the directory.
|
addReference, addReferences, addSession, getCache, getFieldMapper, getReference, getReferences, getReferences, invalidateCaches, invalidateDirectoryCache, isMultiTenant, isReference, orderEntries, removeSession
public final String schemaName
public final String passwordField
public MemoryDirectorySession session
protected boolean isReadOnly
public MemoryDirectory(String name, String schema, String idField, String passwordField) throws DirectoryException
DirectoryException
public SchemaManager getSchemaManager() throws DirectoryException
DirectoryException
public String getName()
Directory
public String getSchema()
Directory
public String getParentDirectory()
Directory
public String getIdField()
Directory
public String getPasswordField()
Directory
public Session getSession()
Directory
public void shutdown()
Directory
shutdown
in interface Directory
shutdown
in class AbstractDirectory
public boolean isReadOnly()
public void setReadOnly(boolean isReadOnly)
Copyright © 2015 Nuxeo SA. All rights reserved.