Class CrewShellWorkshift

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.utenti.calendarioturni.CalendarioTurniRisorse
overit.geocallapp.wfm.core.ux.crewshell.workshift.CrewShellWorkshift
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, overit.geocallapp.wfm.schedulazione.utenti.calendari.ui.PModificaTurno.PModificaTurnoDelegate, overit.geocallapp.wfm.ui.stato.UIStateChangeListener

public class CrewShellWorkshift extends overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
Page for view Crew Shell Workshifts
Since:
16.0
See Also:
GCApi:
controller
  • Constructor Details

    • CrewShellWorkshift

      public CrewShellWorkshift()
  • Method Details

    • initialize

      protected void initialize(Object o)
      Overrides:
      initialize in class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
    • getConfiguration

      protected BOCrewShellConfiguration getConfiguration() throws DAException, DAValidateException
      Throws:
      DAException
      DAValidateException
    • init

      protected void init()
    • setAddWorkShiftButtonVisibility

      protected void setAddWorkShiftButtonVisibility(int numTabs)
      Overrides:
      setAddWorkShiftButtonVisibility in class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
    • updateFilterForNewOperationCenter

      protected void updateFilterForNewOperationCenter(HashGetter hgParams)
      Overrides:
      updateFilterForNewOperationCenter in class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
    • creaMenuClickDestroElementoCella

      protected Menu creaMenuClickDestroElementoCella(UIMessage uim)
      Overrides:
      creaMenuClickDestroElementoCella in class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
    • caricaGiustificativi

      protected void caricaGiustificativi()
      Overrides:
      caricaGiustificativi in class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
    • caricaSequenzeTurni

      protected void caricaSequenzeTurni()
      Overrides:
      caricaSequenzeTurni in class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
    • caricaCalendarioTurni

      protected void caricaCalendarioTurni()
      Overrides:
      caricaCalendarioTurni in class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
    • caricaCalendarioTurni

      protected void caricaCalendarioTurni(LongSet lsIdAute)
      Overrides:
      caricaCalendarioTurni in class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
    • caricaCalendarioTurni

      protected void caricaCalendarioTurni(int row, String column)
      Overrides:
      caricaCalendarioTurni in class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
    • refreshCells

      protected void refreshCells()
      Overrides:
      refreshCells in class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
    • onRestore

      public void onRestore(Object object)
      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 overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
      Parameters:
      object - Object received from the caller
    • onCellMenu

      public boolean onCellMenu(UIMessage uim)
      UI event handler to show the on row menu item (i.e., the menu options) when right-clicking on a cell. If the cell is an instance of a CellaCalendario object it is possible to manage the daily foreman and the daily composition of the BOCrewShell object, provided that planner has got the EDIT permissions.
      Parameters:
      uim - the UIMessage node
      Returns:
      true to break the responsibility chain, false otherwise
    • findCrewShellByDummyUser

      protected BOCrewShell findCrewShellByDummyUser(Long dummyUserId)
      Search for a BOCrewShell object by the provided dummy user (id).
      Parameters:
      dummyUserId - the unique ID of the dummy user, which is expected to be unique for each record
      Returns:
      crewShellList.get(0) or null the BOCrewShell object associated with the provided dummy user, or null if not found
    • onChangeForeman

      public boolean onChangeForeman(UIMessage uim)
      UI event handler to refresh the TVCalendarioTurni _tvCalendarioTurni when the daily foreman changes for the selected BOCrewShell object. Remember that the BOCrewShell object's composition may vary daily.
      Parameters:
      uim - the UIMessage node
      Returns:
      true to break the responsibility chain, false otherwise
    • onManageTechnicians

      public boolean onManageTechnicians(UIMessage uim)
      UI event handler to open the panel to assign BOSchedulingUser objects to the selected BOCrewShell object (i.e., the selected cell). Remember that the BOCrewShell object's composition may vary daily.
      Parameters:
      uim - the UIMessage node
      Returns:
      true to break the responsibility chain, false otherwise
    • onCrewShellMonitor

      public boolean onCrewShellMonitor(UIMessage uim)
      UI event handler to go to the mask named "Crew Shell Monitor".
      Parameters:
      uim - the UIMessage node
      Returns:
      true to break the responsibility chain, false otherwise
    • populateCrewShellCodeMultiDecoder

      protected void populateCrewShellCodeMultiDecoder(BOCrewShell crewShell)
      It populates the MultiDecoder mdCrewShellCode with the code value of the loaded BOCrewShell object. It also makes read only the MultiDecoder mdCrewShellCode.
      Parameters:
      crewShell - the loaded BOCrewShell object
    • populateCrewShellSkillsMultiDecoder

      protected void populateCrewShellSkillsMultiDecoder(BOCrewShell crewShell) throws DAValidateException, DAException
      It populates the MultiDecoder mdCrewShellSkills with the description value of each BOSkill object associated with the loaded BOCrewShell object. It also makes read only the MultiDecoder mdCrewShellSkills.
      Parameters:
      crewShell - the loaded BOCrewShell object
      Throws:
      DAValidateException - object
      DAException - object
    • setFilterTabReadOnly

      protected void setFilterTabReadOnly()
      Makes read-only the components of the Panel pFiltroRicerca in order to prevent SQLSyntaxErrorException objects to be thrown when the page is opened from the shortcuts.
    • initCache

      protected void initCache()
      Initializes the BOCache objects for each business object.
    • manageTurniDragDropOnResource

      protected void manageTurniDragDropOnResource(overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.ui.CelleCalendario celleSelezionate, DragDrop.Part destination, boolean moving)
      Overrides:
      manageTurniDragDropOnResource in class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
    • dropIncollaTurni

      protected void dropIncollaTurni(int step)
      Overrides:
      dropIncollaTurni in class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
    • onCompositionAutomaticConfirmation

      public boolean onCompositionAutomaticConfirmation(UIMessage uim)
      UI event handler to confirm automatically the crew shell composition.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • onExpandCrews

      public boolean onExpandCrews(UIMessage uim)
      UI event handler to expand the crew shell composition.
      Parameters:
      uim - the UIMessage
      Returns:
      true to break the responsibility chain, false otherwise.
    • selectCellElement

      protected void selectCellElement(overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.ui.ElementoCella cellElement)
      Overrides:
      selectCellElement in class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
    • onModificaElementoCella

      public boolean onModificaElementoCella(UIMessage uim)
      Overrides:
      onModificaElementoCella in class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse