Class WorkOrderSaveEventOptions

java.lang.Object
overit.geocallapp.wfm.core.bl.workorder.event.WorkOrderSaveEventOptions

public class WorkOrderSaveEventOptions extends Object
Work order saving options. Use this object to guide the work order saving process behavior
Since:
9.2
GCApi:
bo
  • Field Details

  • 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 the WorkOrder has 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: