|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.ixb.publicforapps.ApplicationImportHandlerTemplate
public class ApplicationImportHandlerTemplate
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
void |
finalizeImportObjectNotification(Object object)
Notifies application about objects after being persisted. |
ApplicationData |
getContentAsApplicationData(String contentId)
Returns ApplicationData representing input information for import process. |
InputStream |
getContentAsInputStream(String contentId)
Returns InputStream representing input information for import process Supported API: true |
void |
importObjectNotification(Object object,
boolean created,
IxbElement fileXML)
Notifies application about objects, that are created in import process. |
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 InputStream getContentAsInputStream(String contentId)
throws WTException
getContentAsInputStream in interface ApplicationImportHandlercontentId - The unique id to identify the content data, such as the file name (including the path) in a jar file.
WTException
public ApplicationData getContentAsApplicationData(String contentId)
throws WTException
null.
getContentAsApplicationData in interface ApplicationImportHandlercontentId - The unique id to identify the content data, such as the file name (including the path) in a jar file.
WTException
public void importObjectNotification(Object object,
boolean created,
IxbElement fileXML)
throws WTException
importObjectNotification in interface ApplicationImportHandlerobject - created - "true" if import process creates new object and "false" otherwise.fileXML -
WTException
public void finalizeImportObjectNotification(Object object)
throws WTException
finalizeImportObjectNotification in interface ApplicationImportHandlerobject -
WTException
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 | ||||||||