public class SQLDirectory extends AbstractDirectory
| Modifier and Type | Class and Description | 
|---|---|
protected class  | 
SQLDirectory.TxSessionCleaner  | 
| Modifier and Type | Field and Description | 
|---|---|
protected Column | 
idColumn  | 
static org.apache.commons.logging.Log | 
log  | 
protected List<Column> | 
readColumns  | 
protected List<Column> | 
readColumnsAll  | 
protected String | 
readColumnsAllSQL  | 
protected String | 
readColumnsSQL  | 
cache, descriptor, fieldMapper, referenceClass, references, registry, schemaFieldMap, sessionCount, sessionMaxCount, TENANT_ID_FIELD, types| Constructor and Description | 
|---|
SQLDirectory(SQLDirectoryDescriptor descriptor)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
addReferences()  | 
protected void | 
addSession(SQLSession session)  | 
Connection | 
getConnection()  | 
SQLDirectoryDescriptor | 
getDescriptor()
Get descriptor 
 | 
Dialect | 
getDialect()  | 
SQLSession | 
getSession()
Creates a session for accessing entries in this directory. 
 | 
Table | 
getTable()  | 
void | 
initialize()
INTERNAL, DO NOT CALL. 
 | 
void | 
initializeReferences()
INTERNAL, DO NOT CALL. 
 | 
boolean | 
isMultiTenant()
Returns  
true if this directory is a multi tenant directory, false otherwise. | 
protected void | 
registerInTx(SQLSession session)  | 
String | 
toString()  | 
boolean | 
useNativeCase()  | 
addInverseReferences, addReference, addSession, doSanityChecks, fallbackOnDefaultCache, getCache, getDirectoryDeleteConstraints, getFieldMapper, getIdField, getName, getParentDirectory, getPasswordField, getReference, getReferences, getReferences, getSchema, getSchemaFieldMap, getTypes, initializeInverseReferences, initSchemaFieldMap, invalidateCaches, invalidateDirectoryCache, isReadOnly, isReference, loadData, makeOrderBy, newReference, orderEntries, removeSession, setReadOnly, shutdownpublic static final org.apache.commons.logging.Log log
protected List<Column> readColumnsAll
protected List<Column> readColumns
protected String readColumnsAllSQL
protected String readColumnsSQL
public SQLDirectory(SQLDirectoryDescriptor descriptor)
public SQLDirectoryDescriptor getDescriptor()
Directoryprotected void addReferences()
addReferences in class AbstractDirectorypublic void initialize()
Directoryinitialize in interface Directoryinitialize in class AbstractDirectorypublic void initializeReferences()
DirectoryinitializeReferences in interface DirectoryinitializeReferences in class AbstractDirectorypublic Connection getConnection()
public SQLSession getSession()
Directoryprotected void addSession(SQLSession session)
protected void registerInTx(SQLSession session)
public Dialect getDialect()
public boolean useNativeCase()
public boolean isMultiTenant()
Directorytrue if this directory is a multi tenant directory, false otherwise.isMultiTenant in interface DirectoryisMultiTenant in class AbstractDirectoryCopyright © 2019 Nuxeo. All rights reserved.