java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.Container
overit.geocall.basic.ui.container.Panel
overit.geocallapp.wfm.planning.ux.forecastcapacity.forecast.resource.detail.edit.ForecastResourceDetailManagement
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
Direct Known Subclasses:
AddForecastResourceDetail, ApplyForecastResourceDetailTemplate, EditForecastResourceDetail

public abstract class ForecastResourceDetailManagement extends Panel
Basic class used in the Panel for create/edit a forecast detail and in the panel to apply a template
Since:
15.0
See Also:
GCApi:
controller
  • Field Details

  • Constructor Details

    • ForecastResourceDetailManagement

      public ForecastResourceDetailManagement()
  • Method Details

    • getForecastResourceId

      public Long getForecastResourceId()
      Returns the forecast resource id.
      Returns:
      the forecast resource id
      See Also:
    • setForecastResourceId

      public void setForecastResourceId(Long forecastResourceId)
      Sets the forecast resource id.
      Parameters:
      forecastResourceId - the forecast resource id
      See Also:
    • initPanel

      protected void initPanel()
    • show

      public void show(Serializable params)
      Description copied from class: Panel
      It shows (make visible with the pop-up effect) the panel
      Overrides:
      show in class Panel
      Parameters:
      params - serializable object saved as a global variable of the panel
    • onGeneratePreview

      public boolean onGeneratePreview(UIMessage uim)
      Generate a preview for the input data. Preview is generating a list of ForecastResourceDetailBuildPreview
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • buildPreview

      protected abstract void buildPreview() throws DAValidateException, DAException
      Throws:
      DAValidateException
      DAException
    • getSaveTimeframesButton

      protected abstract SubmitButton getSaveTimeframesButton()
    • getTimeframesTableView

      protected abstract TableView getTimeframesTableView()
    • onSaveTimeframes

      public boolean onSaveTimeframes(UIMessage uim)
      Save all the timeframes saved in the list ForecastResourceDetailBuildPreview
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onChangeDayViewMode

      public void onChangeDayViewMode(UIMessage uim)
    • onChangeWeekViewMode

      public boolean onChangeWeekViewMode(UIMessage uim)
    • onChangeMonthViewMode

      public boolean onChangeMonthViewMode(UIMessage uim)