|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ApplicationImportHandler
This interface represents application specific implementation of how import process gets input information. There are two types of imput information for import process:
To improve performance of import process there are two different methods, that import service uses to get input information:
| 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. |
| Methods inherited from interface wt.ixb.publicforapps.ApplicationExpImportHandler |
|---|
storeLogMessage |
| Method Detail |
|---|
InputStream getContentAsInputStream(String contentId)
throws WTException
contentId - The unique id to identify the content data, such as the file name (including the path) in a jar file.
WTException
ApplicationData getContentAsApplicationData(String contentId)
throws WTException
null.
contentId - The unique id to identify the content data, such as the file name (including the path) in a jar file.
WTException
void importObjectNotification(Object object,
boolean created,
IxbElement fileXML)
throws WTException
object - created - "true" if import process creates new object and "false" otherwise.fileXML -
WTException
void finalizeImportObjectNotification(Object object)
throws WTException
object -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||