public class BaseDirectoryDescriptor extends Object implements Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
BaseDirectoryDescriptor.SubstringMatchType
How directory semi-"fulltext" searches are matched with a query string.
|
Constructor and Description |
---|
BaseDirectoryDescriptor() |
Modifier and Type | Method and Description |
---|---|
BaseDirectoryDescriptor |
clone()
Sub-classes MUST OVERRIDE and use a more specific return type.
|
int |
getCacheMaxSize() |
int |
getCacheTimeout() |
String |
getCreateTablePolicy() |
char |
getDataFileCharacterSeparator() |
String |
getDataFileName() |
List<DirectoryDeleteConstraint> |
getDeleteConstraints() |
InverseReferenceDescriptor[] |
getInverseReferences() |
ReferenceDescriptor[] |
getReferences() |
BaseDirectoryDescriptor.SubstringMatchType |
getSubstringMatchType() |
boolean |
isAutoincrementIdField() |
boolean |
isReadOnly() |
void |
merge(BaseDirectoryDescriptor other) |
Directory |
newDirectory()
Creates a new
Directory instance from this {@link BaseDirectoryDescriptor). |
void |
setAutoincrementIdField(boolean autoincrementIdField) |
void |
setReadOnly(boolean readOnly) |
public static final boolean AUTO_INCREMENT_ID_FIELD_DEFAULT
public static final int CACHE_TIMEOUT_DEFAULT
public static final int CACHE_MAX_SIZE_DEFAULT
public static final boolean READ_ONLY_DEFAULT
public static final BaseDirectoryDescriptor.SubstringMatchType SUBSTRING_MATCH_TYPE_DEFAULT
public static final char DEFAULT_DATA_FILE_CHARACTER_SEPARATOR
public static final String CREATE_TABLE_POLICY_NEVER
public static final String CREATE_TABLE_POLICY_ALWAYS
public static final String CREATE_TABLE_POLICY_ON_MISSING_COLUMNS
public static final String CREATE_TABLE_POLICY_DEFAULT
public static final List<String> CREATE_TABLE_POLICIES
public boolean remove
public boolean template
public String parentDirectory
public String schemaName
public Boolean autoincrementIdField
public String passwordField
public String passwordHashAlgorithm
public PermissionDescriptor[] permissions
public Integer cacheTimeout
public Integer cacheMaxSize
public String cacheEntryName
public String cacheEntryWithoutReferencesName
public Boolean negativeCaching
public String substringMatchType
public String dataFileName
public String dataFileCharacterSeparator
public String createTablePolicy
public BaseDirectoryDescriptor()
public boolean isAutoincrementIdField()
public void setAutoincrementIdField(boolean autoincrementIdField)
public String getDataFileName()
public char getDataFileCharacterSeparator()
public String getCreateTablePolicy()
public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
public int getCacheTimeout()
public int getCacheMaxSize()
public BaseDirectoryDescriptor.SubstringMatchType getSubstringMatchType()
public BaseDirectoryDescriptor clone()
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.
public void merge(BaseDirectoryDescriptor other)
public Directory newDirectory()
Directory
instance from this {@link BaseDirectoryDescriptor).public List<DirectoryDeleteConstraint> getDeleteConstraints() throws DirectoryException
DirectoryException
public ReferenceDescriptor[] getReferences()
public InverseReferenceDescriptor[] getInverseReferences()
Copyright © 2017 Nuxeo. All rights reserved.