public class CreateSpeciesMelagAction extends LongActionSupport<SpeciesBatchUIModel,SpeciesBatchUI,SpeciesBatchUIHandler>
| Modifier and Type | Field and Description |
|---|---|
protected Float |
melagWeight
Poids du melag renseigne par l'utilisateur une fois les controles passés sur les lots du melag.
|
protected Float |
sampleMelagWeight
Poids du melag moins la somme des poids de categorisations pour les lots du melag qui possede une poids de categorisation.
|
protected Map<SpeciesBatchRowModel,Float> |
selectedRows
Dictionnaire des lots du melag associé a leur poids d'echantillonnage (si un lot possède un poids de categorisation,
alors on lui associe la valeur
null ici. |
protected Float |
sortedWeight
Somme des poids d'echantillonage pour les lots du melag qui ne possède pas de poids de categorisation
mais un poids d'echantillonnage.
|
protected WeightUnit |
weightUnit
Weight unit.
|
| Constructor and Description |
|---|
CreateSpeciesMelagAction(SpeciesBatchUIHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
doAction() |
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, removeVetoableChangeListenerprotected Map<SpeciesBatchRowModel,Float> selectedRows
null ici.protected Float melagWeight
protected Float sampleMelagWeight
protected Float sortedWeight
protected final WeightUnit weightUnit
public CreateSpeciesMelagAction(SpeciesBatchUIHandler handler)
public boolean prepareAction()
throws Exception
prepareAction in class org.nuiton.jaxx.application.swing.action.AbstractApplicationAction<SpeciesBatchUIModel,SpeciesBatchUI,SpeciesBatchUIHandler>Exceptionpublic void doAction()
throws Exception
doAction in class LongActionSupport<SpeciesBatchUIModel,SpeciesBatchUI,SpeciesBatchUIHandler>Exceptionpublic void releaseAction()
releaseAction in class org.nuiton.jaxx.application.swing.action.AbstractApplicationAction<SpeciesBatchUIModel,SpeciesBatchUI,SpeciesBatchUIHandler>public void postSuccessAction()
postSuccessAction in class org.nuiton.jaxx.application.swing.action.AbstractApplicationAction<SpeciesBatchUIModel,SpeciesBatchUI,SpeciesBatchUIHandler>Copyright © 2012–2015 Ifremer. All rights reserved.