public class ComputeBatchWeightsAction extends AbstractTuttiAction<EditCatchesUIModel,EditCatchesUI,EditCatchesUIHandler>
| Modifier and Type | Field and Description |
|---|---|
protected List<BenthosBatchRowModel> |
benthosBatchRows |
protected CatchBatch |
catchBatch |
protected WeightCleaningService |
cleaningService |
protected Boolean |
modified |
protected List<SpeciesBatchRowModel> |
speciesBatchRows |
protected Integer |
tabInError |
| Constructor and Description |
|---|
ComputeBatchWeightsAction(EditCatchesUIHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterAction() |
protected Float |
computeBenthosBatches(PersistenceService persistenceService,
BatchContainer<BenthosBatch> computedBenthosBatches) |
protected Float |
computeSpeciesBatches(PersistenceService persistenceService,
BatchContainer<SpeciesBatch> computedSpeciesBatches) |
void |
doAction() |
void |
postFailedAction(Throwable error) |
void |
postSuccessAction() |
boolean |
prepareAction() |
protected <R extends SampleCategoryAble> |
selectBatchCell(org.jdesktop.swingx.JXTable table,
int index,
SampleCategoryAble row,
String property,
Set<SampleCategoryColumnIdentifier<R>> sampleCols,
org.nuiton.jaxx.application.swing.table.ColumnIdentifier<R> weightColumn) |
protected void |
treatBenthosBatchError(TuttiWeightComputingException e) |
protected void |
treatSpeciesBatchError(TuttiWeightComputingException e) |
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, 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
protected List<SpeciesBatchRowModel> speciesBatchRows
protected List<BenthosBatchRowModel> benthosBatchRows
protected CatchBatch catchBatch
protected Boolean modified
protected Integer tabInError
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 void afterAction()
public void postFailedAction(Throwable error)
postFailedAction 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 void treatSpeciesBatchError(TuttiWeightComputingException e)
protected void treatBenthosBatchError(TuttiWeightComputingException e)
protected <R extends SampleCategoryAble> void selectBatchCell(org.jdesktop.swingx.JXTable table, int index, SampleCategoryAble row, String property, Set<SampleCategoryColumnIdentifier<R>> sampleCols, org.nuiton.jaxx.application.swing.table.ColumnIdentifier<R> weightColumn)
Copyright © 2012–2015 Ifremer. All rights reserved.