@Deprecated public class LegacyCoreConfig extends java.lang.Object implements ILegacyCoreConfig
Modifier and Type | Field and Description |
---|---|
protected AnnotationConfig |
annotationConfig
Deprecated.
|
protected org.apache.commons.configuration.HierarchicalConfiguration |
config
Deprecated.
Set in constructor, the top-level JCC node.
|
protected DictionaryService |
dictionaryService
Deprecated.
|
protected java.util.Map<java.lang.String,java.util.List<ContentFormat>> |
extensionMap
Deprecated.
Keyed by the "extension" of the content format
|
protected java.util.Map<java.lang.String,ContentFormat> |
mimeTypeToFileExtension
Deprecated.
Keyed by the "mimeType" of the content format
|
protected java.util.Map<java.lang.String,ObjectTypeConfig> |
objectTypeConfig
Deprecated.
Keyed by the "name" of the object type.
|
protected java.util.Map<java.lang.String,ObjectTypeConfig> |
objectTypesByRepoName
Deprecated.
Keyed by the "repoName" of the object type.
|
protected RedactionConfig |
redactionConfig
Deprecated.
|
protected WSCoreConfig |
wsCoreConfig
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
LegacyCoreConfig()
Deprecated.
|
|
LegacyCoreConfig(org.apache.commons.configuration.HierarchicalConfiguration config)
Deprecated.
Set a pointer to the underlying JCC node; extended initialization takes place in
init() . |
Modifier and Type | Method and Description |
---|---|
AnnotationConfig |
getAnnotationConfig()
Deprecated.
Returns the annotation configuration, null object signifies annotations are not enabled.
|
java.util.Map<java.lang.String,java.util.List<ContentFormat>> |
getExtensionMap()
Deprecated.
Get map keyed by the "extension" of the content format.
|
java.util.Map<java.lang.String,ContentFormat> |
getMimeTypeToFileExtension()
Deprecated.
Get map keyed by the "mimeType" of the object type.
|
java.util.Map<java.lang.String,ObjectTypeConfig> |
getObjectTypeConfig()
Deprecated.
Get map keyed by the "name" of the object type.
|
java.util.Map<java.lang.String,ObjectTypeConfig> |
getObjectTypesByRepoName()
Deprecated.
Get map keyed by the "repoName" of the object type.
|
RedactionConfig |
getRedactionConfig()
Deprecated.
Returns the redaction configuration, null object signifies redactions are not enabled.
|
WSCoreConfig |
getWSCoreConfig()
Deprecated.
|
void |
init()
Deprecated.
Verifies the core environment, while initializing properties and tables with environment data.
|
protected void |
initContentFormatMaps()
Deprecated.
|
protected void |
initObjectTypes()
Deprecated.
|
protected void |
initWSCoreConfig()
Deprecated.
|
void |
setAnnotationConfig(AnnotationConfig annotationConfig)
Deprecated.
|
void |
setDictionaryService(DictionaryService dictionaryService)
Deprecated.
|
void |
setRedactionConfig(RedactionConfig redactionConfig)
Deprecated.
|
protected java.util.Map<java.lang.String,ObjectTypeConfig> objectTypeConfig
#initFilesystemConfig()
.protected java.util.Map<java.lang.String,ObjectTypeConfig> objectTypesByRepoName
#initFilesystemConfig()
.protected java.util.Map<java.lang.String,ContentFormat> mimeTypeToFileExtension
protected java.util.Map<java.lang.String,java.util.List<ContentFormat>> extensionMap
protected WSCoreConfig wsCoreConfig
protected AnnotationConfig annotationConfig
protected RedactionConfig redactionConfig
protected org.apache.commons.configuration.HierarchicalConfiguration config
protected DictionaryService dictionaryService
protected LegacyCoreConfig()
public LegacyCoreConfig(org.apache.commons.configuration.HierarchicalConfiguration config)
init()
.config
- public java.util.Map<java.lang.String,ObjectTypeConfig> getObjectTypeConfig()
ILegacyCoreConfig
#initFilesystemConfig()
.getObjectTypeConfig
in interface ILegacyCoreConfig
ILegacyCoreConfig.getObjectTypeConfig()
public java.util.Map<java.lang.String,ObjectTypeConfig> getObjectTypesByRepoName()
ILegacyCoreConfig
#initFilesystemConfig()
.getObjectTypesByRepoName
in interface ILegacyCoreConfig
ILegacyCoreConfig.getObjectTypesByRepoName()
public java.util.Map<java.lang.String,ContentFormat> getMimeTypeToFileExtension()
ILegacyCoreConfig
getMimeTypeToFileExtension
in interface ILegacyCoreConfig
ILegacyCoreConfig.getMimeTypeToFileExtension()
public java.util.Map<java.lang.String,java.util.List<ContentFormat>> getExtensionMap()
ILegacyCoreConfig
getExtensionMap
in interface ILegacyCoreConfig
ILegacyCoreConfig.getExtensionMap()
public WSCoreConfig getWSCoreConfig()
getWSCoreConfig
in interface ILegacyCoreConfig
ILegacyCoreConfig.getWSCoreConfig()
public void setAnnotationConfig(AnnotationConfig annotationConfig)
public AnnotationConfig getAnnotationConfig()
ILegacyCoreConfig
getAnnotationConfig
in interface ILegacyCoreConfig
public void setRedactionConfig(RedactionConfig redactionConfig)
public RedactionConfig getRedactionConfig()
ILegacyCoreConfig
getRedactionConfig
in interface ILegacyCoreConfig
public void setDictionaryService(DictionaryService dictionaryService)
public void init() throws OCException
init
in interface ILegacyCoreConfig
OCException
protected void initObjectTypes() throws OCException
OCException
protected void initWSCoreConfig()
protected void initContentFormatMaps()