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, orderEntriespublic SQLDirectory(SQLDirectoryDescriptor config) throws ClientException
ClientExceptionpublic SQLDirectoryDescriptor getConfig()
public DataSource getDataSource() throws DirectoryException
DirectoryExceptionpublic String getName()
Directorypublic String getSchema()
Directorypublic String getParentDirectory()
Directorypublic String getIdField()
Directorypublic String getPasswordField()
Directorypublic Session getSession() throws DirectoryException
DirectoryDirectoryException - if a session cannot be createdpublic void shutdown()
Directorypublic Table getTable()
public Dialect getDialect()
public boolean useNativeCase()
Copyright © 2011 Nuxeo SA. All Rights Reserved.