Class CDashboardFailureInvestigation
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.failureinvestigation.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
- 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 DATLoadFailureInvestigationprotected HashGetterprotected HashGetterprotected Formprotected FailureInvestigationDashboardManagerprotected Stringprotected Stringprotected JFCSerieprotected JFCSerieprotected intprotected Stringprotected Stringprotected Stringprotected Stringprotected ServerMultiFormFields inherited from class overit.geocallapp.wfm.notifications.dashboard.CDashboardBasic
_chartPrinter, _const, _dateRangePresets, _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 TypeMethodDescriptionvoidbuildInfoChartFailures(Boolean isMain) Build the string used as text on Info buttonprotected BooleancheckInput(HashGetter hg) Check notifications input datesvoidClear detail chart and set it invisiblevoidClear main chartvoidBuild graphsprotected StringgetDatesRangeFromLabel(String label) protected StringGet the name of the event triggered at click on one top element of the top failures chartprotected DATaskGet the task that retrive graph dataprotected StringGet the name of the event triggered at main chart column clickgetSerie(HashGetter filter, DBView dataToShow, Boolean isGroup) Build the hashgetter used for plotting graphSet title for detail chartprotected voidGet components from xml It must be overrided in subclassvoidloadChart(HashGetter hg) Launch the main task and group his result before plot the graphprotected voidmaximizeDateInterval(HashGetter oParams) Maximize search interval data values from 00.00 to 23.59booleanonChangeGraphInterval(HashGetter params) Set new grouping range on secondary graph and update his titlebooleanonChangeGraphLevel(HashGetter params) booleanonChangeGroupingOptions(HashGetter params) booleanonChangeIntervalOptions(HashGetter params) booleanonInfoChart(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.voidShow detail chart menù after clicking on a columnbooleanOpens Notification window to show notifications occurred in the column clickedbooleanonShowDetailWO(UIMessage uim) Opens WO window to show WO linked with notifications occurred in the column clickedvoidShow main chart menù after clicking on a columnbooleanOpens Notification window to show notifications occurred in the column clickedbooleanonShowMainWO(UIMessage uim) Opens WO window to show WO linked with notifications occurred in the column clickedvoidBuild default secondary graph after click on main barvoidprepareData(HashGetter hgFilter) voidprocess(HashGetter hg) Gets form data on input and display graphvoidsetSecondaryChartLabelRange(int row) Set data range of secondary graphprotected voidsetSecondaryGraphTitleSuffix(Long range) Set a string tha indicates the grouping type of the secondary graphprotected voidDefine initial window styleprotected voidShow detail graphvoidshowDetails(int originalRow, Long level) Methods inherited from class overit.geocallapp.wfm.notifications.dashboard.CDashboardBasic
addCustomFilters, alignDateInterval, calculateDetailInterval, castToLongSet, chartPrinter, checkDatesErrors, clearForm, customOperationsOnSavedSearchers, getDateRangesPresets, getInterval, getLabelFromType, getOffsetLabel, getTitle, loadDefaultSearch, loadSearchConfigs, onApplyPreset, onClearDatePresets, onGoToNotificationSearchConfigs, onNotificationSearchConfigChanged, onOpen, onProcessingGraph, onShowDatePresets, onSwitchFilterPanel, prepareDataForExternalSearch, 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
-
_smfDashBBoardFICharts
-
_displayedDataMain
-
_displayedDataDetail
-
_datLoadChart
-
_fiManager
-
_jfcFIMain
-
_jfcFIMainDetail
-
_infoChartFailuresMain
-
_infoChartFailuresDetail
-
_secondaryChartSuffix
-
_secondaryChartRange
-
_referenceLabelDetailChart
-
_referenceGroupDetailChart
-
_lastClickedColumn
protected int _lastClickedColumn
-
-
Constructor Details
-
CDashboardFailureInvestigation
public CDashboardFailureInvestigation()
-
-
Method Details
-
getLoadTask
Description copied from class:CDashboardBasicGet the task that retrive graph data- Specified by:
getLoadTaskin classCDashboardBasic
-
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
-
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 -
onInfoChart
Show info pop-up for the clicked chart- Parameters:
oParams-- Returns:
-
onPrintChart
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
Check notifications input dates- Overrides:
checkInputin classCDashboardBasic- Parameters:
hg-- Returns:
-
maximizeDateInterval
Maximize search interval data values from 00.00 to 23.59- Parameters:
oParams-
-
process
Description copied from class:CDashboardBasicGets form data on input and display graph- Overrides:
processin classCDashboardBasic
-
prepareData
- Specified by:
prepareDatain classCDashboardBasic
-
loadChart
Launch the main task and group his result before plot the graph- Specified by:
loadChartin classCDashboardBasic
-
getSerie
Build the hashgetter used for plotting graph- Parameters:
filter- paramsdataToShow-isGroup-- Returns:
-
drawChart
Build graphs- Parameters:
chart-isMain-
-
onShowSecondaryChart
Build default secondary graph after click on main bar- Parameters:
uim-
-
showDetails
-
onChangeGroupingOptions
-
onChangeIntervalOptions
-
onChangeGraphLevel
-
onChangeGraphInterval
Set new grouping range on secondary graph and update his title- Parameters:
params-- Returns:
-
onShowMainGraphMenu
Show main chart menù after clicking on a column- Parameters:
uim-
-
onShowDetailGraphMenu
Show detail chart menù after clicking on a column- Parameters:
uim-
-
buildInfoChartFailures
Build the string used as text on Info button- Parameters:
isMain-
-
setSecondaryGraphTitleSuffix
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
-
getTitleSecondaryChart
Set title for detail chart- Returns:
-
getMainChartItemEvent
Get the name of the event triggered at main chart column click -
getDetailChartItemEvent
Get the name of the event triggered at click on one top element of the top failures chart -
onShowMainNotifications
Opens Notification window to show notifications occurred in the column clicked- Parameters:
uim-- Returns:
-
onShowMainWO
Opens WO window to show WO linked with notifications occurred in the column clicked- Parameters:
uim-- Returns:
-
onShowDetailNotifications
Opens Notification window to show notifications occurred in the column clicked- Parameters:
uim-- Returns:
-
onShowDetailWO
Opens WO window to show WO linked with notifications occurred in the column clicked- Parameters:
uim-- Returns:
-