|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.ixb.publicforapps.ApplicationExportHandlerTemplate
Class extends ApplicationExportHandler
interface
with trivial implementations.
It can be used by application to make application less dependent of future
extension of ApplicationExportHandler
interface.
Supported API: true
Extendable: true
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
Fields inherited from interface wt.ixb.publicforapps.ApplicationExpImportHandler |
IMPORTANCE_LEVEL_DEFAULT |
Constructor Summary | |
ApplicationExportHandlerTemplate()
|
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. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
Constructor Detail |
public ApplicationExportHandlerTemplate()
Method Detail |
public String storeDocument(IxbElement elem) throws WTException
storeDocument
in interface ApplicationExportHandler
elem
-
WTException
storeDocument (IxbElement elem, String dtd)
public String storeDocument(IxbElement elem, String dtd) throws WTException
storeDocument
in interface ApplicationExportHandler
elem
- dtd
-
WTException
storeDocument (IxbElement elem)
public String storeContent(Object contentAttr) throws WTException
storeContent
in interface ApplicationExportHandler
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
storeContent
in interface ApplicationExportHandler
file
-
WTException
public void reallyStoreContent(Object contentHolder, Exporter exporter, InputStream content, String contentId) throws WTException
storeContent (Object contentAttr)
.
reallyStoreContent
in interface ApplicationExportHandler
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
storeAdditionalInfo
in interface ApplicationExportHandler
object
- fileXML
- fileId
-
WTException
public void finalizeAdditionalInfo() throws WTException
finalizeAdditionalInfo
in interface ApplicationExportHandler
WTException
public void storeLogMessage(String resourceBundle, String messageKey, Object[] textInserts, int importanceLevel) throws WTException
storeLogMessage
in interface ApplicationExpImportHandler
resourceBundle
- messageKey
- textInserts
- importanceLevel
-
WTException
public void storeLogMessage(String resourceBundle, String messageKey, Object[] textInserts) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |