Package org.nuxeo.ecm.directory.core
Class CoreDirectoryDescriptor
- java.lang.Object
-
- org.nuxeo.ecm.directory.BaseDirectoryDescriptor
-
- org.nuxeo.ecm.directory.core.CoreDirectoryDescriptor
-
- All Implemented Interfaces:
Cloneable
public class CoreDirectoryDescriptor extends BaseDirectoryDescriptor
Descriptor for aCoreDirectory
.- Since:
- 8.2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CoreDirectoryDescriptor.ACLDescriptor
-
Nested classes/interfaces inherited from class org.nuxeo.ecm.directory.BaseDirectoryDescriptor
BaseDirectoryDescriptor.SubstringMatchType
-
-
Field Summary
Fields Modifier and Type Field 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 Log
log
Integer
querySizeLimit
protected String
repositoryName
-
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 CoreDirectoryDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 newDirectory
instance from thisBaseDirectoryDescriptor
.-
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
-
log
protected static final Log log
-
DEFAULT_CREATE_PATH
public static final String DEFAULT_CREATE_PATH
- See Also:
- Constant Field Values
-
DEFAULT_CAN_CREATE_ROOT_FOLDER
public static final boolean DEFAULT_CAN_CREATE_ROOT_FOLDER
- See Also:
- Constant Field Values
-
docType
protected String docType
-
querySizeLimit
public Integer querySizeLimit
-
repositoryName
protected String repositoryName
-
createPath
protected String createPath
-
canCreateRootFolder
protected Boolean canCreateRootFolder
-
acls
protected CoreDirectoryDescriptor.ACLDescriptor[] acls
-
-
Method Detail
-
getCreatePath
public String getCreatePath()
-
canCreateRootFolder
public boolean canCreateRootFolder()
-
clone
public CoreDirectoryDescriptor 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
-
getRepositoryName
public String getRepositoryName()
-
merge
public void merge(BaseDirectoryDescriptor other)
- Overrides:
merge
in classBaseDirectoryDescriptor
-
merge
protected void merge(CoreDirectoryDescriptor other)
-
newDirectory
public CoreDirectory newDirectory()
Description copied from class:BaseDirectoryDescriptor
Creates a newDirectory
instance from thisBaseDirectoryDescriptor
.- Overrides:
newDirectory
in classBaseDirectoryDescriptor
-
-