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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.nuxeo.ecm.directory.BaseDirectoryDescriptor
BaseDirectoryDescriptor.SubstringMatchType
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
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
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Sub-classes MUST OVERRIDE and use a more specific return type.int
void
merge
(BaseDirectoryDescriptor other) protected void
merge
(SQLDirectoryDescriptor other) 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 Details
-
QUERY_SIZE_LIMIT_DEFAULT
public static final int QUERY_SIZE_LIMIT_DEFAULT- See Also:
-
dataSourceName
-
nativeCase
-
-
Constructor Details
-
SQLDirectoryDescriptor
public SQLDirectoryDescriptor()
-
-
Method Details
-
getDataSourceName
-
setDataSourceName
-
getTableReferences
-
getQuerySizeLimit
public int getQuerySizeLimit() -
setQuerySizeLimit
public void setQuerySizeLimit(int querySizeLimit) -
getStaticFilters
-
merge
- Overrides:
merge
in classBaseDirectoryDescriptor
-
merge
-
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
Description copied from class:BaseDirectoryDescriptor
Creates a newDirectory
instance from thisBaseDirectoryDescriptor
.- Overrides:
newDirectory
in classBaseDirectoryDescriptor
-