Class CDashboardFailureInvestigation

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

public class CDashboardFailureInvestigation extends CDashboardBasic
See Also:
  • Field Details

    • _fCharts

      protected Form _fCharts
    • _smfDashBBoardFICharts

      protected ServerMultiForm _smfDashBBoardFICharts
    • _displayedDataMain

      protected HashGetter _displayedDataMain
    • _displayedDataDetail

      protected HashGetter _displayedDataDetail
    • _datLoadChart

      protected DATLoadFailureInvestigation _datLoadChart
    • _fiManager

    • _jfcFIMain

      protected JFCSerie _jfcFIMain
    • _jfcFIMainDetail

      protected JFCSerie _jfcFIMainDetail
    • _infoChartFailuresMain

      protected String _infoChartFailuresMain
    • _infoChartFailuresDetail

      protected String _infoChartFailuresDetail
    • _secondaryChartSuffix

      protected String _secondaryChartSuffix
    • _secondaryChartRange

      protected String _secondaryChartRange
    • _referenceLabelDetailChart

      protected String _referenceLabelDetailChart
    • _referenceGroupDetailChart

      protected String _referenceGroupDetailChart
    • _lastClickedColumn

      protected int _lastClickedColumn
  • Constructor Details

    • CDashboardFailureInvestigation

      public CDashboardFailureInvestigation()
  • Method Details

    • getLoadTask

      protected DATask getLoadTask()
      Description copied from class: CDashboardBasic
      Get the task that retrive graph data
      Specified by:
      getLoadTask in class CDashboardBasic
    • initWindow

      protected void initWindow()
      Description copied from class: CDashboardBasic
      Get components from xml It must be overrided in subclass
      Overrides:
      initWindow in class CDashboardBasic
    • setupWindow

      protected void setupWindow()
      Define initial window style
      Overrides:
      setupWindow in class CDashboardBasic
    • onRestore

      public void onRestore(Object o)
      Description copied from class: Container
      Method called when is executed the WindowManager.pop(java.lang.Object) of the above Window. It calls the onRestore(o) method of all the Container's childrens
      Overrides:
      onRestore in class Container
      Parameters:
      o - Object received from the caller
    • onInfoChart

      public boolean onInfoChart(HashGetter oParams)
      Show info pop-up for the clicked chart
      Parameters:
      oParams -
      Returns:
    • onPrintChart

      public boolean onPrintChart(HashGetter oParams)
      Call print chart
      Parameters:
      oParams -
      Returns:
    • clearMainchart

      public void clearMainchart()
      Clear main chart
    • showDetailGraph

      protected void showDetailGraph()
      Show detail graph
    • clearDetailChart

      public void clearDetailChart()
      Clear detail chart and set it invisible
    • checkInput

      protected Boolean checkInput(HashGetter hg)
      Check notifications input dates
      Overrides:
      checkInput in class CDashboardBasic
      Parameters:
      hg -
      Returns:
    • maximizeDateInterval

      protected void maximizeDateInterval(HashGetter oParams)
      Maximize search interval data values from 00.00 to 23.59
      Parameters:
      oParams -
    • process

      public void process(HashGetter hg)
      Description copied from class: CDashboardBasic
      Gets form data on input and display graph
      Overrides:
      process in class CDashboardBasic
    • prepareData

      public void prepareData(HashGetter hgFilter)
      Specified by:
      prepareData in class CDashboardBasic
    • loadChart

      public void loadChart(HashGetter hg)
      Launch the main task and group his result before plot the graph
      Specified by:
      loadChart in class CDashboardBasic
    • getSerie

      public HashGetter getSerie(HashGetter filter, DBView dataToShow, Boolean isGroup)
      Build the hashgetter used for plotting graph
      Parameters:
      filter - params
      dataToShow -
      isGroup -
      Returns:
    • drawChart

      public void drawChart(JFCSerie chart, Boolean isMain)
      Build graphs
      Parameters:
      chart -
      isMain -
    • onShowSecondaryChart

      public void onShowSecondaryChart(UIMessage uim)
      Build default secondary graph after click on main bar
      Parameters:
      uim -
    • showDetails

      public void showDetails(int originalRow, Long level)
    • onChangeGroupingOptions

      public boolean onChangeGroupingOptions(HashGetter params)
    • onChangeIntervalOptions

      public boolean onChangeIntervalOptions(HashGetter params)
    • onChangeGraphLevel

      public boolean onChangeGraphLevel(HashGetter params)
    • onChangeGraphInterval

      public boolean onChangeGraphInterval(HashGetter params)
      Set new grouping range on secondary graph and update his title
      Parameters:
      params -
      Returns:
    • onShowMainGraphMenu

      public void onShowMainGraphMenu(UIMessage uim)
      Show main chart menù after clicking on a column
      Parameters:
      uim -
    • onShowDetailGraphMenu

      public void onShowDetailGraphMenu(UIMessage uim)
      Show detail chart menù after clicking on a column
      Parameters:
      uim -
    • buildInfoChartFailures

      public void buildInfoChartFailures(Boolean isMain)
      Build the string used as text on Info button
      Parameters:
      isMain -
    • setSecondaryGraphTitleSuffix

      protected void setSecondaryGraphTitleSuffix(Long range)
      Set a string tha indicates the grouping type of the secondary graph
      Parameters:
      range -
    • setSecondaryChartLabelRange

      public void setSecondaryChartLabelRange(int row)
      Set data range of secondary graph
      Parameters:
      row -
    • getDatesRangeFromLabel

      protected String getDatesRangeFromLabel(String label)
    • getTitleSecondaryChart

      public String getTitleSecondaryChart()
      Set title for detail chart
      Returns:
    • getMainChartItemEvent

      protected String getMainChartItemEvent()
      Get the name of the event triggered at main chart column click
    • getDetailChartItemEvent

      protected String getDetailChartItemEvent()
      Get the name of the event triggered at click on one top element of the top failures chart
    • onShowMainNotifications

      public boolean onShowMainNotifications(UIMessage uim)
      Opens Notification window to show notifications occurred in the column clicked
      Parameters:
      uim -
      Returns:
    • onShowMainWO

      public boolean onShowMainWO(UIMessage uim)
      Opens WO window to show WO linked with notifications occurred in the column clicked
      Parameters:
      uim -
      Returns:
    • onShowDetailNotifications

      public boolean onShowDetailNotifications(UIMessage uim)
      Opens Notification window to show notifications occurred in the column clicked
      Parameters:
      uim -
      Returns:
    • onShowDetailWO

      public boolean onShowDetailWO(UIMessage uim)
      Opens WO window to show WO linked with notifications occurred in the column clicked
      Parameters:
      uim -
      Returns: