Package org.nuxeo.ecm.directory.sql
Class SQLDirectoryDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.directory.BaseDirectoryDescriptor
-
- org.nuxeo.ecm.directory.sql.SQLDirectoryDescriptor
-
- All Implemented Interfaces:
Cloneable
public class SQLDirectoryDescriptor extends BaseDirectoryDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.nuxeo.ecm.directory.BaseDirectoryDescriptor
BaseDirectoryDescriptor.SubstringMatchType
-
-
Field Summary
Fields Modifier and Type Field Description String
dataSourceName
Boolean
nativeCase
static int
QUERY_SIZE_LIMIT_DEFAULT
-
Fields inherited from class org.nuxeo.ecm.directory.BaseDirectoryDescriptor
AUTO_INCREMENT_ID_FIELD_DEFAULT, autoincrementIdField, CACHE_MAX_SIZE_DEFAULT, CACHE_TIMEOUT_DEFAULT, cacheEntryName, cacheEntryWithoutReferencesName, cacheMaxSize, cacheTimeout, computeMultiTenantId, CREATE_TABLE_POLICIES, CREATE_TABLE_POLICY_ALWAYS, CREATE_TABLE_POLICY_DEFAULT, CREATE_TABLE_POLICY_NEVER, CREATE_TABLE_POLICY_ON_MISSING_COLUMNS, createTablePolicy, DATA_LOADING_POLICIES, DATA_LOADING_POLICY_LEGACY, DATA_LOADING_POLICY_NEVER_LOAD, DATA_LOADING_POLICY_REJECT_DUPLICATE, DATA_LOADING_POLICY_SKIP_DUPLICATE, DATA_LOADING_POLICY_UPDATE_DUPLICATE, dataFileCharacterSeparator, dataFileName, dataLoadingPolicy, DEFAULT_DATA_FILE_CHARACTER_SEPARATOR, extendz, idField, name, negativeCaching, parentDirectory, passwordField, passwordHashAlgorithm, permissions, READ_ONLY_DEFAULT, readOnly, remove, schemaName, SUBSTRING_MATCH_TYPE_DEFAULT, substringMatchType, tableName, template, types
-
-
Constructor Summary
Constructors Constructor Description SQLDirectoryDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SQLDirectoryDescriptor
clone()
Sub-classes MUST OVERRIDE and use a more specific return type.String
getDataSourceName()
int
getQuerySizeLimit()
SQLStaticFilter[]
getStaticFilters()
TableReferenceDescriptor[]
getTableReferences()
void
merge(BaseDirectoryDescriptor other)
protected void
merge(SQLDirectoryDescriptor other)
SQLDirectory
newDirectory()
Creates a newDirectory
instance from thisBaseDirectoryDescriptor
.void
setDataSourceName(String dataSourceName)
void
setQuerySizeLimit(int querySizeLimit)
-
Methods inherited from class org.nuxeo.ecm.directory.BaseDirectoryDescriptor
checkDataLoadingPolicy, getCacheMaxSize, getCacheTimeout, getCreateTablePolicy, getDataFileCharacterSeparator, getDataFileName, getDataLoadingPolicy, getDeleteConstraints, getInverseReferences, getReferences, getSubstringMatchType, isAutoincrementIdField, isComputeMultiTenantId, isReadOnly, setAutoincrementIdField, setReadOnly
-
-
-
-
Field Detail
-
QUERY_SIZE_LIMIT_DEFAULT
public static final int QUERY_SIZE_LIMIT_DEFAULT
- See Also:
- Constant Field Values
-
dataSourceName
public String dataSourceName
-
nativeCase
public Boolean nativeCase
-
-
Constructor Detail
-
SQLDirectoryDescriptor
public SQLDirectoryDescriptor()
-
-
Method Detail
-
getDataSourceName
public String getDataSourceName()
-
setDataSourceName
public void setDataSourceName(String dataSourceName)
-
getTableReferences
public TableReferenceDescriptor[] getTableReferences()
-
getQuerySizeLimit
public int getQuerySizeLimit()
-
setQuerySizeLimit
public void setQuerySizeLimit(int querySizeLimit)
-
getStaticFilters
public SQLStaticFilter[] getStaticFilters()
-
merge
public void merge(BaseDirectoryDescriptor other)
- Overrides:
merge
in classBaseDirectoryDescriptor
-
merge
protected void merge(SQLDirectoryDescriptor other)
-
clone
public SQLDirectoryDescriptor clone()
Description copied from class:BaseDirectoryDescriptor
Sub-classes MUST OVERRIDE and use a more specific return type.Usually it's bad to use clone(), and a copy-constructor is preferred, but here we want the copy method to be inheritable so clone() is appropriate.
- Overrides:
clone
in classBaseDirectoryDescriptor
-
newDirectory
public SQLDirectory newDirectory()
Description copied from class:BaseDirectoryDescriptor
Creates a newDirectory
instance from thisBaseDirectoryDescriptor
.- Overrides:
newDirectory
in classBaseDirectoryDescriptor
-
-