public class MemoryDirectory extends AbstractDirectory
Modifier and Type | Field and Description |
---|---|
String |
idField |
Map<String,Object> |
map |
String |
name |
String |
passwordField |
String |
schemaName |
Set<String> |
schemaSet |
MemoryDirectorySession |
session |
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, getCache, getFieldMapper, getReference, getReferences, invalidateCaches, invalidateDirectoryCache, isReference, orderEntries
public final String name
public final String schemaName
public final String idField
public final String passwordField
public MemoryDirectorySession session
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
public boolean isReadOnly()
public void setReadOnly(boolean isReadOnly)
Copyright © 2011 Nuxeo SA. All Rights Reserved.