wt.ixb.archive
Class ArchiveHelper
java.lang.Object
wt.ixb.archive.ArchiveHelper
- public class ArchiveHelper
- extends Object
Contains general purpose helper methods for Archive and Restore IX applications
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IXB_RESTORE_CONTEXT_KEY
public static final String IXB_RESTORE_CONTEXT_KEY
- See Also:
- Constant Field Values
ARCHIVE_CONTEXT_KEY
private static final String ARCHIVE_CONTEXT_KEY
- See Also:
- Constant Field Values
ARCHIVE_CONTEXT_VALUE
private static final String ARCHIVE_CONTEXT_VALUE
- See Also:
- Constant Field Values
RESTORED_OBJECTS_SET_KEY
private static final String RESTORED_OBJECTS_SET_KEY
- See Also:
- Constant Field Values
VERBOSE
private static final boolean VERBOSE
ArchiveHelper
public ArchiveHelper()
getExporterForArchive
public static Exporter getExporterForArchive(ApplicationExportHandler appExpHandler,
WTContainerRef sourceContainer,
IxbElement localMappingRules)
throws WTException
- Throws:
WTException
getImporterForRestore
public static Importer getImporterForRestore(ApplicationImportHandler appImpHandler,
WTContainerRef targetContainer,
IxbElement localMappingRules,
boolean overrideConflicts)
throws WTException
- Throws:
WTException
isArchiveRestoreContext
public static boolean isArchiveRestoreContext(ExpImporter expImporter)
addToRestoredObjectsSet
public static void addToRestoredObjectsSet(Persistable obj,
Importer importer)
throws WTException
- Throws:
WTException
getRestoredObjectsSet
public static WTCollection getRestoredObjectsSet(Importer importer)
PP
private static void PP(String s)