public class EditFishingOperationAction extends AbstractTuttiAction<FishingOperationsUIModel,FishingOperationsUI,FishingOperationsUIHandler>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
checkPreviousEdit
A flag to not check if there is a previous edit.
|
protected ComputeWeightsAction |
computeWeightsAction
Delegate action to compute the weight of the catches.
|
protected FishingOperation |
fishingOperation
The incoming fishing operation to edit.
|
protected SaveCatchBatchAction |
saveCatchBatchAction
Delegate action to save catch batch.
|
protected SaveFishingOperationAction |
saveFishingOperationAction
Delegate action to save Fising Operation.
|
actionDescription, handler, hideBody, lock| Constructor and Description |
|---|
EditFishingOperationAction(FishingOperationsUIHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAction() |
protected ComputeWeightsAction |
getComputeWeightsAction() |
String |
getFishingOperationTitle(FishingOperation bean) |
protected SaveCatchBatchAction |
getSaveCatchBatchAction() |
protected SaveFishingOperationAction |
getSaveFishingOperationAction() |
void |
loadCatchBatch(FishingOperation bean,
String fishingOperationText,
boolean loadOtherTabs) |
void |
loadFishingOperation(FishingOperation bean,
String fishingOperationText) |
void |
postSuccessAction() |
protected boolean |
prepareAction() |
protected void |
releaseAction() |
void |
setCheckPreviousEdit(boolean checkPreviousEdit) |
void |
setFishingOperation(FishingOperation fishingOperation) |
block, decorate, getActionDescription, getConfig, getContext, getDataContext, getDecorator, getHandler, getModel, getUI, isHideBody, postFailedAction, runAction, sendMessage, setActionDescription, test, unblockaddPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerprotected FishingOperation fishingOperation
protected boolean checkPreviousEdit
protected SaveFishingOperationAction saveFishingOperationAction
protected ComputeWeightsAction computeWeightsAction
protected SaveCatchBatchAction saveCatchBatchAction
public EditFishingOperationAction(FishingOperationsUIHandler handler)
public void setFishingOperation(FishingOperation fishingOperation)
public void setCheckPreviousEdit(boolean checkPreviousEdit)
protected void releaseAction()
protected SaveFishingOperationAction getSaveFishingOperationAction()
protected SaveCatchBatchAction getSaveCatchBatchAction()
protected ComputeWeightsAction getComputeWeightsAction()
protected boolean prepareAction()
protected void doAction()
throws Exception
doAction in class AbstractTuttiAction<FishingOperationsUIModel,FishingOperationsUI,FishingOperationsUIHandler>Exceptionpublic void postSuccessAction()
public void loadFishingOperation(FishingOperation bean, String fishingOperationText)
public String getFishingOperationTitle(FishingOperation bean)
public void loadCatchBatch(FishingOperation bean, String fishingOperationText, boolean loadOtherTabs)
Copyright © 2012-2013 Ifremer. All Rights Reserved.