Package org.nuxeo.ecm.core.storage.sql
Class RepositoryDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.sql.RepositoryDescriptor
-
public class RepositoryDescriptor extends Object
Low-level VCS Repository Descriptor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RepositoryDescriptor.FieldDescriptor
-
Field Summary
Fields Modifier and Type Field Description Class<? extends CachingMapper>
cachingMapperClass
Map<String,String>
cachingMapperProperties
Class<? extends VCSClusterInvalidator>
clusterInvalidatorClass
static String
DDL_MODE_ABORT
At startup, DDL changes are detected and if not empty Nuxeo startup is aborted.static String
DDL_MODE_COMPAT
Specifies that stored procedure detection must be compatible with previous Nuxeo versions.static String
DDL_MODE_DUMP
At startup, DDL changes are detected and if not empty they are dumped.static String
DDL_MODE_EXECUTE
At startup, DDL changes are detected and executed.static String
DDL_MODE_IGNORE
At startup, DDL changes are not detected.static int
DEFAULT_PATH_OPTIM_VERSION
static int
DEFAULT_READ_ACL_MAX_SIZE
Deprecated.since 11.1, was PostgreSQL-specificString
idType
String
label
String
name
Set<String>
neverPerInstanceMixins
PoolConfiguration
pool
RepositoryDescriptor
repositoryDescriptor
List<RepositoryDescriptor.FieldDescriptor>
schemaFields
List<String>
sqlInitFiles
String
usersSeparatorKey
-
Constructor Summary
Constructors Constructor Description RepositoryDescriptor()
RepositoryDescriptor(RepositoryDescriptor other)
Copy constructor.
-
Method Summary
-
-
-
Field Detail
-
DEFAULT_READ_ACL_MAX_SIZE
@Deprecated public static final int DEFAULT_READ_ACL_MAX_SIZE
Deprecated.since 11.1, was PostgreSQL-specific- See Also:
- Constant Field Values
-
DEFAULT_PATH_OPTIM_VERSION
public static final int DEFAULT_PATH_OPTIM_VERSION
- See Also:
- Constant Field Values
-
DDL_MODE_IGNORE
public static final String DDL_MODE_IGNORE
At startup, DDL changes are not detected.- See Also:
- Constant Field Values
-
DDL_MODE_DUMP
public static final String DDL_MODE_DUMP
At startup, DDL changes are detected and if not empty they are dumped.- See Also:
- Constant Field Values
-
DDL_MODE_EXECUTE
public static final String DDL_MODE_EXECUTE
At startup, DDL changes are detected and executed.- See Also:
- Constant Field Values
-
DDL_MODE_ABORT
public static final String DDL_MODE_ABORT
At startup, DDL changes are detected and if not empty Nuxeo startup is aborted.- See Also:
- Constant Field Values
-
DDL_MODE_COMPAT
public static final String DDL_MODE_COMPAT
Specifies that stored procedure detection must be compatible with previous Nuxeo versions.- See Also:
- Constant Field Values
-
name
public String name
-
label
public String label
-
repositoryDescriptor
public RepositoryDescriptor repositoryDescriptor
-
pool
public PoolConfiguration pool
-
clusterInvalidatorClass
public Class<? extends VCSClusterInvalidator> clusterInvalidatorClass
-
cachingMapperClass
public Class<? extends CachingMapper> cachingMapperClass
-
idType
public String idType
-
schemaFields
public List<RepositoryDescriptor.FieldDescriptor> schemaFields
-
usersSeparatorKey
public String usersSeparatorKey
-
-
Constructor Detail
-
RepositoryDescriptor
public RepositoryDescriptor()
-
RepositoryDescriptor
public RepositoryDescriptor(RepositoryDescriptor other)
Copy constructor.
-
-
Method Detail
-
setName
public void setName(String name)
-
isDefault
public Boolean isDefault()
-
isHeadless
public Boolean isHeadless()
- Since:
- 11.2
-
getCachingMapperEnabled
public boolean getCachingMapperEnabled()
-
getDDLMode
public String getDDLMode()
-
getNoDDL
public boolean getNoDDL()
-
getSoftDeleteEnabled
public boolean getSoftDeleteEnabled()
-
setSoftDeleteEnabled
protected void setSoftDeleteEnabled(boolean enabled)
-
getProxiesEnabled
public boolean getProxiesEnabled()
-
setProxiesEnabled
protected void setProxiesEnabled(boolean enabled)
-
getArrayColumns
public boolean getArrayColumns()
-
setArrayColumns
public void setArrayColumns(boolean enabled)
-
getChildNameUniqueConstraintEnabled
public boolean getChildNameUniqueConstraintEnabled()
-
getCollectionUniqueConstraintEnabled
public boolean getCollectionUniqueConstraintEnabled()
-
setQueryMakerDeprecated
public void setQueryMakerDeprecated(String klass)
-
getFulltextAnalyzer
public String getFulltextAnalyzer()
-
setFulltextAnalyzer
public void setFulltextAnalyzer(String fulltextAnalyzer)
-
getFulltextCatalog
public String getFulltextCatalog()
-
setFulltextCatalog
public void setFulltextCatalog(String fulltextCatalog)
-
getFulltextDescriptor
public FulltextDescriptor getFulltextDescriptor()
-
setFulltextFieldSizeLimit
public void setFulltextFieldSizeLimit(int fieldSizeLimit)
-
setFulltextDisabled
public void setFulltextDisabled(boolean disabled)
-
setFulltextStoredInBlob
public void setFulltextStoredInBlob(boolean storedInBlob)
- Since:
- 11.1
-
setFulltextSearchDisabled
public void setFulltextSearchDisabled(boolean disabled)
-
setFulltextIndexes
public void setFulltextIndexes(List<FulltextDescriptor.FulltextIndexDescriptor> fulltextIndexes)
-
getPathOptimizationsEnabled
public boolean getPathOptimizationsEnabled()
-
setPathOptimizationsEnabled
protected void setPathOptimizationsEnabled(boolean enabled)
-
getPathOptimizationsVersion
public int getPathOptimizationsVersion()
-
getAclOptimizationsEnabled
public boolean getAclOptimizationsEnabled()
-
setAclOptimizationsEnabled
protected void setAclOptimizationsEnabled(boolean enabled)
-
getReadAclMaxSize
public int getReadAclMaxSize()
-
isChangeTokenEnabled
public boolean isChangeTokenEnabled()
- Since:
- 9.1
-
setChangeTokenEnabled
public void setChangeTokenEnabled(boolean enabled)
- Since:
- 9.1
-
merge
public void merge(RepositoryDescriptor other)
-
-