wt.inf.template.ix
Class ContainerTemplateHandler
java.lang.Object
wt.ixb.handlers.netmarkets.NMHandler
wt.inf.template.ix.ContainerTemplateHandler
- All Implemented Interfaces:
- ApplicationExpImportHandler, ApplicationImportHandler
- public class ContainerTemplateHandler
- extends NMHandler
- implements ApplicationImportHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerTemplateHandler
public ContainerTemplateHandler(DefaultWTContainerTemplate tmpl)
ContainerTemplateHandler
public ContainerTemplateHandler()
storeLogMessage
public void storeLogMessage(String resourceBundle,
String messageKey,
Object[] textInserts,
int importanceLevel)
throws WTException
- Description copied from interface:
ApplicationExpImportHandler
- Supplies the localized log message for the application.
Supported API: true
- Specified by:
storeLogMessage
in interface ApplicationExpImportHandler
- Overrides:
storeLogMessage
in class NMHandler
- Throws:
WTException
getContentAsInputStream
public InputStream getContentAsInputStream(String contentId)
throws WTException
- The XML files use this method must store their content ids as the string form of their object
identifier.
- Specified by:
getContentAsInputStream
in interface ApplicationImportHandler
- Overrides:
getContentAsInputStream
in class NMHandler
- Throws:
WTException
getContentAsApplicationData
public ApplicationData getContentAsApplicationData(String contentId)
- Description copied from interface:
ApplicationImportHandler
- Returns ApplicationData representing input information for import
process. Import application does not have really implement this method.
It can simple return
null
.
Supported API: true
- Specified by:
getContentAsApplicationData
in interface ApplicationImportHandler
- Overrides:
getContentAsApplicationData
in class NMHandler
importObjectNotification
public void importObjectNotification(Object object,
boolean created,
IxbElement fileXML)
throws WTException
- Description copied from interface:
ApplicationImportHandler
- Notifies application about objects, that are created in import process.
Supported API: true
- Specified by:
importObjectNotification
in interface ApplicationImportHandler
- Overrides:
importObjectNotification
in class NMHandler
- Throws:
WTException
finalizeImportObjectNotification
public void finalizeImportObjectNotification(Object object)
throws WTException
- Description copied from interface:
ApplicationImportHandler
- Notifies application about objects after being persisted.
Supported API: true
- Specified by:
finalizeImportObjectNotification
in interface ApplicationImportHandler
- Overrides:
finalizeImportObjectNotification
in class NMHandler
- Throws:
WTException