Class 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

public class CFindNotifications extends Container
See Also:
  • Field Details

  • Constructor Details

    • CFindNotifications

      public CFindNotifications()
  • Method Details

    • onOpen

      public void onOpen(Object o)
      Description copied from class: Container
      Method called when is executed the WindowManager.push(overit.geocall.basic.ui.Window, java.lang.Object) of the Window that 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: "&params=KEY1,VAL1,KEY2,VAL2" or "&params=KEY1=VAL1,KEY2=VAL2"
      In that case it is possible to retrieve those params via the WindowManager.getRouteParams() method that returns an HashGetter with 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);
      Overrides:
      onOpen in class Container
      Parameters:
      o - Object received from the caller
    • loadDefaultSearch

      protected void loadDefaultSearch()
    • 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
    • preselectOperatioCenter

      protected void preselectOperatioCenter()
    • loadWorkCenters

      protected void loadWorkCenters(Long afilId)
    • loadAvailableCreators

      protected void loadAvailableCreators(HashGetter hgFilter)
    • loadAnomalyGroups

      protected void loadAnomalyGroups()
    • onChangeSearchAnomalyGroup

      public boolean onChangeSearchAnomalyGroup(HashGetter eventData)
    • loadAllAnomalyCodes

      protected void loadAllAnomalyCodes()
    • loadAnomalyCodes

      protected void loadAnomalyCodes(Long groupId)
    • onChangePlant

      public boolean onChangePlant(HashGetter eventData)
    • onChangeWorkCenter

      public boolean onChangeWorkCenter(HashGetter eventData)
    • onSelectedCurrentUser

      public boolean onSelectedCurrentUser(HashGetter eventData)
    • onFilterTab

      public boolean onFilterTab(HashGetter eventData)
    • showFilterPanel

      protected void showFilterPanel()
    • onNewNotification

      public boolean onNewNotification(HashGetter eventData)
    • onNewNotificationLight

      public boolean onNewNotificationLight(HashGetter eventData)
    • onNewNotificationSaveAndExit

      public boolean onNewNotificationSaveAndExit(HashGetter eventData)
    • onRowClick

      public boolean onRowClick(UIMessage uim)
    • onModifyNotification

      public boolean onModifyNotification(UIMessage uim)
    • onViewNotification

      public boolean onViewNotification(UIMessage uim)
    • onPresaInCarico

      public boolean onPresaInCarico(HashGetter eventData)
    • openEditWindow

      protected void openEditWindow(HashGetter hg)
    • onSelectedUtenzaImpianto

      public boolean onSelectedUtenzaImpianto(HashGetter eventData)
    • onSelectedOdlBound

      public boolean onSelectedOdlBound(HashGetter eventData)
    • onFind

      public boolean onFind(HashGetter eventData)
    • onFind

      public boolean onFind(HashGetter eventData, boolean skipCount, boolean keepPage)
    • onTableMenu

      public boolean onTableMenu(HashGetter params)
    • onMenu

      public boolean onMenu(HashGetter eventData)
    • getRowNotification

      protected Notification getRowNotification(int row)
    • isNotificationEditable

      protected boolean isNotificationEditable(Notification notification)
    • onChangeStatus

      public boolean onChangeStatus(HashGetter params)
    • showChangeStatusPanel

      protected void showChangeStatusPanel()
    • onChangeStatusClose

      public boolean onChangeStatusClose(HashGetter eventData)
    • onChangeStatusSave

      public boolean onChangeStatusSave(HashGetter eventData)
    • onBindOdl

      public boolean onBindOdl(HashGetter params)
    • onBindOdls

      public boolean onBindOdls(HashGetter params)
    • calculateNotificationPossibleStatus

      protected boolean calculateNotificationPossibleStatus(Long eventID, InputOption inputOption)
    • showBindOdlsPanel

      protected void showBindOdlsPanel()
    • onBindOdlsSave

      public boolean onBindOdlsSave(HashGetter eventData)
    • onBindOdlsClose

      public boolean onBindOdlsClose(HashGetter eventData)
    • checkNotificationsToBind

      public boolean checkNotificationsToBind(List<HashGetter> notifications)
    • showWarningAlert

      protected void showWarningAlert(String msg)
    • showWarningAlertUnbind

      protected void showWarningAlertUnbind(String msg)
    • checkBoundNotifications

      protected String checkBoundNotifications(List<HashGetter> notifications)
    • checkUnboundNotifications

      protected String checkUnboundNotifications(List<HashGetter> notifications)
    • checkWrongNotificationState

      protected String checkWrongNotificationState(List<HashGetter> notifications)
    • onFindOdlsOnBinding

      public boolean onFindOdlsOnBinding(HashGetter eventData)
    • checkOdlsFilters

      protected boolean checkOdlsFilters(HashGetter eventData)
    • onUnbindOdl

      public boolean onUnbindOdl(HashGetter params)
    • onUnbindOdls

      public boolean onUnbindOdls(HashGetter params)
    • checkNotificationsToUnbind

      public boolean checkNotificationsToUnbind(List<HashGetter> notifications)
    • showUnbindOdlsPanel

      protected void showUnbindOdlsPanel()
    • createSelectedNotificationsDbv

      protected DBView createSelectedNotificationsDbv()
    • onUnbindOdlsSave

      public boolean onUnbindOdlsSave(HashGetter eventData)
    • onUnbindOdlsClose

      public boolean onUnbindOdlsClose(HashGetter eventData)
    • preSelectStatusLookup

      protected void preSelectStatusLookup(Form form, InputOption inputOption)
    • onTakeChargeNotification

      public boolean onTakeChargeNotification(HashGetter params)
    • loadNotification

      protected Notification loadNotification(Long notificationId, DATLoadNotification.LoadMode loadingMode) throws DAException, DAValidateException
      Throws:
      DAException
      DAValidateException
    • takeInChargeNotification

      public boolean takeInChargeNotification(Notification notification)
    • onConfirmAndTakeInCharge

      public boolean onConfirmAndTakeInCharge(HashGetter eventData)
    • takeInChargeOdl

      protected boolean takeInChargeOdl(Long odlId)
    • takeInChargeOdl

      protected boolean takeInChargeOdl(Long odlId, boolean showErrorMessages)
    • onCancelNotification

      public boolean onCancelNotification(HashGetter params)
    • onCloseNotification

      public boolean onCloseNotification(HashGetter params)
    • onViewOdl

      public boolean onViewOdl(HashGetter params)
    • loadSearchConfigs

      protected void loadSearchConfigs()
    • onGoToNotificationSearchConfigs

      public boolean onGoToNotificationSearchConfigs(HashGetter eventData)
    • onNotificationSearchConfigChanged

      public boolean onNotificationSearchConfigChanged(HashGetter hg)
    • checkFilters

      public Alert 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

      protected boolean unbindNotificationsFromOdl(List<HashGetter> notifications, Long newStatus)
    • changeNotificationsStatus

      protected boolean changeNotificationsStatus(List<HashGetter> notifications, Long newStatus)
    • clearForm

      protected void clearForm(Form searchForm)
    • dateRangesPresets

      protected overit.geocallapp.wfm.util.DateRangePresets dateRangesPresets()
    • onShowDatePresets

      public boolean onShowDatePresets(UIMessage uim)
    • onApplyPreset

      public boolean onApplyPreset(UIMessage uim)
    • onClearDatePresets

      public boolean onClearDatePresets(UIMessage uim)
    • onRefresh

      public boolean onRefresh(HashGetter eventData)
    • onSelectToDecode

      public void onSelectToDecode(HashGetter hg)
    • loadForDashboard

      protected void loadForDashboard(HashGetter filter)