Package com.axelor.data
Interface Importer
- All Known Implementing Classes:
CSVImporter,XMLImporter
public interface Importer
The
Importer interface to run data import.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(Listener listener) Add a data import event listener.voidClear listeners.voidrun()Run the data import task.voidrun(ImportTask task) Run the specified import task.voidsetContext(Map<String, Object> context) Set global context.
-
Field Details
-
defaultAdapters
-
-
Method Details
-
setContext
Set global context.- Parameters:
context- the global context
-
addListener
Add a data import event listener.- Parameters:
listener- the listener
-
clearListener
void clearListener()Clear listeners. -
run
void run()Run the data import task. -
run
Run the specified import task.- Parameters:
task- the task to run
-