Package org.openbravo.materialmgmt
Class VariantChDescUpdateProcessor.VariantChDescUpdateRunnable
- java.lang.Object
-
- org.openbravo.service.importprocess.ImportEntryProcessor.ImportEntryProcessRunnable
-
- org.openbravo.materialmgmt.VariantChDescUpdateProcessor.VariantChDescUpdateRunnable
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- VariantChDescUpdateProcessor
protected static class VariantChDescUpdateProcessor.VariantChDescUpdateRunnable extends ImportEntryProcessor.ImportEntryProcessRunnable
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VariantChDescUpdateRunnable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
processEntry(ImportEntry importEntry)
Must be implemented by a subclass.-
Methods inherited from class org.openbravo.service.importprocess.ImportEntryProcessor.ImportEntryProcessRunnable
cleanUpThreadForNextCycle, doRunCycle, getImportEntryQueue, getKey, getProcessIdForAudit, run, setImportEntryManager, setImportEntryProcessor, setKey, setOBContext, setVariablesSecureApp, toString
-
-
-
-
Method Detail
-
processEntry
protected void processEntry(ImportEntry importEntry) throws Exception
Description copied from class:ImportEntryProcessor.ImportEntryProcessRunnable
Must be implemented by a subclass. Note subclass implementation must perform a commit and close (OBDal.commitAndClose()
) at the end of the processEntry, before it returns. So that at the end of processing there should not an active Session anymore the implementor is responsible for correctly closing any open session/transaction. A warning will be logged if this is somehow forgotten.- Specified by:
processEntry
in classImportEntryProcessor.ImportEntryProcessRunnable
- Throws:
Exception
-
-