public class ComputeBatchWeightsAction extends AbstractTuttiAction<EditCatchesUIModel,EditCatchesUI,EditCatchesUIHandler>
| Modifier and Type | Field and Description |
|---|---|
protected WeightCleaningService |
cleaningService |
| Constructor and Description |
|---|
ComputeBatchWeightsAction(EditCatchesUIHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
protected Float |
computeBenthosBatches(PersistenceService persistenceService,
BatchContainer<BenthosBatch> computedBenthosBatches) |
protected Float |
computeSpeciesBatches(PersistenceService persistenceService,
BatchContainer<SpeciesBatch> computedSpeciesBatches) |
void |
doAction() |
protected int |
getFinestCategoryColumn(Integer categoryId) |
void |
postSuccessAction() |
boolean |
prepareAction() |
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, releaseAction, saveFile, saveFile, saveFileWithStartDirectory, setActionDescription, setProgressionModeladdPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerprotected final WeightCleaningService cleaningService
public ComputeBatchWeightsAction(EditCatchesUIHandler handler)
public boolean prepareAction()
throws Exception
prepareAction in class org.nuiton.jaxx.application.swing.action.AbstractApplicationAction<EditCatchesUIModel,EditCatchesUI,EditCatchesUIHandler>Exceptionpublic void doAction()
throws Exception
doAction in class AbstractTuttiAction<EditCatchesUIModel,EditCatchesUI,EditCatchesUIHandler>Exceptionpublic void postSuccessAction()
postSuccessAction in class org.nuiton.jaxx.application.swing.action.AbstractApplicationAction<EditCatchesUIModel,EditCatchesUI,EditCatchesUIHandler>protected Float computeSpeciesBatches(PersistenceService persistenceService, BatchContainer<SpeciesBatch> computedSpeciesBatches)
protected Float computeBenthosBatches(PersistenceService persistenceService, BatchContainer<BenthosBatch> computedBenthosBatches)
protected int getFinestCategoryColumn(Integer categoryId)
Copyright © 2012–2015 Ifremer. All rights reserved.