wt.dataops.archive.ixutil
Class IXArchiveRestoreApplication

java.lang.Object
  extended bywt.dataops.archive.ixutil.IXArchiveRestoreApplication

public class IXArchiveRestoreApplication
extends Object


Nested Class Summary
private  class IXArchiveRestoreApplication.ArchiveExportHandler
           
private  class IXArchiveRestoreApplication.RestoreImportHandler
           
 
Field Summary
private static int archiveLogLevel
           
private static String BASIC_INDEXING_HINTS_NAME
           
private  File basicHintsFile
           
private static int DEFAULT_LOG_LEVEL
           
private static int restoreLogLevel
           
private static String SECONDARY_INDEXING_HINTS_NAME
           
private  File secondaryHintsFile
           
private static boolean VERBOSE
           
 
Constructor Summary
IXArchiveRestoreApplication()
           
 
Method Summary
 IXArchiveRestoreStatus performArchive(Archiveable[] objects, File basicHints, File secondaryHints, File saveAsFile)
          Archives business objects and 2 "indexing hints" files, to be stored in archive system
 IXArchiveRestoreStatus performRestore(File archiveFile)
           
private  void PP_messages(IXArchiveRestoreStatus status)
           
private  void PP(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

archiveLogLevel

private static int archiveLogLevel

restoreLogLevel

private static int restoreLogLevel

DEFAULT_LOG_LEVEL

private static int DEFAULT_LOG_LEVEL

basicHintsFile

private File basicHintsFile

secondaryHintsFile

private File secondaryHintsFile

BASIC_INDEXING_HINTS_NAME

private static final String BASIC_INDEXING_HINTS_NAME
See Also:
Constant Field Values

SECONDARY_INDEXING_HINTS_NAME

private static final String SECONDARY_INDEXING_HINTS_NAME
See Also:
Constant Field Values

VERBOSE

private static boolean VERBOSE
Constructor Detail

IXArchiveRestoreApplication

public IXArchiveRestoreApplication()
Method Detail

performArchive

public IXArchiveRestoreStatus performArchive(Archiveable[] objects,
                                             File basicHints,
                                             File secondaryHints,
                                             File saveAsFile)
                                      throws WTException
Archives business objects and 2 "indexing hints" files, to be stored in archive system

Parameters:
objects - Objects to archive
saveAsFile - Location of resulting archive file.
Returns:
Status of the operation. IXArchiveRestoreStatus has methods to obtain log messages from IX handlers and the total size of the content of jar file.
Throws:
WTException

performRestore

public IXArchiveRestoreStatus performRestore(File archiveFile)
                                      throws WTException
Throws:
WTException

PP

private void PP(String s)

PP_messages

private void PP_messages(IXArchiveRestoreStatus status)