Package com.axelor.data
Interface Listener
-
public interface Listener
Listener interface provides some events fired by Importer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(Model bean, Exception e)
Invoked when bean failed managedvoid
imported(Model bean)
Invoked when line is importedvoid
imported(Integer total, Integer success)
Invoked when file is imported
-
-
-
Method Detail
-
imported
void imported(Model bean)
Invoked when line is imported- Parameters:
bean
- the bean instance mapped to the imported values
-
imported
void imported(Integer total, Integer success)
Invoked when file is imported- Parameters:
total
- the total number of records processedsuccess
- the total number of records successfuly imported
-
-