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
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse.FiltroPerTurno, overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse.SelezioneNested classes/interfaces inherited from class overit.geocall.ui.Component
Component.Configurable, Component.ConfigurableAttribute, Component.ConfigurableAttributes, Component.FilterCriteria, Component.Registry -
Field Summary
Fields inherited from class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
_agGroup, _celleCalendario, _colCalendarioTurni, _daFasceOrarie, _daMotiviAssenza, _daRcut, _daRSequenzaCalendariUtenti, _daSequenzeCalendari, _dataFine, _dataInizio, _datLoadCalendarioTurni, _daUtenti, _dockBarTop, _dragDropParams, _elementiCelle, _fGiorno, _filtroPerTurno, _fRicerca, _giornoCorrente, _groupsExpandStatus, _hgColumnsGiorno, _hgFilter, _idFiliale, _mannedTechnicalObjectsView, _pAddReperibilita, _pAddTurno, _pApplicaSequenzaTurni, _pDuplicaPeriodo, _pDuplicaRisorsa, _pEditLoan, _pMessaggi, _pRichiestaOrario, _pSostituzioneTurno, _pTurni, _push, _refreshList, _rowCalendarioTurni, _selezione, _tableOrderLoan, _tableOrderRisorsa, _tableOrderTipo, _tipoPeriodo, _tvCalendarioTurni, _uiState, DROP_STEP_ASK_PARAMS, DROP_STEP_CHECK_MAX_TURNI, DROP_STEP_CHECK_OVERWRITE, DROP_STEP_DO_PASTE, FILTRO_TURNO_CONTIENE, FILTRO_TURNO_NON_CONTIENE, LOG, MANNED_TECHNICAL_OBJECTS_FLAG, OC_GROUP_FLAG, PAGE_VERIFY_MATRIX_COVERAGE, PUSH_ANAGRAFICA_SEQUENZE_TURNI, PUSH_ANAGRAFICA_TURNI, PUSH_APPLICA_SEQUENZA_MASSIVA, PUSH_ASSOCIATE_MANNED_FACILITIES, PUSH_MANAGE_ABSENCE_ADDRESS, PUSH_MODIFICA_CALENDARIO, PUSH_MODIFICA_RISORSA, PUSH_RESOURCE_LOANS, PUSH_RESOURCES_LOANS, readOnlyCrewShift, VISUALIZZAZIONE_1_SETTIMANA, VISUALIZZAZIONE_2_MESI, VISUALIZZAZIONE_2_SETTIMANE, VISUALIZZAZIONE_4_SETTIMANE, VISUALIZZAZIONE_8_SETTIMANE, VISUALIZZAZIONE_MENSILEFields 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 voidprotected voidcaricaCalendarioTurni(int row, String column) protected voidcaricaCalendarioTurni(LongSet lsIdAute) protected voidprotected voidprotected Menuprotected voiddropIncollaTurni(int step) protected BOCrewShellfindCrewShellByDummyUser(Long dummyUserId) Search for aBOCrewShellobject by the provided dummy user (id).protected BOCrewShellConfigurationprotected voidinit()protected voidInitializes theBOCacheobjects for each business object.protected voidinitialize(Object o) protected voidmanageTurniDragDropOnResource(overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.ui.CelleCalendario celleSelezionate, DragDrop.Part destination, boolean moving) booleanonCellMenu(UIMessage uim) UI event handler to show the on row menu item (i.e., the menu options) when right-clicking on a cell.booleanonChangeForeman(UIMessage uim) UI event handler to refresh theTVCalendarioTurni_tvCalendarioTurni when the daily foreman changes for the selectedBOCrewShellobject.booleanUI event handler to confirm automatically the crew shell composition.booleanUI event handler to go to the mask named "Crew Shell Monitor".booleanonExpandCrews(UIMessage uim) UI event handler to expand the crew shell composition.booleanUI event handler to open the panel to assignBOSchedulingUserobjects to the selectedBOCrewShellobject (i.e., the selected cell).booleanvoidMethod called when is executed theWindowManager.pop(java.lang.Object)of the aboveWindow.protected voidpopulateCrewShellCodeMultiDecoder(BOCrewShell crewShell) It populates theMultiDecodermdCrewShellCode with the code value of the loadedBOCrewShellobject.protected voidpopulateCrewShellSkillsMultiDecoder(BOCrewShell crewShell) It populates theMultiDecodermdCrewShellSkills with the description value of eachBOSkillobject associated with the loadedBOCrewShellobject.protected voidprotected voidselectCellElement(overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.ui.ElementoCella cellElement) protected voidsetAddWorkShiftButtonVisibility(int numTabs) protected voidMakes read-only the components of thePanelpFiltroRicerca in order to preventSQLSyntaxErrorExceptionobjects to be thrown when the page is opened from the shortcuts.protected voidupdateFilterForNewOperationCenter(HashGetter hgParams) Methods inherited from class overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
addIntervalToRefreshList, addToRefreshList, addToRefreshList, addToRefreshList, addToRefreshList, aggiornaCelle, aggiornaCelle, aggiornaElementiCelle, aggiornaElementiCelle, applySearchConfiguration, calcolaPeriodoVisualizzazione, caricaCalendarioTurni, caricaFiltroTurni, caricaTurni, checkAskOrarioMotiviAssenza, checkSelectedCells, clearTableCalendarioTurni, containsCrewshellShift, createDropDownMenuTVCalendario, createDropDownMenuTVCalendarioResourceGroup, createDuplicatePeriodCalendarInput, createDuplicateResourceCalendarInput, deselezionaElementi, dropIncollaGiustificativi, dropIncollaTurniReperibilita, expandAllGroups, expandGroup, generateTableMenuItems, getAuteId, getAuteId, getCellaCalendario, getCellaCalendario, getChiaveElemento, getColumnName, getDateFromColumn, getDateFromColumn, getGiornataCalendario, getGiornataFromCell, getHgRow, getPSostituzioneTurnoDefaultFilter, getResourceFromRow, getResourceGroup, getRigheSelezionateSource, getRow, getRow, hasCrewshellCalendar, initFunctions, initUIState, insertMenuItemDuplicazione, insertMenuItemModificaPeriodo, isSelectedCellGroup, isSelectedCellGroup, loadAddress, manageOpenValues, manageTurniDragDropOnResourceGroup, onAnagraficaRisorsa, onAnagraficaSequenzeTurni, onAnagraficaTurni, onApplicaPApplicaSequenzaTurni, onApplicaSequenzaMassiva, onApplicaSequenzaTurni, onAssociateMannedFacilities, onAssociateSkillsQualifications, onCambiaCentroOperativo, onCaricaDatiCentroOperativo, onCaricaDatiCentroOperativo, onClearCellSelection, onClickDestroElementoCella, onClickSinistroElementoCella, onClosePApplicaSequenzaTurni, onCollapseAll, onConfermaConfigurazioneFiltroPerTurno, onConfiguraFiltroTurno, onConfigureMonitor, onDuplicaPeriodoRisorsa, onDuplicaRisorsa, onEliminaElementiCellaSelezionati, onEliminaElementoCella, onEsitoIncolla, onExpandAll, onGoToSearchConfiguration, onGoToShiftsInstance, onGoToShiftsModel, onGoToVerifyMatrixCoverage, onGroupSectionVisibility, onIncollaGiustificativiAggiungi, onIncollaGiustificativiSovrascrivi, onIncollaTurniAggiungi, onIncollaTurniReperibilitaAggiungi, onIncollaTurniReperibilitaSovrascrivi, onIncollaTurniSovrascrivi, onManageAddress, onModificaCalendarioRisorsa, onModificaPeriodoCalendarioRisorsa, onMostraFiltroCalendario, onNewResourceLoan, onNextMonth, onNextWeek, onOpen, onPAddTurnoSalva, onPDuplicaPeriodoDuplica, onPDuplicaRisorsaDuplica, onPEditLoanSave, onPModificaTurnoTurnoModificatoConSuccesso, onPrevMonth, onPrevWeek, onPRichiestaOrarioOk, onPSostituzioneTurnoOk, onPSostituzioneTurnoQuery, onRefreshCalendario, onRefreshSavedSearches, onRefreshTurni, onResourceLoan, onRestoreFromMatrixCoverage, onSearchConfigurationChanged, onSelectCell, onSetGiorno, onSetTipoPeriodo, onShowPanelAggiugiTurni, onSostituisciTurno, onStatoUIApplyPreset, onStatoUICategoryChanged, onStatoUICategoryOptionChanged, onTableMenu, onToggle, onTVCalendarioTurniDragDrop, onTVCalendarioTurniDrop, onTVCalendarioTurniDropDown, onViewResourceGroupDayDetail, pushResourceGroupDayDetailPage, refreshCell, refreshCells, refreshRicercheSalvate, setColumnLabels, setDisplayParams, toggleTableOrdering, updateOpzioneVisualizzazione, updateOpzioneWarningMethods 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, makeBadgedIconMethods inherited from interface overit.geocallapp.wfm.ui.stato.UIStateChangeListener
getId
-
Constructor Details
-
CrewShellWorkshift
public CrewShellWorkshift()
-
-
Method Details
-
initialize
- Overrides:
initializein classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
-
getConfiguration
- Throws:
DAExceptionDAValidateException
-
init
protected void init() -
setAddWorkShiftButtonVisibility
protected void setAddWorkShiftButtonVisibility(int numTabs) - Overrides:
setAddWorkShiftButtonVisibilityin classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
-
updateFilterForNewOperationCenter
- Overrides:
updateFilterForNewOperationCenterin classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
-
creaMenuClickDestroElementoCella
- Overrides:
creaMenuClickDestroElementoCellain classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
-
caricaGiustificativi
protected void caricaGiustificativi()- Overrides:
caricaGiustificativiin classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
-
caricaSequenzeTurni
protected void caricaSequenzeTurni()- Overrides:
caricaSequenzeTurniin classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
-
caricaCalendarioTurni
protected void caricaCalendarioTurni()- Overrides:
caricaCalendarioTurniin classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
-
caricaCalendarioTurni
- Overrides:
caricaCalendarioTurniin classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
-
caricaCalendarioTurni
- Overrides:
caricaCalendarioTurniin classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
-
refreshCells
protected void refreshCells()- Overrides:
refreshCellsin classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
-
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- Overrides:
onRestorein classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse- Parameters:
object- Object received from the caller
-
onCellMenu
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 aCellaCalendarioobject it is possible to manage the daily foreman and the daily composition of theBOCrewShellobject, provided that planner has got the EDIT permissions.- Parameters:
uim- theUIMessagenode- Returns:
- true to break the responsibility chain, false otherwise
-
findCrewShellByDummyUser
Search for aBOCrewShellobject 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
BOCrewShellobject associated with the provided dummy user, or null if not found
-
onChangeForeman
UI event handler to refresh theTVCalendarioTurni_tvCalendarioTurni when the daily foreman changes for the selectedBOCrewShellobject. Remember that theBOCrewShellobject's composition may vary daily.- Parameters:
uim- theUIMessagenode- Returns:
- true to break the responsibility chain, false otherwise
-
onManageTechnicians
UI event handler to open the panel to assignBOSchedulingUserobjects to the selectedBOCrewShellobject (i.e., the selected cell). Remember that theBOCrewShellobject's composition may vary daily.- Parameters:
uim- theUIMessagenode- Returns:
- true to break the responsibility chain, false otherwise
-
onCrewShellMonitor
UI event handler to go to the mask named "Crew Shell Monitor".- Parameters:
uim- theUIMessagenode- Returns:
- true to break the responsibility chain, false otherwise
-
populateCrewShellCodeMultiDecoder
It populates theMultiDecodermdCrewShellCode with the code value of the loadedBOCrewShellobject. It also makes read only theMultiDecodermdCrewShellCode.- Parameters:
crewShell- the loadedBOCrewShellobject
-
populateCrewShellSkillsMultiDecoder
protected void populateCrewShellSkillsMultiDecoder(BOCrewShell crewShell) throws DAValidateException, DAException It populates theMultiDecodermdCrewShellSkills with the description value of eachBOSkillobject associated with the loadedBOCrewShellobject. It also makes read only theMultiDecodermdCrewShellSkills.- Parameters:
crewShell- the loadedBOCrewShellobject- Throws:
DAValidateException- objectDAException- object
-
setFilterTabReadOnly
protected void setFilterTabReadOnly()Makes read-only the components of thePanelpFiltroRicerca in order to preventSQLSyntaxErrorExceptionobjects to be thrown when the page is opened from the shortcuts. -
initCache
protected void initCache()Initializes theBOCacheobjects for each business object. -
manageTurniDragDropOnResource
protected void manageTurniDragDropOnResource(overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.ui.CelleCalendario celleSelezionate, DragDrop.Part destination, boolean moving) - Overrides:
manageTurniDragDropOnResourcein classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
-
dropIncollaTurni
protected void dropIncollaTurni(int step) - Overrides:
dropIncollaTurniin classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
-
onCompositionAutomaticConfirmation
UI event handler to confirm automatically the crew shell composition.- Parameters:
uim- theUIMessage- Returns:
- true to break the responsibility chain, false otherwise.
-
onExpandCrews
UI event handler to expand the crew shell composition.- Parameters:
uim- theUIMessage- Returns:
- true to break the responsibility chain, false otherwise.
-
selectCellElement
protected void selectCellElement(overit.geocallapp.wfm.schedulazione.utenti.calendarioturni.ui.ElementoCella cellElement) - Overrides:
selectCellElementin classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
-
onModificaElementoCella
- Overrides:
onModificaElementoCellain classoverit.geocallapp.wfm.schedulazione.utenti.calendarioturni.CalendarioTurniRisorse
-