Class CDashboardMRel
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.Container
overit.geocallapp.wfm.notifications.dashboard.CDashboardBasic
overit.geocallapp.wfm.notifications.dashboard.machinereliability.CDashboardMRel
- 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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.ui.Component
Component.Configurable, Component.ConfigurableAttribute, Component.ConfigurableAttributes, Component.FilterCriteria, Component.Registry -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Long[]protected NotificationAverageGroupManagerprotected String[]protected List<NotificationGroupManager> protected Formprotected Stringprotected Stringprotected Stringprotected Stringprotected JFCSerieLogarithmicprotected JFCSerieprotected JFCSerieprotected JFCSerieParetoprotected intprotected intprotected NullComponentprotected NullComponentprotected NullComponentprotected PanelFields inherited from class overit.geocallapp.wfm.notifications.dashboard.CDashboardBasic
_chartPrinter, _const, _dateRangePresets, _datLoadChart, _defaultSearch, _fSearch, _hgSearchParams, _pOptions, LOG, MAX_NAME_SIZE, SAVED_SEARCH_PAGEFields inherited from class overit.geocall.basic.ui.Container
_rofields, _rules, DALINK_NO, DALINK_YES, DATE_MAX, DATE_MIN, TIME_MAX, TIME_MIN, TYPE_ACTION, TYPE_BOOLEAN, TYPE_DATE, TYPE_DOUBLE, TYPE_DTZ, TYPE_EURO, TYPE_FILE, TYPE_FILES, TYPE_INTEGER, TYPE_LONG, TYPE_LONGARRAY, TYPE_MAP, TYPE_MAXDATE, TYPE_MAXTIME, TYPE_MEASURE, TYPE_MINDATE, TYPE_MINTIME, TYPE_NEWACTION, TYPE_STRING, TYPE_STRINGARRAY, TYPE_SUBSET, TYPE_SUBSETRANGE, TYPE_SUPPORT, TYPE_TIMERANGEFields inherited from class overit.geocall.ui.Control
_blank, _cleaner, _dblink, _enabled, _ro, _title, altEventIconsList, altIcon, ariaDescription, ariaLabel, badge, badgeformat, FILTER_PREFIXES, LABEL_ATTRIBUTE, LABEL_IN_LINE_ATTRIBUTE, STATE_BLANK, STATE_NORMAL, STATE_RO, STATE_ROBLANKFields inherited from class overit.geocall.ui.Component
_basic, _childrenContainers, _currentId, _gridalign, _gridcols, _gridrows, _gridvalign, _iconElement, _id, _keylabel, _label, _layoutName, _name, _parentContainer, _registryName, _shortcut, _tabindex, _transformations, _valuesContainer, aliasField, BR, configHidden, configuredLabel, configuredLabelInLine, defaultHidden, ELEMENT_BR, ELEMENT_NULL, entityContainer, entityName, extendedField, fullHeight, important, labelInLine, layoutLabel, PIXEL_IMG, safeInlineService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbuildInfoChartAverage(Boolean isMainChart, String domainLabel, double[] serieMTBF, double[] serieMDT, double[] serieMTTR) Build info string of indicators chartbooleanbuildInfoChartFailures(HashGetter hg, Boolean withTopSerie) Build the string (html format) to show in the Info button over the graphbooleanBuild the string (html format) to show in the Info button over Pareto graphprotected BooleancheckNoData(DBView dbv) Check if some rows of the passed dbv haven't data to displayvoidExtension for custom operation on saved search applicationvoiddisplayAverageTimeChart(HashGetter filter) Check if there are some indicators to show and before call chart builder.protected StringGet the name of the event triggered at average chart point clickprotected StringGet the name of the event triggered at click on one top element of the top failures average chartprotected DATaskGet the task that retrive graph dataprotected StringGet the name of the event triggered at main chart column clickprotected StringGet the name of the event triggered at click on one top element of the top failures chartprotected HashGettergetSerieAverageTime(HashGetter oParams, DBView dbv) Build data for indicatos chartprotected HashGettergetSerieAverageTimeDetail(HashGetter params, DBView dbv) Build indicator detail chart dataprotected HashGettergetSerieForChart(HashGetter params) Prepare chart data from the data passed on inputprotected HashGetterBuild the pareto serie data from a group object retrived from user bar clickingvoidgroupChartData(DBView dbvChartData, HashGetter hgFilter) Group data for the first graphprotected voidGet components from xml It must be overrided in subclassvoidloadChart(HashGetter hgFilter) Get data from loading task and build the two graphs Task dbvs are managed with specific object to split them on 2 parts, top & not topbooleanLaunch main search from detail panel options of average chartbooleanonInfoChart(HashGetter oParams) Show info pop-up for the clicked chartbooleanonPrintChart(HashGetter oParams) Call print chartvoidMethod called when is executed theWindowManager.pop(java.lang.Object)of the aboveWindow.booleanLaunch main search from detail panel options of main chartvoidShow menù of main detail chartvoidShow menù of average main chartbooleanonShowInnerAveragePeriod(HashGetter params) Get the timeslot rappresented by the clicked point on average chart and launch a new search with a minus level of CHART_TIMEbooleanonShowInnerPeriod(HashGetter oParams) Get the timeslot rappresented by the clicked bar and launch a new search with a minus level of CHART_TIMEvoidShow menù of main detail chart (only when clicking on a column itemvoidShow menù of main chartbooleanOpens notification window to show notifications that occurences in the column clicked by the userbooleanOpens notification window to show notifications that occurences in the column clicked by the userShow notifications that have produced the clicked average timebooleanOpens notification window to show notifications that occurences in the column clicked by the userbooleanShow pareto graph on new panelbooleanShow detail average graph checking only if top_equipment number !booleanOpens WO window to show WO linked with notifications occurred in the column clicked by the userbooleanOpens WO window to show WO linked with top notifications occurred in the column clicked by the userShow WO that have produced the clicked average timebooleanOpens WO window to show WO linked with top notifications occurred in the column clicked by the uservoidprepareData(HashGetter hgFilter) Get field from form, convert (multi)decorder fields and set task parametersConvert dashboard filters in values for notification or wo searchprotected voidprepareMultiDecoderIndicators(LongSet filter) Sets the values for the InputDecoder of average data indicatorsprotected voidDefine initial window stylevoidshowChartAverageTime(HashGetter filter) Build and show indicators chartvoidshowChartAverageTimeDetail(HashGetter params, DBView dbv) Show detail graph of a single indicatorvoidshowChartFailuresNum(HashGetter params, JFCSerie chart, Boolean onlyTop) Plot main chartvoidshowTopChartDetail(HashGetter hgResult, JFCSeriePareto chart) Build and show main graph detail chart with pareto linebooleanShow top average values of indicators chartMethods inherited from class overit.geocallapp.wfm.notifications.dashboard.CDashboardBasic
addCustomFilters, alignDateInterval, calculateDetailInterval, castToLongSet, chartPrinter, checkDatesErrors, checkInput, clearForm, getDateRangesPresets, getInterval, getLabelFromType, getOffsetLabel, getTitle, loadDefaultSearch, loadSearchConfigs, onApplyPreset, onClearDatePresets, onGoToNotificationSearchConfigs, onNotificationSearchConfigChanged, onOpen, onProcessingGraph, onShowDatePresets, onSwitchFilterPanel, process, setUserOperationCenter, showNotifications, showWO, truncateStringMethods inherited from class overit.geocall.basic.ui.Container
alert, applyRule, getBASIC, getBLANK, getHtml, getRO, getROField, onClose, onOpenChildContainer, onRule, prepareName, rulesNewValues, setROField, setValues, setValuesMethods inherited from class overit.geocall.ui.Control
avoidNull, clean, getBadgeFormat, getBadgeValue, getCleaner, getConfigurableProperties, getDAValues, getDBLINK, getKEYLABEL, getLABEL, getState, getTITLE, getValues, getWM, isEnabled, isEnabledBasedOnFunction, isFunctionEnabled, isImportant, isRoBasedOnFunction, nameWithNoFilterPrefix, setALTEVENTICON, setALTICON, setARIADESCRIPTION, setARIALABEL, setBADGEFORMAT, setBADGEVALUE, setBLANK, setCLEANER, setConfiguredProperty, setDBLINK, setENABLED, setFUNCTION, setModelProperties, setRO, setTitle, setTITLEMethods inherited from class overit.geocall.ui.Component
adapt, ajaxQuery, appendAttribute, buildDisplayScript, buildSetupScript, calcKeyLabel, calcLabel, calcShortcut, canBeConfigured, changed, clearConfiguredProperties, componentIterator, componentSize, connect, containerIterator, createAjaxFrame, deprecate, fillSetupScript, generateFlexableFullHeightContainer, generateId, getBoolean, getBoolean, getChildrenComponents, getChildrenContainers, getDefaultLabel, getDefaultLayoutLabel, getEntityContainer, getEntityName, getFullHeight, getGridAlign, getGridCols, getGridRows, getGridVAlign, getHtmlLabel, getHtmlLabel, getIcon, getId, getIdentity, getint, getLayoutLabel, getLayoutName, getNAME, getParentComponent, getParentContainer, getPublishedChildrenList, getRegistryName, getSHORTCUT, getTabIndex, getTeacher, getValuesContainer, getWindow, initChilds, isActivable, isActive, isAliasField, isConfigHidden, isDefaultHidden, isExtendedField, isLabelInLine, onInit, setActivable, setActive, setAliasField, setBASIC, setConfigHidden, setDEFAULTHIDDEN, setEntityName, setExtendedField, setFULLHEIGHT, setGRIDALIGN, setGRIDCOLS, setGRIDROWS, setGRIDVALIGN, setICON, setIdentity, setIMPORTANT, setLabel, setLABEL, setLABELINLINE, setLAYOUTLABEL, setLAYOUTNAME, setNAME, setREGISTRYNAME, setTooltip, setup, setValuesContainer, stringForJs, tabIndexerMethods inherited from class overit.geocall.platform.ui.UINode
addChild, addChildText, getChildren, getNodeId, getParent, getRoot, getSchema, setNodeId, setParent, setSchemaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface overit.geocall.ui.Badgeable
badgeFormat, makeBadgedIcon
-
Field Details
-
_fCharts
-
_pDetails
-
_ncRelCharts
-
_ncRelChartDetail
-
_ncRelChartAverageDetail
-
_jfcMRelMain
-
_jfcMRelMainDetail
-
_jfcMRelAverage
-
_jfcMRelAverageDetail
-
_infoMainChartFailures
-
_infoMainChartFailuresDetail
-
_infoChartAverage
-
_infoChartAverageDetail
-
_acliidDetialChart
-
_lastMainChartClickedBar
protected int _lastMainChartClickedBar -
_lastAverageChartClickedBar
protected int _lastAverageChartClickedBar -
_insertMaphelper
-
_dataList
-
_averageDataManager
-
_averageLegendLabels
-
-
Constructor Details
-
CDashboardMRel
public CDashboardMRel()
-
-
Method Details
-
getLoadTask
Get the task that retrive graph data- Specified by:
getLoadTaskin classCDashboardBasic- Returns:
- DATLoadMRelChartData instance
-
initWindow
protected void initWindow()Description copied from class:CDashboardBasicGet components from xml It must be overrided in subclass- Overrides:
initWindowin classCDashboardBasic
-
setupWindow
protected void setupWindow()Define initial window style- Overrides:
setupWindowin classCDashboardBasic
-
prepareMultiDecoderIndicators
Sets the values for the InputDecoder of average data indicators- Parameters:
filter-
-
customOperationsOnSavedSearchers
Description copied from class:CDashboardBasicExtension for custom operation on saved search application- Overrides:
customOperationsOnSavedSearchersin classCDashboardBasic- Parameters:
hg- saved search params
-
prepareData
Get field from form, convert (multi)decorder fields and set task parameters- Specified by:
prepareDatain classCDashboardBasic- Parameters:
hgFilter-
-
loadChart
Get data from loading task and build the two graphs Task dbvs are managed with specific object to split them on 2 parts, top & not top- Specified by:
loadChartin classCDashboardBasic- Parameters:
hgFilter-
-
groupChartData
Group data for the first graph- Parameters:
dbvChartData-hgFilter-
-
showChartFailuresNum
Plot main chart- Parameters:
params-chart-onlyTop- print only top serie
-
getSerieForChart
Prepare chart data from the data passed on input- Parameters:
params-- Returns:
- HashGetter with chart needed data
-
buildInfoChartFailures
Build the string (html format) to show in the Info button over the graph- Parameters:
hg- contains data used on chart plotwithTopSerie-- Returns:
-
onInfoChart
Show info pop-up for the clicked chart- Parameters:
oParams-- Returns:
-
onPrintChart
Call print chart- Parameters:
oParams-- Returns:
-
onShowMainGraphMenu
Show menù of main chart- Parameters:
uim-
-
onShowTopFailures
Show pareto graph on new panel- Parameters:
uim-- Returns:
-
getSerieTopDetail
Build the pareto serie data from a group object retrived from user bar clicking- Parameters:
group-- Returns:
-
showTopChartDetail
Build and show main graph detail chart with pareto line- Parameters:
hgResult-chart-
-
buildInfoChartFailuresDetail
Build the string (html format) to show in the Info button over Pareto graph- Parameters:
hg- contains data used on chart plot- Returns:
-
onShowInnerPeriod
Get the timeslot rappresented by the clicked bar and launch a new search with a minus level of CHART_TIME- Parameters:
oParams-- Returns:
-
onShowNotifications
Opens notification window to show notifications that occurences in the column clicked by the user- Parameters:
uim-- Returns:
-
onShowWO
Opens WO window to show WO linked with notifications occurred in the column clicked by the user- Parameters:
uim-- Returns:
-
prepareDataForExternalSearch
Description copied from class:CDashboardBasicConvert dashboard filters in values for notification or wo search- Overrides:
prepareDataForExternalSearchin classCDashboardBasic- Parameters:
data- = string form of the data that represents of the column clicked by the user- Returns:
-
onShowMainDetailGraphMenu
Show menù of main detail chart (only when clicking on a column item- Parameters:
uim-
-
onShowNotificationsFromDetails
Opens notification window to show notifications that occurences in the column clicked by the user- Parameters:
uim-- Returns:
-
onShowWOFromDetails
Opens WO window to show WO linked with top notifications occurred in the column clicked by the user- Parameters:
uim-- Returns:
-
displayAverageTimeChart
Check if there are some indicators to show and before call chart builder. If not, clean chart properites- Parameters:
filter-
-
showChartAverageTime
Build and show indicators chart- Parameters:
filter-
-
getSerieAverageTime
Build data for indicatos chart- Parameters:
oParams-dbv-- Returns:
-
buildInfoChartAverage
public boolean buildInfoChartAverage(Boolean isMainChart, String domainLabel, double[] serieMTBF, double[] serieMDT, double[] serieMTTR) Build info string of indicators chart- Parameters:
isMainChart-domainLabel-serieMTBF-serieMDT-serieMTTR-- Returns:
-
onShowTopFailuresAverage
Show detail average graph checking only if top_equipment number != 0- Parameters:
uim-- Returns:
-
showTopFailuresAverage
Show top average values of indicators chart- Parameters:
uim-- Returns:
-
checkNoData
Check if some rows of the passed dbv haven't data to display- Parameters:
dbv-- Returns:
-
onSearchOnCurrentFacility
Launch main search from detail panel options of main chart- Parameters:
uim-- Returns:
-
showChartAverageTimeDetail
Show detail graph of a single indicator- Parameters:
params-dbv-
-
getSerieAverageTimeDetail
Build indicator detail chart data- Parameters:
params-dbv-- Returns:
-
onShowAverageGraphMenu
Show menù of average main chart- Parameters:
uim-
-
onShowInnerAveragePeriod
Get the timeslot rappresented by the clicked point on average chart and launch a new search with a minus level of CHART_TIME- Parameters:
params-- Returns:
-
onShowNotificationsFromAverage
Show notifications that have produced the clicked average time- Parameters:
uim-- Returns:
-
onShowWOFromAverage
Show WO that have produced the clicked average time- Parameters:
uim-- Returns:
-
onShowAverageDetailGraphMenu
Show menù of main detail chart- Parameters:
uim-
-
onShowNotificationsFromAveargeDetails
Opens notification window to show notifications that occurences in the column clicked by the user- Parameters:
uim-- Returns:
-
onShowWOFromAveargeDetails
Opens WO window to show WO linked with top notifications occurred in the column clicked by the user- Parameters:
uim-- Returns:
-
onAverageSearchOnCurrentFacility
Launch main search from detail panel options of average chart- Parameters:
uim-- Returns:
-
onRestore
Description copied from class:ContainerMethod called when is executed theWindowManager.pop(java.lang.Object)of the aboveWindow. It calls the onRestore(o) method of all the Container's childrens -
getMainChartItemEvent
Get the name of the event triggered at main chart column click -
getMainDetailChartItemEvent
Get the name of the event triggered at click on one top element of the top failures chart -
getAverageChartItemEvent
Get the name of the event triggered at average chart point click -
getAverageDetailChartItemEvent
Get the name of the event triggered at click on one top element of the top failures average chart
-