Class CFindNotifications
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.CFindNotifications
- 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 Formprotected Panelprotected Formprotected PlainButtonprotected ColumnButtonprotected ColumnSwitchprotected intprotected overit.geocallapp.wfm.util.DateRangePresetsprotected Formprotected Panelprotected HashGetterprotected Formprotected overit.geocallapp.wfm.util.ContainerHelperprotected HashGetterprotected InputCheckBoxprotected InputOptionprotected Inputprotected Inputprotected InputOptionprotected InputOptionprotected InputOptionprotected InputOptionprotected InputOptionprotected TableViewprotected TableViewprotected NotificationValidatorprotected ServerTableViewprotected intprotected Panelprotected CPanelNewOdlFromNotificationprotected intprotected LongSetprotected List<HashGetter> protected ServerTableViewprotected PlainButtonprotected PlainButtonprotected Formprotected Panelprotected static final Stringprotected static final Stringprotected static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final intprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final LogChannelstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected static final Stringprotected static final Stringprotected static final booleanstatic final Stringstatic final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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 TypeMethodDescriptionprotected booleanbindNotificationsToOdl(List<HashGetter> notifications, HashGetter odl, Long newStatus) protected booleancalculateNotificationPossibleStatus(Long eventID, InputOption inputOption) protected booleanchangeNotificationsStatus(List<HashGetter> notifications, Long newStatus) protected StringcheckBoundNotifications(List<HashGetter> notifications) booleancheckNotificationsToBind(List<HashGetter> notifications) booleancheckNotificationsToUnbind(List<HashGetter> notifications) protected booleancheckOdlsFilters(HashGetter eventData) protected StringcheckUnboundNotifications(List<HashGetter> notifications) protected StringcheckWrongNotificationState(List<HashGetter> notifications) protected voidprotected DBViewvoidprotected overit.geocallapp.wfm.util.DateRangePresetsprotected voidprotected NotificationgetRowNotification(int row) protected booleanisNotificationEditable(Notification notification) protected voidprotected voidloadAnomalyCodes(Long groupId) protected voidprotected voidloadAvailableCreators(HashGetter hgFilter) protected voidprotected voidloadForDashboard(HashGetter filter) protected NotificationloadNotification(Long notificationId, DATLoadNotification.LoadMode loadingMode) protected voidprotected voidloadStv()protected voidloadStv(boolean skipCount, boolean keepPage) protected voidloadWorkCenters(Long afilId) booleanonApplyPreset(UIMessage uim) booleanonBindOdl(HashGetter params) booleanonBindOdls(HashGetter params) booleanonBindOdlsClose(HashGetter eventData) booleanonBindOdlsSave(HashGetter eventData) booleanonCancelNotification(HashGetter params) booleanonChangePlant(HashGetter eventData) booleanonChangeSearchAnomalyGroup(HashGetter eventData) booleanonChangeStatus(HashGetter params) booleanonChangeStatusClose(HashGetter eventData) booleanonChangeStatusSave(HashGetter eventData) booleanonChangeWorkCenter(HashGetter eventData) booleanbooleanonCloseNotification(HashGetter params) booleanonConfirmAndTakeInCharge(HashGetter eventData) booleanonFilterTab(HashGetter eventData) booleanonFind(HashGetter eventData) booleanonFind(HashGetter eventData, boolean skipCount, boolean keepPage) booleanonFindOdlsOnBinding(HashGetter eventData) booleanonGoToNotificationSearchConfigs(HashGetter eventData) booleanonMenu(HashGetter eventData) booleanbooleanonNewNotification(HashGetter eventData) booleanonNewNotificationLight(HashGetter eventData) booleanonNewNotificationSaveAndExit(HashGetter eventData) booleanvoidMethod called when is executed theWindowManager.push(overit.geocall.basic.ui.Window, java.lang.Object)of theWindowthat contains the Container.booleanonPresaInCarico(HashGetter eventData) booleanonRefresh(HashGetter eventData) voidMethod called when is executed theWindowManager.pop(java.lang.Object)of the aboveWindow.booleanonRowClick(UIMessage uim) booleanonSelectedCurrentUser(HashGetter eventData) booleanonSelectedOdlBound(HashGetter eventData) booleanonSelectedUtenzaImpianto(HashGetter eventData) voidbooleanbooleanonTableMenu(HashGetter params) booleanonTakeChargeNotification(HashGetter params) booleanonUnbindOdl(HashGetter params) booleanonUnbindOdls(HashGetter params) booleanonUnbindOdlsClose(HashGetter eventData) booleanonUnbindOdlsSave(HashGetter eventData) booleanbooleanonViewOdl(HashGetter params) protected voidprotected voidprotected voidpreSelectStatusLookup(Form form, InputOption inputOption) protected voidprotected voidprotected voidprotected voidprotected voidshowWarningAlert(String msg) protected voidbooleantakeInChargeNotification(Notification notification) protected booleantakeInChargeOdl(Long odlId) protected booleantakeInChargeOdl(Long odlId, boolean showErrorMessages) protected booleanunbindNotificationsFromOdl(List<HashGetter> notifications, Long newStatus) Methods 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
-
E_NOTIFICATIONS_LOAD
- See Also:
-
E_NOTIFICATIONS_ODL_ASSOCIATION
- See Also:
-
E_NOTIFICATIONS_ODL_REMOVAL
- See Also:
-
E_NOTIFICATIONS_STATUS_CHANGE
- See Also:
-
W_NO_NOTIFICATION
- See Also:
-
W_NO_NOTIFICATION_WPARAMS
- See Also:
-
W_NO_NOTIFICATION_SELECTED
- See Also:
-
W_NO_NOTIFICATION_SELECTED_SELECT_ONE
- See Also:
-
W_NOTIFICATION_STATUS_CHANGE_NOT_UNIQUE
- See Also:
-
W_NO_ODL_SELECTED
- See Also:
-
W_ALREADY_ASSOCIATED_NOTIFICATIONS
- See Also:
-
W_NOT_ASSOCIATED_NOTIFICATIONS
- See Also:
-
W_CANNOT_ASSOCIATE_ODL
- See Also:
-
W_NOTIFICATION_NOT_FOUND
- See Also:
-
M_NOTIFICATION_CREATED
- See Also:
-
M_NOTIFICATION_CODE_ASSOCIATED
- See Also:
-
M_ODL_ASSOCIATION
- See Also:
-
M_ODL_ASSOCIATION_REMOVAL
- See Also:
-
M_MODIFY_NOTIFICATION
- See Also:
-
M_VIEW_NOTIFICATION
- See Also:
-
M_VIEW_ASSOCIATED_ODL
- See Also:
-
M_SELECTED_NOTIFICATIONS
- See Also:
-
M_NOTIFICATION_DETAILS
- See Also:
-
M_ODL_NOTIFICATIONS_LIST
- See Also:
-
M_NOTIFICATIONS_LIST
- See Also:
-
RIGHT_DOCK_RN
- See Also:
-
RIGHT_DOCK_BUTTON_RN
- See Also:
-
FILTER_PANEL_RN
- See Also:
-
FILTER_FORM_RN
- See Also:
-
TABLE_AVVISI_RN
- See Also:
-
TM_NEW_NOTIFICATION_RN
- See Also:
-
TM_NEW_NOTIFICATION_LIGHT_RN
- See Also:
-
IO_WORK_CENTERS_RN
- See Also:
-
IO_CREATOR_RN
- See Also:
-
BIND_ODLS_PANEL_RN
- See Also:
-
BIND_ODLS_SEARCH_FORM_RN
- See Also:
-
BIND_ODLS_FORM_RN
- See Also:
-
TABLE_ODLS_FOR_BINDING_RN
- See Also:
-
IO_NEW_BINDING_STATUS_RN
- See Also:
-
UNBIND_ODLS_PANEL_RN
- See Also:
-
UNBIND_ODLS_FORM_RN
- See Also:
-
TABLE_NOTIFICATIONS_FOR_UNBINDING_RN
- See Also:
-
ICB_SEARCH_ON_STRUCT_RN
- See Also:
-
I_ODL_CODE_RN
- See Also:
-
I_ODL_EXT_CODE_RN
- See Also:
-
IO_SAVED_SEARCHES_RN
- See Also:
-
IO_NOTIF_STATUS_ASSOCIATE
- See Also:
-
IO_NOTIF_STATUS_DISASSOCIATE
- See Also:
-
IO_NOTIF_STATUS_CHANGE
- See Also:
-
TABLE_NOTIFICATIONS_FOR_STATUS_CHANGE
- See Also:
-
FORM_CHANGE_STATUS
- See Also:
-
PANEL_CHANGE_STATUS
- See Also:
-
PANEL_NEW_ODL
- See Also:
-
FROM_TESTATA_ODL
protected static final int FROM_TESTATA_ODL- See Also:
-
QUERY_AFTER_SEARCH_CHANGE
protected static final boolean QUERY_AFTER_SEARCH_CHANGE- See Also:
-
RELOAD_NOTIFICATIONS
- See Also:
-
NEW_NOTIFICATION_CODE
- See Also:
-
RELOAD_SEARCH_CONFIGS
- See Also:
-
_helper
protected overit.geocallapp.wfm.util.ContainerHelper _helper -
_btnRightDock
-
_filterPanel
-
_filterForm
-
_stvListaAvvisi
-
_tmNewNotification
-
_tmNewNotificationLight
-
_csPresaInCarico
-
_cbAnnulla
-
_ioWorkCenters
-
_ioCreator
-
_bindOdlsPanel
-
_bindOdlsForm
-
_bindOdlsSearchForm
-
_odlsForBindingTable
-
_unbindOdlsPanel
-
_unbindOdlsForm
-
_notificationsForUnbindingTable
-
_icbOnStructure
-
_iOdlCode
-
_iOdlExtCode
-
_ioSavedSearches
-
_ioNotifStatusAssociate
-
_ioNotifStatusDisassociate
-
_ioNotifStatusChange
-
_notificationsForChangeTable
-
_formChangeStatus
-
_panelChangeStatus
-
_panelNewOdl
-
_notificationValidator
-
_dateRangePresets
protected overit.geocallapp.wfm.util.DateRangePresets _dateRangePresets -
_openMode
protected int _openMode -
_findParams
-
_hgRow
-
_currRow
protected int _currRow -
_selectedIds
-
_selectedNotifications
-
_push
protected int _push -
LOG
-
-
Constructor Details
-
CFindNotifications
public CFindNotifications()
-
-
Method Details
-
onOpen
Description copied from class:ContainerMethod called when is executed theWindowManager.push(overit.geocall.basic.ui.Window, java.lang.Object)of theWindowthat contains the Container. It calls the onOpen(o) method of all the Container's childrens.
If a page is opened through the process of a route, it is possible that the route was called with params to pass to the page.
The route params could be passed specifying them like query string's param on the url, using commas or the '=' character, to separate the keys and the values. Valid syntaxs are: "¶ms=KEY1,VAL1,KEY2,VAL2" or "¶ms=KEY1=VAL1,KEY2=VAL2"
In that case it is possible to retrieve those params via theWindowManager.getRouteParams()method that returns anHashGetterwith the params passed as parameters.
For example it's possible to retrieve and use the params in this way:HashGetter hg = getWM().getRouteParams();
String val1 = hg.getString("key1",null);
String val2 = hg.getString("key2",null); -
loadDefaultSearch
protected void loadDefaultSearch() -
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 -
preselectOperatioCenter
protected void preselectOperatioCenter() -
loadWorkCenters
-
loadAvailableCreators
-
loadAnomalyGroups
protected void loadAnomalyGroups() -
onChangeSearchAnomalyGroup
-
loadAllAnomalyCodes
protected void loadAllAnomalyCodes() -
loadAnomalyCodes
-
onChangePlant
-
onChangeWorkCenter
-
onSelectedCurrentUser
-
onFilterTab
-
showFilterPanel
protected void showFilterPanel() -
onNewNotification
-
onNewNotificationLight
-
onNewNotificationSaveAndExit
-
onRowClick
-
onModifyNotification
-
onViewNotification
-
onPresaInCarico
-
openEditWindow
-
onSelectedUtenzaImpianto
-
onSelectedOdlBound
-
onFind
-
onFind
-
onTableMenu
-
onMenu
-
getRowNotification
-
isNotificationEditable
-
onChangeStatus
-
showChangeStatusPanel
protected void showChangeStatusPanel() -
onChangeStatusClose
-
onChangeStatusSave
-
onBindOdl
-
onBindOdls
-
calculateNotificationPossibleStatus
-
showBindOdlsPanel
protected void showBindOdlsPanel() -
onBindOdlsSave
-
onBindOdlsClose
-
checkNotificationsToBind
-
showWarningAlert
-
showWarningAlertUnbind
-
checkBoundNotifications
-
checkUnboundNotifications
-
checkWrongNotificationState
-
onFindOdlsOnBinding
-
checkOdlsFilters
-
onUnbindOdl
-
onUnbindOdls
-
checkNotificationsToUnbind
-
showUnbindOdlsPanel
protected void showUnbindOdlsPanel() -
createSelectedNotificationsDbv
-
onUnbindOdlsSave
-
onUnbindOdlsClose
-
preSelectStatusLookup
-
onTakeChargeNotification
-
loadNotification
protected Notification loadNotification(Long notificationId, DATLoadNotification.LoadMode loadingMode) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
takeInChargeNotification
-
onConfirmAndTakeInCharge
-
takeInChargeOdl
-
takeInChargeOdl
-
onCancelNotification
-
onCloseNotification
-
onViewOdl
-
loadSearchConfigs
protected void loadSearchConfigs() -
onGoToNotificationSearchConfigs
-
onNotificationSearchConfigChanged
-
checkFilters
-
customFilters
public void customFilters() -
loadStv
protected void loadStv() -
loadStv
protected void loadStv(boolean skipCount, boolean keepPage) -
enableNoOpCenterResearch
protected void enableNoOpCenterResearch() -
bindNotificationsToOdl
protected boolean bindNotificationsToOdl(List<HashGetter> notifications, HashGetter odl, Long newStatus) -
unbindNotificationsFromOdl
-
changeNotificationsStatus
-
clearForm
-
dateRangesPresets
protected overit.geocallapp.wfm.util.DateRangePresets dateRangesPresets() -
onShowDatePresets
-
onApplyPreset
-
onClearDatePresets
-
onRefresh
-
onSelectToDecode
-
loadForDashboard
-