Class WorkOrderSaveEventOptions
java.lang.Object
overit.geocallapp.wfm.core.bl.workorder.event.WorkOrderSaveEventOptions
Work order saving options.
Use this object to guide the work order saving process behavior
- Since:
- 9.2
- GCApi:
- bo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intDefault save modestatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the required save modebooleanChecks if the system has to verify whether theWorkOrderhas been changed in the time between loading and (this) saving process.booleanChecks if the EAG engine will be disabled during this saving processvoidsetCheckCollision(boolean checkCollision) Sets the flag which allows to force the change collision detection before saving.voidsetDisableEAG(boolean disableEAG) Allows the caller to disable the EAG engine during the saving processvoidsetSaveMode(int saveMode) Sets the save mode The caller can choose one of the available save mode
-
Field Details
-
MODE_DEFAULT
public static final int MODE_DEFAULTDefault save mode- See Also:
-
MODE_CONFIRM_ODL_PDA
public static final int MODE_CONFIRM_ODL_PDA- See Also:
-
MODE_CONFIRM_ODR_PDA
public static final int MODE_CONFIRM_ODR_PDA- See Also:
-
MODE_PROJECT_SIMULATION
public static final int MODE_PROJECT_SIMULATION- See Also:
-
-
Constructor Details
-
WorkOrderSaveEventOptions
public WorkOrderSaveEventOptions()
-
-
Method Details
-
isDisableEAG
public boolean isDisableEAG()Checks if the EAG engine will be disabled during this saving process- Returns:
- true if the EAG engine will be disabled, false otherwise.
-
setDisableEAG
public void setDisableEAG(boolean disableEAG) Allows the caller to disable the EAG engine during the saving process- Parameters:
disableEAG- if true, disables the EAG rule processing
-
isCheckCollision
public boolean isCheckCollision()Checks if the system has to verify whether theWorkOrderhas been changed in the time between loading and (this) saving process.- Returns:
- true to force the system, false otherwise.
-
setCheckCollision
public void setCheckCollision(boolean checkCollision) Sets the flag which allows to force the change collision detection before saving.- Parameters:
checkCollision- if true, enables the concurrency modification check on work order saving
-
getSaveMode
public int getSaveMode()Returns the required save mode- Returns:
- the required save mode
-
setSaveMode
public void setSaveMode(int saveMode) Sets the save mode The caller can choose one of the available save mode- Parameters:
saveMode- the selected work order save mode- See Also:
-