public class ImportHandler
extends ApplicationImportHandlerTemplate
Constructor and Description |
---|
ImportHandler(PrintStream a_log) |
Modifier and Type | Method and Description |
---|---|
void |
doImport(WTContainerRef container,
File ruleFile,
File dataDir,
boolean _overrideConflicts,
String actorName,
File policyFile,
File containerMappingFile) |
void |
doImportJar(WTContainerRef container,
File ruleFile,
File dataFile,
boolean _overrideConflicts,
String actorName,
File policyFile,
File containerMappingFile) |
InputStream |
getContentAsInputStream(String contentId) |
void |
storeLogMessage(String resourceBundle,
String messageKey,
Object[] textInserts) |
cleanUpAfterImport, finalizeImportObjectNotification, getContentAsApplicationData, getContentsAsInputStream, getFormatType, getImportResult, getIXApplicationContext, getJarReader, getJarRepository, getJAXBObject, getSize, getUserLoclae, getUserLogLevel, importObjectNotification, importObjectNotification, isIxbWithGUI, isMultiple, isMultithreadedImportApplicable, isRecoverFromDTDErrors, isSaveMsgToResultVector, setFormatType, setIXApplicationContext, setIxbWithGUI, setJAXBObject, setMultiple, setRecoverFromDTDErrors, setSaveMsgToResultVector, setUserLocale, setUserLogLevel, storeLogMessage, storeLogMessage
public static final int MAJOR
public static final int MINOR
public InputStream getContentAsInputStream(String contentId) throws WTException
getContentAsInputStream
in interface ApplicationImportHandler
getContentAsInputStream
in class ApplicationImportHandlerTemplate
WTException
public void storeLogMessage(String resourceBundle, String messageKey, Object[] textInserts) throws WTException
storeLogMessage
in class ApplicationImportHandlerTemplate
WTException
public void doImport(WTContainerRef container, File ruleFile, File dataDir, boolean _overrideConflicts, String actorName, File policyFile, File containerMappingFile) throws Exception
Exception
public void doImportJar(WTContainerRef container, File ruleFile, File dataFile, boolean _overrideConflicts, String actorName, File policyFile, File containerMappingFile) throws Exception
Exception