All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, AjaxableComponent, Badgeable, Hideable, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable

public class PBulkOutcomeUpdate extends Panel
Panel to edit more intervention's outcome at the same time
Since:
9.2
See Also:
GCApi:
controller
  • Constructor Details

    • PBulkOutcomeUpdate

      public PBulkOutcomeUpdate()
  • Method Details

    • showForInterventions

      public void showForInterventions(List<Intervention> interventions, HashGetter startingData, WorkOrder workOrder)
      Shows the edit panel for the given intervention list
      Parameters:
      interventions - the interventions to edit
      startingData - the form data to use as a starting editing info
      workOrder - the interventions work order
    • onBulkOutcomeUpdateOutcomeReasonChanged

      public boolean onBulkOutcomeUpdateOutcomeReasonChanged(UIMessage uim)
      UI event handler to intercept the outcome reason change, and update the available coded notes according to the new outcome reason
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain
    • updateAvailableCodedNotes

      protected void updateAvailableCodedNotes()
      Define the available coded notes according to the current outcome reason