|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.ixb.publicforapps.ApplicationExportHandlerTemplate
public class 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
| 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(File file,
String filename)
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,
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 |
| Method Detail |
|---|
public String storeDocument(IxbElement elem)
throws WTException
storeDocument in interface ApplicationExportHandlerelem -
WTExceptionstoreDocument (IxbElement elem, String dtd)
public String storeDocument(IxbElement elem,
String dtd)
throws WTException
storeDocument in interface ApplicationExportHandlerelem - dtd -
WTExceptionstoreDocument (IxbElement elem)
public String storeContent(Object contentAttr)
throws WTException
storeContent in interface ApplicationExportHandlercontentAttr - 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 ApplicationExportHandlerfile -
WTException
public String storeContent(File file,
String filename)
throws WTException
storeContent in interface ApplicationExportHandlerfile - filename -
WTException
public void reallyStoreContent(Object contentHolder,
Exporter exporter,
InputStream content,
String contentId)
throws WTException
storeContent (Object contentAttr).
reallyStoreContent in interface ApplicationExportHandlercontentHolder - 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 ApplicationExportHandlerobject - fileXML - fileId -
WTException
public void finalizeAdditionalInfo()
throws WTException
finalizeAdditionalInfo in interface ApplicationExportHandlerWTException
public void storeLogMessage(String resourceBundle,
String messageKey,
Object[] textInserts,
int importanceLevel)
throws WTException
storeLogMessage in interface ApplicationExpImportHandlerresourceBundle - messageKey - textInserts - importanceLevel -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||