Class ResourceForecastCalendarView
java.lang.Object
overit.geocall.platform.ui.UINode
overit.geocall.ui.Component
overit.geocall.ui.Control
overit.geocall.basic.ui.Container
overit.geocall.basic.ui.container.TableView
overit.geocall.basic.ui.container.ServerTableView
overit.geocallapp.utilities.ux.ui.container.calendarview.CalendarView
overit.geocallapp.wfm.planning.ux.forecastcapacity.forecast.resource.detail.ResourceForecastCalendarView
- All Implemented Interfaces:
Serializable,EntityContainer,overit.geocall.clipboard.XClip,overit.geocall.marks.MethodExposer,overit.geocall.marks.NameExposer,AjaxableComponent,Badgeable,DAViewManager,DBViewManager,DraggableDroppable,Hideable,Identified,Tool,overit.geocall.ux.configurability.UIConfigurable,overit.geocall.ux.edm.ModelConfigurable
- Direct Known Subclasses:
ResourceForecastComparatorCalendarView
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.basic.ui.container.TableView
TableView.SelectionNested classes/interfaces inherited from class overit.geocall.ui.Component
Component.Configurable, Component.ConfigurableAttribute, Component.ConfigurableAttributes, Component.FilterCriteria, Component.Registry -
Field Summary
FieldsFields inherited from class overit.geocallapp.utilities.ux.ui.container.calendarview.CalendarView
columns, firstDisplay, fullHeight, selectedCells, timeRangeCalculatorFields inherited from class overit.geocall.basic.ui.container.ServerTableView
_da, _dao, _dao0, _extension, _initRows, _lastButton, _maxrows, _orderFields, _params, _queryCommand, _queryExecuted, _queryid, haveMoreFields inherited from class overit.geocall.basic.ui.container.TableView
_activeMode, _advancedLayout, _alRowMessages, _alTableMessages, _alTableOrders, _anchor, _begin, _bkgColorName, _bkgColorSwitch, _changedMetaData, _columns, _columnsOrigin, _contentFrame, _cutname, _cutting, _cuttingRow, _dbv, _draggable, _droppable, _end, _event, _event2, _eventmode, _eventr, _footerLastRow, _footerValues, _forceFirstPage, _from, _fullsize, _height, _hiddenCols, _lastSelected, _minWidth, _msg, _msg2, _msgr, _page, _param, _param2, _paramr, _query, _requestedMode, _rows, _selection, _selectionRow, _selectname, _selectset, _someThingDraggable, _somethingHidden, _titleFormat, _to, _visible, _xclass, configurableRows, editable, extensionTabIndex, hiddenProfileCols, navBarTabIndex, NOT_IDENTIFIED_COLUMN_PLACEHOLDER, PARAM_KEY, TABLE_CONFIGURABILITY_PANEL_PATH, TABLE_FIELDS_OBJECT_NAME, TABLE_OBJ_TEMP_PREFIX, TABLE_WIDGET_ATTRIBUTES_OBJECT, TABLE_WIDGET_STATE_CLASSFields 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, important, labelInLine, layoutLabel, PIXEL_IMG, safeInlineServiceFields inherited from interface overit.geocall.ui.AjaxableComponent
FRAME_ID_PREFIX, NOTRANSITION, TRANSITION_BODY_MORPH, TRANSITION_BODY_RESIZE, TRANSITION_BORDER_RESIZE, TRANSITION_DOWN, TRANSITION_UPFields inherited from interface overit.geocall.ui.DAViewManager
PAGE_FIRST, PAGE_LAST, PAGE_NEXT, PAGE_PREVIOUS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DBViewbuildCalendarView(ResourceForecastViewConfiguration viewConfiguration) protected DBViewfetchRange(int maxrows, int skiprows) Returns a list that contains all Skills (TSKILL rows)BOSkillprotected StringgetCellLabel(CalendarViewTimeRange calendarViewTimeRange) Build the header label of the columnprotected List<BOForecastResourceDetail> Returns the detail data of resources related to the forecast headerprotected List<BOForecastResource> Returns all resources (eventually filtered) related to the forecast headerprotected OrdergetOrder()protected org.apache.ecs.html.TRTrick for not painted the selected row orangevoidFake sets for launch automatic querybooleanDeselect all the cells and all the selected rowsbooleanonSelectCell(UIMessage uim) Selection cell event.booleanbooleanvoidsetResourceForecastHeader(Long resourceForecastHeaderId) voidsetResourcesToFilter(SubSet resourcesToFilter) Methods inherited from class overit.geocallapp.utilities.ux.ui.container.calendarview.CalendarView
buildDisplayScript, buildScrollTopScript, buildTimeRanges, getConfiguration, getLabelDay, getLabelWeek, getSelectedCells, getTimeRanges, getTimeRangesCalculator, manageColumns, onOpen, setFULLHEIGHT, setTimeRanges, updateConfigurationMethods inherited from class overit.geocall.basic.ui.container.ServerTableView
buildLoadPageScript, changed, getDa, getDAO, getDAO0, getExtensionLabel, getExtensionRow, getFrameHtml, getMode, getNavBar, getParams, getQueryId, inMemory, load, load, needsNavBar, onDeSelectCurrPage, onExtends, onFirstPage, onLastPage, onNewDBView, onNextPage, onPreviousPage, onSelectCurrPage, pageExtension, setDa, setDA, setDao, setDAO, setDao0, setDAO0, setDBView, setEXTENSION, setLASTBUTTON, setMAXROWS, setMode, setParams, setQUERY, setQueryCommand, setQueryId, setROWS, setupRanges, updateCurrentRowsForPageMethods inherited from class overit.geocall.basic.ui.container.TableView
addPageSizeLookup, buildScrollScript, buildSetupScript, buildStuckScript, canPaste, changedMetaData, chooseSelectAction, clickOnControlLightMenu, clickOnControlMenu, collectEntities, doCopy, doCut, doPaste, doRemove, drag, dragDrop, dragged, drop, findColumnGroup, freeClip, getCaption, getColumnByLayoutName, getColumnByName, getColumns, getCurrentPage, getCUTNAME, getCutSet, getCutting, getCuttingSize, getDBView, getDefaultChange, getDropDownMenu, getEntities, getEntityValidator, getFieldsProfileVisibilityList, getFieldsUserVisibilityList, getFOOTERLASTROW, getHtml, getNavBarHtml, getOriginalColumns, getPage, getProfileLayoutCustomizations, getProfileStateConf, getProfileStateConfFields, getRo, getRows, getRows, getSelection, getSelectionSize, getSELECTNAME, getSelectSet, getStateConf, getStateConfAttributes, getStateConfFields, getTitle, getUserComponentAttributesMap, getUserLayoutCustomizations, getXmlColumns, hasTableOrders, invalidateComponentsAttributeMap, isCutSet, isCutted, isSelected, isSelectSet, isVisible, moveColumn, onAutoSelect, onBodyClick, onChangeRows, onColumnMove, onControlLightMenu, onControlMenu, onCopy, onCopy, onCut, onCut, onOpenPage, onOrder, onPaste, onPaste, onRemove, onRemove, onSaveLightTableCustomization, onSelect, onSelect, onSelectAll, onSelectNone, onSingleSelect, onSingleSelect, onTableOrdersMenu, onToggle, pasteContent, selectAction, setANCHOR, setBKGCOLORNAME, setBKGCOLORSWITCH, setCONTENTFRAME, setCUTNAME, setDRAGGABLE, setDROPPABLE, setEDITABLE, setENTITY, setEVENT, setEVENT2, setEVENTMODE, setEVENTR, setFOOTERLASTROW, setFooterValues, setFROM, setFULLSIZE, setHEIGHT, setMINWIDTH, setMODE, setMsg, setMSG, setMsg2, setMSG2, setMsgR, setMSGR, setPARAM, setPARAM2, setPARAMR, setRo, setSELECTNAME, setSelectSet, setSELECTSET, setTITLEFORMAT, setTO, setup, setupMetaData, setupSelection, setupTableColumns, setupUserHiddenColumns, setVISIBLE, setXCLASS, stuckColumnsEnabled, updateStateConf, userIsAllowedToEditTablesMethods inherited from class overit.geocall.basic.ui.Container
alert, applyRule, getBASIC, getBLANK, getRO, getROField, onClose, onOpenChildContainer, onRestore, 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, 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, setGRIDALIGN, setGRIDCOLS, setGRIDROWS, setGRIDVALIGN, setICON, setIdentity, setIMPORTANT, setLabel, setLABEL, setLABELINLINE, setLAYOUTLABEL, setLAYOUTNAME, setNAME, setREGISTRYNAME, setTooltip, 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.geocall.ui.DBViewManager
changedMetaData, getDBView, getRo, setFROM, setRo, setTOMethods inherited from interface overit.geocall.ui.Hideable
getVISIBLEMethods inherited from interface overit.geocall.clipboard.XClip
getWM
-
Field Details
-
resourceForecastHeaderId
-
resourcesToFilter
-
-
Constructor Details
-
ResourceForecastCalendarView
public ResourceForecastCalendarView()
-
-
Method Details
-
setResourceForecastHeader
-
setResourcesToFilter
-
getCellLabel
Description copied from class:CalendarViewBuild the header label of the column- Overrides:
getCellLabelin classCalendarView
-
onSelectCell
Description copied from class:CalendarViewSelection cell event. Collect the selected cells on selectedCell attribute and set/remove the selected attributes on eachCalendarViewColumnCellitem- Overrides:
onSelectCellin classCalendarView
-
onSelectResource
-
onSelectTable
- Overrides:
onSelectTablein classTableView
-
getTR
protected org.apache.ecs.html.TR getTR(EntitySet es, int row, int pagerow, ArrayList al, boolean selected) Trick for not painted the selected row orange -
fetchRange
- Overrides:
fetchRangein classServerTableView
-
buildCalendarView
protected DBView buildCalendarView(ResourceForecastViewConfiguration viewConfiguration) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
loadFirstPage
public void loadFirstPage()Fake sets for launch automatic query -
getForecastResources
Returns all resources (eventually filtered) related to the forecast header- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
getForecastResourceDetails
protected List<BOForecastResourceDetail> getForecastResourceDetails() throws DAException, DAValidateExceptionReturns the detail data of resources related to the forecast header- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
getAllSkills
Returns a list that contains all Skills (TSKILL rows)BOSkill- Throws:
DAException- the DA exceptionDAValidateException- the DA validate exception
-
getOrder
-
onEmptyCellsSelection
Deselect all the cells and all the selected rows- Overrides:
onEmptyCellsSelectionin classCalendarView- Parameters:
uim- theUIMessage- Returns:
- true to break the responsibility chain, false otherwise.
-