wt.replication.ixbutil
Class ReplIxbExportHandler
java.lang.Object
wt.ixb.publicforapps.ApplicationExportHandlerTemplate
wt.replication.ixbutil.ReplIxbExportHandler
- All Implemented Interfaces:
- ApplicationExpImportHandler, ApplicationExportHandler
- public class ReplIxbExportHandler
- extends ApplicationExportHandlerTemplate
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
unit
private WTUnit unit
manifest
private Manifest manifest
fnum
private int fnum
contentFileNames
private HashSet contentFileNames
ReplIxbExportHandler
public ReplIxbExportHandler(WTUnit a_unit)
storeContent
public String storeContent(Object attribute)
throws WTException
- Description copied from class:
ApplicationExportHandlerTemplate
- Stores the given content of exported object.
The return value is String, that will be used in XML file as an identifier
of this content.
Application should be able to find the content during the import process
by this identifier.
The content of the associated object might not be saved, depending
on the implementation of the this interface.
Supported API: true
- Specified by:
storeContent
in interface ApplicationExportHandler
- Overrides:
storeContent
in class ApplicationExportHandlerTemplate
- Parameters:
attribute
- The content attribute which is related to InputStream or BLOB. e.g. it can be ApplicationData
, File or String (full path of a file), etc
- Returns:
- String
- Throws:
WTException
exportObjectContent
public void exportObjectContent(Object obj,
Exporter exporter,
ContentItem item,
String exportFileName)
throws WTException
- Throws:
WTException
storeDocument
public String storeDocument(IxbElement doc,
String dtd)
throws WTException
- Description copied from class:
ApplicationExportHandlerTemplate
- Stores the given XML element, which is the XML representation of exported
object, based on the provided DTD. If parameter dtd is null, Windchill's
default DTD is assumed.
Return XML file name or some other string identifier for the stored
element.
Supported API: true
- Specified by:
storeDocument
in interface ApplicationExportHandler
- Overrides:
storeDocument
in class ApplicationExportHandlerTemplate
- Parameters:
doc
- dtd
-
- Returns:
- String
- Throws:
WTException
- See Also:
storeDocument (IxbElement elem)
storeLogMessage
public void storeLogMessage(String resourceBundle,
String messageKey,
Object[] textInserts,
int importanceLevel)
throws WTException
- Description copied from class:
ApplicationExportHandlerTemplate
- Supplies the localized log message for the application.
Supported API: true
- Specified by:
storeLogMessage
in interface ApplicationExpImportHandler
- Overrides:
storeLogMessage
in class ApplicationExportHandlerTemplate
- Parameters:
resourceBundle
- messageKey
- textInserts
- importanceLevel
-
- Throws:
WTException
PP
private static void PP(String s)