java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.Container
overit.geocallapp.wfm.schedulazione.odl.CTestataOdl
overit.geocallapp.wfm.core.ux.workorder.edit.WOHeader
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 WOHeader extends overit.geocallapp.wfm.schedulazione.odl.CTestataOdl
Work order header edit page
Since:
9.2
See Also:
GCApi:
controller
  • Constructor Details

    • WOHeader

      public WOHeader()
  • 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
    • onSelectTechnicalObject

      public boolean onSelectTechnicalObject(UIMessage uim)
      UI event handler to select work order technical object.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.
    • restoreWorkOrder

      @Deprecated protected void restoreWorkOrder()
      Deprecated.
      Overrides:
      restoreWorkOrder in class overit.geocallapp.wfm.schedulazione.odl.CTestataOdl
    • selectTechnicalObject

      protected void selectTechnicalObject(Long techObjId)
    • onViewTechnicalObject

      public boolean onViewTechnicalObject(UIMessage uim)
      UI event handler to view all technical object details.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.
    • viewTechnicalObject

      protected void viewTechnicalObject()
    • onSelectTechnicalObjectType

      public boolean onSelectTechnicalObjectType(UIMessage uim)
      UI event handler to select the technical object type.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.
    • onSelectRequestType

      public boolean onSelectRequestType(UIMessage uim)
      UI event handler to select the request type.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.
    • onSelectServiceType

      public boolean onSelectServiceType(UIMessage uim)
      UI event handler to select the service type.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.
    • resetWoOperationOnChangeHeaderType

      protected void resetWoOperationOnChangeHeaderType()
      Reset work order operation on change header type.
    • onSelectWoType

      public boolean onSelectWoType(UIMessage uim)
      UI event handler to select the work order type.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.
    • onEditWOResidualTime

      public boolean onEditWOResidualTime(UIMessage uim)
      UI event handler to edit the work order residual time.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.
    • onConfirmTimeResidual

      public boolean onConfirmTimeResidual(UIMessage uim)
      UI event handler to confirm the work order residual time.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise. *
    • onCheckAndSave

      public boolean onCheckAndSave(UIMessage uim)
      UI event handler to check work order data and save it.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.
    • onCheckAndSaveAndExit

      public boolean onCheckAndSaveAndExit(UIMessage uim)
      UI event handler to check work order data, save it and exit.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.
    • onSave

      public boolean onSave(UIMessage uim)
      UI event handler to save work order.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.
    • onSaveAndExit

      public boolean onSaveAndExit(UIMessage uim)
      UI event handler to save work order and exit.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.
    • checkAndSave

      protected boolean checkAndSave(UIMessage uim, boolean exitAfterSave)
    • onNewDummyFacility

      public boolean onNewDummyFacility(UIMessage uim)
      UI event handler to create a new dummy facility.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.
    • onRestoreFromNewTechnicalObject

      public void onRestoreFromNewTechnicalObject(Object obj)
      UI event handler to manage the page restore from a new technical object creation.
      Parameters:
      obj - the parameters from technical object page
    • onViewOperations

      public boolean onViewOperations(UIMessage uim)
      UI event handler to view the work order operation details.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.
    • viewOperations

      protected void viewOperations()
    • onClose

      public boolean onClose(UIMessage uim)
      UI event handler to page closure.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.
    • onWONotes

      public boolean onWONotes(UIMessage uim)
      UI event handler to manage work order notes.
      Parameters:
      uim - the UI event data such as the form content and control keys
      Returns:
      true to break the responsibility chain, false otherwise.