Package org.nuxeo.ecm.directory.sql
Class SQLDirectory
java.lang.Object
org.nuxeo.ecm.directory.AbstractDirectory
org.nuxeo.ecm.directory.sql.SQLDirectory
- All Implemented Interfaces:
Directory
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.ecm.directory.AbstractDirectory
AbstractDirectory.CSVLoaderConsumer
-
Field Summary
Fields inherited from class org.nuxeo.ecm.directory.AbstractDirectory
cache, descriptor, fieldMapper, referenceClass, references, registry, schemaFieldMap, sessionCount, sessionMaxCount, TENANT_ID_FIELD, types
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
addSession
(SQLSession session) Get descriptorCreates a session for accessing entries in this directory.getTable()
void
INTERNAL, DO NOT CALL.void
INTERNAL, DO NOT CALL.boolean
Returnstrue
if this directory is a multi tenant directory,false
otherwise.protected void
registerInTx
(SQLSession session) toString()
boolean
Methods inherited from class org.nuxeo.ecm.directory.AbstractDirectory
addInverseReferences, addReference, addSession, doSanityChecks, fallbackOnDefaultCache, getCache, getDirectoryDeleteConstraints, getFieldMapper, getIdField, getName, getParentDirectory, getPasswordField, getReferences, getReferences, getSchema, getSchemaFieldMap, getTypes, initializeInverseReferences, initSchemaFieldMap, invalidateCaches, invalidateDirectoryCache, isReadOnly, isReference, loadData, loadDataOnInit, loadFromCSV, makeOrderBy, newReference, orderEntries, removeSession, setReadOnly, shutdown
-
Field Details
-
readColumnsAll
-
readColumns
-
idColumn
-
readColumnsAllSQL
-
readColumnsSQL
-
-
Constructor Details
-
SQLDirectory
-
-
Method Details
-
getDescriptor
Description copied from interface:Directory
Get descriptor -
addReferences
protected void addReferences()- Overrides:
addReferences
in classAbstractDirectory
-
initialize
public void initialize()Description copied from interface:Directory
INTERNAL, DO NOT CALL. Initializes the directory when Nuxeo starts. Called without a transaction.- Specified by:
initialize
in interfaceDirectory
- Overrides:
initialize
in classAbstractDirectory
-
initializeReferences
public void initializeReferences()Description copied from interface:Directory
INTERNAL, DO NOT CALL. Initializes the directory when Nuxeo starts. Called without a transaction.- Specified by:
initializeReferences
in interfaceDirectory
- Overrides:
initializeReferences
in classAbstractDirectory
-
getConnection
-
getSession
Description copied from interface:Directory
Creates a session for accessing entries in this directory.- Returns:
- a Session object
-
addSession
-
registerInTx
-
getTable
-
getDialect
-
useNativeCase
public boolean useNativeCase() -
isMultiTenant
public boolean isMultiTenant()Description copied from interface:Directory
Returnstrue
if this directory is a multi tenant directory,false
otherwise.- Specified by:
isMultiTenant
in interfaceDirectory
- Overrides:
isMultiTenant
in classAbstractDirectory
-
toString
-