public class CoreDirectoryDescriptor extends BaseDirectoryDescriptor
CoreDirectory
.Modifier and Type | Class and Description |
---|---|
static class |
CoreDirectoryDescriptor.ACLDescriptor |
BaseDirectoryDescriptor.SubstringMatchType
Modifier and Type | Field and Description |
---|---|
protected CoreDirectoryDescriptor.ACLDescriptor[] |
acls |
protected Boolean |
canCreateRootFolder |
protected String |
createPath |
static boolean |
DEFAULT_CAN_CREATE_ROOT_FOLDER |
static String |
DEFAULT_CREATE_PATH |
protected String |
docType |
Map<String,String> |
fieldMapping |
protected static org.apache.commons.logging.Log |
log |
Integer |
querySizeLimit |
protected String |
repositoryName |
AUTO_INCREMENT_ID_FIELD_DEFAULT, autoincrementIdField, CACHE_MAX_SIZE_DEFAULT, CACHE_TIMEOUT_DEFAULT, cacheEntryName, cacheEntryWithoutReferencesName, cacheMaxSize, cacheTimeout, CREATE_TABLE_POLICIES, CREATE_TABLE_POLICY_ALWAYS, CREATE_TABLE_POLICY_DEFAULT, CREATE_TABLE_POLICY_NEVER, CREATE_TABLE_POLICY_ON_MISSING_COLUMNS, createTablePolicy, dataFileCharacterSeparator, dataFileName, 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 and Description |
---|
CoreDirectoryDescriptor() |
Modifier and Type | Method and Description |
---|---|
boolean |
canCreateRootFolder() |
CoreDirectoryDescriptor |
clone()
Sub-classes MUST OVERRIDE and use a more specific return type.
|
String |
getCreatePath() |
String |
getRepositoryName() |
void |
merge(BaseDirectoryDescriptor other) |
protected void |
merge(CoreDirectoryDescriptor other) |
CoreDirectory |
newDirectory()
Creates a new
Directory instance from this {@link BaseDirectoryDescriptor). |
getCacheMaxSize, getCacheTimeout, getCreateTablePolicy, getDataFileCharacterSeparator, getDataFileName, getDeleteConstraints, getInverseReferences, getReferences, getSubstringMatchType, isAutoincrementIdField, isReadOnly, setAutoincrementIdField, setReadOnly
protected static final org.apache.commons.logging.Log log
public static final String DEFAULT_CREATE_PATH
public static final boolean DEFAULT_CAN_CREATE_ROOT_FOLDER
public Integer querySizeLimit
protected String repositoryName
protected String createPath
protected Boolean canCreateRootFolder
public Map<String,String> fieldMapping
protected CoreDirectoryDescriptor.ACLDescriptor[] acls
public CoreDirectoryDescriptor()
public String getCreatePath()
public boolean canCreateRootFolder()
public CoreDirectoryDescriptor clone()
BaseDirectoryDescriptor
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.
clone
in class BaseDirectoryDescriptor
public String getRepositoryName()
public void merge(BaseDirectoryDescriptor other)
merge
in class BaseDirectoryDescriptor
protected void merge(CoreDirectoryDescriptor other)
public CoreDirectory newDirectory()
BaseDirectoryDescriptor
Directory
instance from this {@link BaseDirectoryDescriptor).newDirectory
in class BaseDirectoryDescriptor
Copyright © 2018 Nuxeo. All rights reserved.