|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.ixb.publicforapps.ApplicationImportHandlerTemplate
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 | |
ApplicationImportHandlerTemplate()
|
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)
|
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 ApplicationImportHandlerTemplate()
Method Detail |
public InputStream getContentAsInputStream(String contentId) throws WTException
getContentAsInputStream
in interface ApplicationImportHandler
contentId
- 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 ApplicationImportHandler
contentId
- 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 ApplicationImportHandler
object
- created
- "true" if import process creates new object and "false" otherwise.fileXML
-
WTException
public void finalizeImportObjectNotification(Object object) throws WTException
finalizeImportObjectNotification
in interface ApplicationImportHandler
object
-
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 |