public abstract class ImportMultiPostActionSupport<M extends org.jdesktop.beans.AbstractBean,UI extends TuttiUI<M,?>,H extends AbstractTuttiUIHandler<M,UI>> extends AbstractTuttiAction<M,UI,H>
| Constructor and Description |
|---|
ImportMultiPostActionSupport(H handler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNotImportedWeightToReport(StringBuilder builder,
Float weight,
WeightUnit weightUnit,
String label) |
protected String |
buildNotImportedDataReportText(Map<String,Object> notImportedData) |
void |
doAction() |
protected EditCatchesUI |
getEditCatchUI() |
protected abstract String |
getFileChooserButton() |
protected abstract String |
getFileChooserTitle() |
protected abstract String |
getFileExtension() |
protected abstract String |
getFileExtensionDescription() |
protected abstract String |
getSuccessMessage(File file) |
protected abstract Map<String,Object> |
importBatches(MultiPostImportService multiPostImportExportService,
File file,
FishingOperation operation) |
void |
postSuccessAction() |
boolean |
prepareAction() |
void |
releaseAction() |
askAdminPassword, createProgressionModelIfRequired, getConfig, getContext, getDataContext, getProgressionModel, openAddSpeciesDialog, sendMessage, setProgressionModelaskBeforeDelete, askOverwriteFile, chooseFile, decorate, decorate, displayErrorMessage, displayInfoMessage, displayWarningMessage, getActionDescription, getActionEngine, getActionFactory, getDecorator, getDialogParentComponent, getHandler, getModel, getUI, isHideBody, postFailedAction, saveFile, saveFile, saveFileWithStartDirectory, setActionDescription, setProgressionModeladdPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic ImportMultiPostActionSupport(H handler)
protected abstract String getFileExtension()
protected abstract String getFileExtensionDescription()
protected abstract String getFileChooserTitle()
protected abstract String getFileChooserButton()
protected abstract Map<String,Object> importBatches(MultiPostImportService multiPostImportExportService, File file, FishingOperation operation)
public boolean prepareAction()
throws Exception
public final void releaseAction()
public final void doAction()
throws Exception
public final void postSuccessAction()
protected String buildNotImportedDataReportText(Map<String,Object> notImportedData)
protected EditCatchesUI getEditCatchUI()
protected void addNotImportedWeightToReport(StringBuilder builder, Float weight, WeightUnit weightUnit, String label)
Copyright © 2012–2015 Ifremer. All rights reserved.