public class SQLDirectory extends AbstractDirectory
Constructor and Description |
---|
SQLDirectory(SQLDirectoryDescriptor config) |
Modifier and Type | Method and Description |
---|---|
SQLDirectoryDescriptor |
getConfig() |
DataSource |
getDataSource() |
Dialect |
getDialect() |
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.
|
Map<String,Field> |
getSchemaFieldMap() |
Session |
getSession()
Creates a session for accessing entries in this directory.
|
List<String> |
getStoredFieldNames() |
Table |
getTable() |
void |
shutdown()
Shuts down the directory.
|
boolean |
useNativeCase() |
addReference, addReferences, getCache, getFieldMapper, getReference, getReferences, invalidateCaches, invalidateDirectoryCache, isReference, orderEntries
public SQLDirectory(SQLDirectoryDescriptor config) throws ClientException
ClientException
public SQLDirectoryDescriptor getConfig()
public DataSource getDataSource() 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() throws DirectoryException
Directory
DirectoryException
- if a session cannot be createdpublic void shutdown()
Directory
public Table getTable()
public Dialect getDialect()
public boolean useNativeCase()
Copyright © 2011 Nuxeo SA. All Rights Reserved.