Class PanelNewNotificationLight

All Implemented Interfaces:
Serializable, overit.geocall.marks.MethodExposer, overit.geocall.marks.NameExposer, AjaxableComponent, Badgeable, Hideable, Identified, Tool, overit.geocall.ux.configurability.UIConfigurable, overit.geocall.ux.edm.ModelConfigurable, NotificationForm

public class PanelNewNotificationLight extends Panel implements NotificationForm
See Also:
  • Field Details

  • Constructor Details

    • PanelNewNotificationLight

      public PanelNewNotificationLight()
  • 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
    • show

      public void show(Serializable obj)
      Description copied from class: Panel
      It shows (make visible with the pop-up effect) the panel
      Overrides:
      show in class Panel
      Parameters:
      obj - serializable object saved as a global variable of the panel
    • preselectNotificationType

      protected boolean preselectNotificationType()
    • updateWindowForNotificationType

      protected void updateWindowForNotificationType(Long typeid)
    • initNotification

      protected void initNotification()
    • getEwoDefaultPriority

      protected Long getEwoDefaultPriority()
    • loadNotification

      protected void loadNotification()
    • updateNotificationStatuses

      protected void updateNotificationStatuses()
    • loadNotificationStatus

      protected void loadNotificationStatus(Long notificationEventId)
    • loadRowsTipiCatalogo

      protected void loadRowsTipiCatalogo()
    • loadSubRowsTipiCatalogoCausa

      protected void loadSubRowsTipiCatalogoCausa()
    • loadTipiCatalogo

      protected DBView loadTipiCatalogo(Long lTipoCatalogo)
    • onChangeTipoOggetto

      public boolean onChangeTipoOggetto(HashGetter eventData)
    • onChangeTipoAnomalia

      public boolean onChangeTipoAnomalia(HashGetter eventData)
    • onChangeTipoCausaSubRow

      public boolean onChangeTipoCausaSubRow(HashGetter eventData)
    • onChangeGruppoOggetto

      public boolean onChangeGruppoOggetto(HashGetter eventData)
    • onChangeGruppoAnomalia

      public boolean onChangeGruppoAnomalia(HashGetter eventData)
    • onChangeGruppoCausaSubRow

      public boolean onChangeGruppoCausaSubRow(HashGetter eventData)
    • loadGruppiCatalogo

      protected DBView loadGruppiCatalogo(Long tipoProfilo, Long tTipoCatalogo)
    • loadCodiciCatalogo

      protected DBView loadCodiciCatalogo(Long gruppoCatalogo)
    • preselectOggettoLookups

      protected void preselectOggettoLookups()
    • preselectAnomaliaLookups

      protected void preselectAnomaliaLookups()
    • preselectCausaLookups

      protected void preselectCausaLookups()
    • onSelectedUtenzaImpianto

      public boolean onSelectedUtenzaImpianto(HashGetter eventData)
    • loadTechnicalObject

      protected HashGetter loadTechnicalObject()
    • updateTcdlSelection

      protected void updateTcdlSelection()
    • onChangeTipoAvviso

      public boolean onChangeTipoAvviso(HashGetter eventData)
    • prepareNotification

      protected void prepareNotification()
    • prepareNotification

      protected void prepareNotification(boolean forceCreateRow)
    • onNewNotificationSave

      public boolean onNewNotificationSave(HashGetter eventData)
    • onNewNotificationSaveAndExit

      public boolean onNewNotificationSaveAndExit(HashGetter eventData)
    • saveNotification

      protected boolean saveNotification(Notification notification)
    • fillDowntimeDates

      protected void fillDowntimeDates(HashGetter hgNotification)
    • updateProfiloCatalogo

      protected boolean updateProfiloCatalogo()
    • findProfiloCatalogo

      protected Long findProfiloCatalogo()
    • setAcliId

      public void setAcliId(Long acliId)
    • setEwo

      public void setEwo(overit.geocallapp.wfm.emergencyworkorders.ewo.Ewo ewo)
    • getNotificationId

      public Long getNotificationId()
    • onChangeCentroOperativo

      public boolean onChangeCentroOperativo(HashGetter eventData)
    • loadWorkCenters

      protected void loadWorkCenters(Long afilId)
    • initCreationDate

      protected void initCreationDate(Long afilId)
    • onChangePriority

      public boolean onChangePriority(HashGetter eventData)
    • onChangeReporter

      public boolean onChangeReporter(HashGetter eventData)
    • setElementVisibility

      public void setElementVisibility(boolean visibility, String elementName)
      Specified by:
      setElementVisibility in interface NotificationForm
      Parameters:
      visibility - true to show the element, false otherwise
      elementName - the name of the element to which change the visibility
    • setElementEditability

      public void setElementEditability(boolean editable, String elementName)
      Specified by:
      setElementEditability in interface NotificationForm
      Parameters:
      editable - true to allow the editing, false to deny1 it
      elementName - the name of the element to which change the read only status
    • setElementMandatory

      public void setElementMandatory(boolean mandatory, String elementName)
      Specified by:
      setElementMandatory in interface NotificationForm
      Parameters:
      mandatory - true if the element is mandatory, false otherwise
      elementName - the name of the element to which change not null status
    • doFormManagerAction

      public void doFormManagerAction(int action, boolean value, String elementName)
    • doFormManagerAction

      public void doFormManagerAction(int action, boolean value, Control... controls)
    • getAvailableElementNames

      public Collection<String> getAvailableElementNames()
      Specified by:
      getAvailableElementNames in interface NotificationForm
      Returns:
      the Collection of elements that compose this form