public class ContentStoreDumpManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<java.lang.String> |
UNMIGRATEABLE_DBMETADATA
Extension data fields on the database which should not be migrated as they represent local database state that should not be transferred
|
| Constructor and Description |
|---|
ContentStoreDumpManager(WGDatabase from,
WGDatabase to)
Constructor
|
ContentStoreDumpManager(WGDatabase from,
WGDatabase to,
org.apache.log4j.Logger logger)
Construtor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
exportDump()
Exports an OpenWGA content store dump from a content store.
|
boolean |
exportDump(boolean includeACL)
Exports an OpenWGA content store dump from a content store.
|
boolean |
exportDump(boolean includeACL,
boolean includeSystemAreas,
boolean includeArchived)
Exports an OpenWGA content store dump from a content store.
|
int |
getClearCacheEvery()
Returns after how much processed documents the database caches are cleared to free memory.
|
boolean |
importDump()
Imports an OpenWGA content store dump into a content store.
|
boolean |
importDump(boolean includeACL)
Imports an OpenWGA content store dump into a content store.
|
boolean |
importDump(boolean includeACL,
boolean includeSystemAreas)
Imports an OpenWGA content store dump into a content store.
|
void |
setClearCacheEvery(int i)
Sets after how much processed documents the database caches are cleared to free memory.
|
public static final java.util.List<java.lang.String> UNMIGRATEABLE_DBMETADATA
public ContentStoreDumpManager(WGDatabase from, WGDatabase to, org.apache.log4j.Logger logger)
from - The source databaseto - The target databaselogger - A logger to write the dump log topublic ContentStoreDumpManager(WGDatabase from, WGDatabase to)
from - The source databaseto - The target databasepublic boolean importDump()
throws WGAPIException
WGAPIExceptionpublic boolean importDump(boolean includeACL,
boolean includeSystemAreas)
throws WGAPIException
includeACL - should the ACL of the source be imported or notincludeSystemAreas - should system areas be imported or notWGAPIExceptionpublic boolean importDump(boolean includeACL)
throws WGAPIException
includeACL - should the ACL of the source be imported or notWGAPIExceptionpublic boolean exportDump()
throws WGAPIException
WGAPIExceptionpublic boolean exportDump(boolean includeACL)
throws WGAPIException
includeACL - should the ACL of the source be included in the dump or notWGAPIExceptionpublic boolean exportDump(boolean includeACL,
boolean includeSystemAreas,
boolean includeArchived)
throws WGAPIException
includeACL - should the ACL of the source be included in the dump or notincludeSystemAreas - should system areas be included in the dump or notincludeArchived - WGAPIExceptionpublic int getClearCacheEvery()
public void setClearCacheEvery(int i)
i -