wt.ixb.clientAccess
Class StandardIXBService.ImportHandler

java.lang.Object
  extended bywt.ixb.publicforapps.ApplicationImportHandlerTemplate
      extended bywt.ixb.clientAccess.StandardIXBService.ImportHandler
All Implemented Interfaces:
ApplicationExpImportHandler, ApplicationImportHandler
Enclosing class:
StandardIXBService

private class StandardIXBService.ImportHandler
extends ApplicationImportHandlerTemplate


Field Summary
(package private)  BufferedWriter bwLog
           
(package private)  File fLogFile
           
(package private)  IXBExpImpStatus importResult
           
(package private)  boolean ixbWithGUI
           
(package private)  IXBJarReader jar
           
(package private)  Locale userLocale
           
(package private)  int userLogLevel
           
 
Fields inherited from class wt.ixb.publicforapps.ApplicationImportHandlerTemplate
 
Fields inherited from interface wt.ixb.publicforapps.ApplicationExpImportHandler
IMPORTANCE_LEVEL_DEFAULT
 
Constructor Summary
(package private) StandardIXBService.ImportHandler(IXBExpImpStatus _res, IXBJarReader _jar, Locale locale)
           
 
Method Summary
 void cleanUpAfterImport(boolean outcome)
           
 InputStream getContentAsInputStream(String contentId)
          Returns InputStream representing input information for import process

Supported API: true
 void storeLogMessage(String resourceBundle, String messageKey, Object[] textInserts)
           
 void storeLogMessage(String resourceBundle, String messageKey, Object[] textInserts, int importanceLevel)
          Supplies the localized log message for the application.
 
Methods inherited from class wt.ixb.publicforapps.ApplicationImportHandlerTemplate
finalizeImportObjectNotification, getContentAsApplicationData, importObjectNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

importResult

IXBExpImpStatus importResult

jar

IXBJarReader jar

userLogLevel

int userLogLevel

userLocale

Locale userLocale

ixbWithGUI

boolean ixbWithGUI

fLogFile

File fLogFile

bwLog

BufferedWriter bwLog
Constructor Detail

StandardIXBService.ImportHandler

StandardIXBService.ImportHandler(IXBExpImpStatus _res,
                                 IXBJarReader _jar,
                                 Locale locale)
                           throws WTException
Method Detail

getContentAsInputStream

public InputStream getContentAsInputStream(String contentId)
                                    throws WTException
Description copied from class: ApplicationImportHandlerTemplate
Returns InputStream representing input information for import process

Supported API: true

Specified by:
getContentAsInputStream in interface ApplicationImportHandler
Overrides:
getContentAsInputStream in class ApplicationImportHandlerTemplate
Parameters:
contentId - The unique id to identify the content data, such as the file name (including the path) in a jar file.
Returns:
InputStream
Throws:
WTException

storeLogMessage

public void storeLogMessage(String resourceBundle,
                            String messageKey,
                            Object[] textInserts)
                     throws WTException
Overrides:
storeLogMessage in class ApplicationImportHandlerTemplate
Throws:
WTException

storeLogMessage

public void storeLogMessage(String resourceBundle,
                            String messageKey,
                            Object[] textInserts,
                            int importanceLevel)
                     throws WTException
Description copied from class: ApplicationImportHandlerTemplate
Supplies the localized log message for the application.

Supported API: true

Specified by:
storeLogMessage in interface ApplicationExpImportHandler
Overrides:
storeLogMessage in class ApplicationImportHandlerTemplate
Parameters:
resourceBundle -
messageKey -
textInserts -
importanceLevel -
Throws:
WTException

cleanUpAfterImport

public void cleanUpAfterImport(boolean outcome)
                        throws WTException
Throws:
WTException