Class CDashboardStruggleFailure
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.strugglefailures.CDashboardStruggleFailure
- 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 List<NotificationGroupManager> protected Formprotected Stringprotected Stringprotected StruggleGroupManager[]protected Booleanprotected JFCSerieParetoprotected JFCSerieParetoprotected JFCSerieprotected intprotected intprotected intprotected intprotected Panelprotected Long[]protected ServerMultiFormFields 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 TypeMethodDescriptionbooleanbuildInfoChartFailures(HashGetter hgSeries, 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 BooleanCheck if the bar/point clicked by the user is a valid point for some eventprotected StringgetChartSerieLabel(int index) Get axis label for each serieprotected 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 clickprotected HashGettergetMainSerie(HashGetter oParams) Gets data for plotting chart from the Notification Managerprotected StringgetOffsetLabel(Double maxValue, double[] serie) Common method to generate weighted offset for labelsprotected HashGetterBuild the pareto serie data from a group object retrived from user bar clickingvoidgroupChartData(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 graphbooleanonInfoChart(HashGetter oParams) Show chart data infobooleanonPrintChart(HashGetter oParams) Print chartsvoidMethod 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 chart (only when clicking on a column item)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 userbooleanonShowInnerPeriod(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 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 userbooleanShow pareto graph on new panelbooleanOpens 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 userbooleanonSwitchChart(HashGetter params) Switch top chart beetween analized failures and not analized failuresvoidprepareData(HashGetter hgFilter) Get field from form, convert (multi)decorder fields and set task parametersprotected voidDefine initial window stylevoidshowDetailChart(HashGetter hgResult, JFCSeriePareto chart) Build and show main graph detail chart with pareto linebooleanshowEWO(HashGetter filter) Use filter hashgetter to retrive wo and push research ewo window with themvoidshowMainChartSF(HashGetter params, Boolean onlyTop) Plot main chartMethods inherited from class overit.geocallapp.wfm.notifications.dashboard.CDashboardBasic
addCustomFilters, alignDateInterval, calculateDetailInterval, castToLongSet, chartPrinter, checkDatesErrors, checkInput, clearForm, customOperationsOnSavedSearchers, getDateRangesPresets, getInterval, getLabelFromType, getTitle, loadDefaultSearch, loadSearchConfigs, onApplyPreset, onClearDatePresets, onGoToNotificationSearchConfigs, onNotificationSearchConfigChanged, onOpen, onProcessingGraph, onShowDatePresets, onSwitchFilterPanel, prepareDataForExternalSearch, 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
-
_smfDashBBoardSFCharts
-
_jfcSFMain
-
_jfcSFDetail
-
_jfcSFDetailNotAnalized
-
_insertManagers
-
_insertMapNotAnalized
-
_dataListNotAnalized
-
_infoMainChart
-
_infoDetailChart
-
_selectedAcliId
-
_lastClickedSerie
protected int _lastClickedSerie -
_lastClickedBar
protected int _lastClickedBar -
_lastDetailClickedColumn
protected int _lastDetailClickedColumn -
_lastDetailClickedRow
protected int _lastDetailClickedRow -
_isAnalizedPanel
-
-
Constructor Details
-
CDashboardStruggleFailure
public CDashboardStruggleFailure()
-
-
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
-
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 graph- Specified by:
loadChartin classCDashboardBasic- Parameters:
hgFilter-
-
groupChartData
Group data for the first graph- Parameters:
hgFilter-
-
showMainChartSF
Plot main chart- Parameters:
params-onlyTop- print only top serie
-
getChartSerieLabel
Get axis label for each serie- Parameters:
index-- Returns:
-
getMainSerie
Gets data for plotting chart from the Notification Manager- Parameters:
oParams-- Returns:
-
getMainChartItemEvent
Get the name of the event triggered at main chart column click -
buildInfoChartFailures
Build the string (html format) to show in the Info button over the graph- Parameters:
hgSeries- contains data used on chart plotwithTopSerie-- Returns:
-
onPrintChart
Print charts- Parameters:
oParams-- Returns:
-
onInfoChart
Show chart data info- Parameters:
oParams-- 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 -
onShowMainGraphMenu
Show menù of main chart- Parameters:
uim-
-
checkUserClick
Check if the bar/point clicked by the user is a valid point for some event- 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:
-
onShowEWO
Opens WO window to show WO linked with notifications occurred in the column clicked by the user- Parameters:
uim-- Returns:
-
showEWO
Use filter hashgetter to retrive wo and push research ewo window with them- Parameters:
filter-- 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:
-
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:
-
showDetailChart
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:
-
getDetailChartItemEvent
Get the name of the event triggered at click on one top element of the top failures chart -
onShowDetailGraphMenu
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:
-
onShowEWOFromDetails
Opens WO window to show WO linked with top notifications occurred in the column clicked by the user- Parameters:
uim-- Returns:
-
onSearchOnCurrentFacility
Launch main search from detail panel options of main chart- Parameters:
uim-- Returns:
-
onSwitchChart
Switch top chart beetween analized failures and not analized failures- Parameters:
params-- Returns:
-
getOffsetLabel
Description copied from class:CDashboardBasicCommon method to generate weighted offset for labels- Overrides:
getOffsetLabelin classCDashboardBasic- Parameters:
maxValue-serie-- Returns:
-