|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the base class for export application handlers.
Any export application must supply for export service such a handler
to store exported information.
IXB service by itself knows nothing about how to store generated XML
files.
It completely relies here on the handler, supplied by export application.
There are two different types of the information, that should be stored in the export process:
ContentHolder
), e.g. WTDocument
Field Summary |
Fields inherited from interface wt.ixb.publicforapps.ApplicationExpImportHandler |
IMPORTANCE_LEVEL_DEFAULT |
Method Summary | |
void |
finalizeAdditionalInfo()
Supported API: true |
void |
reallyStoreContent(Object contentHolder,
Exporter exporter,
InputStream content,
String contentId)
Stores the given content of the content parameter "contentAttr". |
void |
storeAdditionalInfo(Object object,
IxbDocument fileXML,
String fileId)
Stores additional information related to object and its XML representation. |
String |
storeContent(File file)
Stores content files residing in the local file system (as in the case of Representation objects). |
String |
storeContent(Object contentAttr)
Stores the given content of exported object. |
String |
storeDocument(IxbElement elem)
Stores the given XML element, which is the XML representation of exported object, based on Windchill's default DTD for export. |
String |
storeDocument(IxbElement elem,
String dtd)
Stores the given XML element, which is the XML representation of exported object, based on the provided DTD. |
Methods inherited from interface wt.ixb.publicforapps.ApplicationExpImportHandler |
storeLogMessage |
Method Detail |
public String storeDocument(IxbElement elem) throws WTException
elem
-
WTException
storeDocument (IxbElement elem, String dtd)
public String storeDocument(IxbElement elem, String dtd) throws WTException
elem
- dtd
-
WTException
storeDocument (IxbElement elem)
public String storeContent(Object contentAttr) throws WTException
contentAttr
- 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
WTException
public String storeContent(File file) throws WTException
file
-
WTException
public void reallyStoreContent(Object contentHolder, Exporter exporter, InputStream content, String contentId) throws WTException
storeContent (Object contentAttr)
.
contentHolder
- The object holding the attribute (directly or indirectly) "contentAttr".exporter
- content
- The content as InputStream which is associated with the contentId.contentId
- The unique content ID which was previously computed by calling "storeContent (Object contentAttr)"
WTException
public void storeAdditionalInfo(Object object, IxbDocument fileXML, String fileId) throws WTException
object
- fileXML
- fileId
-
WTException
public void finalizeAdditionalInfo() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |