EN · DE · RU · FR · ES

#3122: TimesheetEditForm.java

projectforge-wicket/src/main/java/org/projectforge/web/timesheet/TimesheetEditForm.java Тип: Java Wicket Form · Пакет: org.projectforge.web.timesheet · Исходник: projectforge-wicket/src/main/java/org/projectforge/web/timesheet/TimesheetEditForm.java 616 строк · 503 кода · 80 комментариев · 33 пустых
Java Wicket Form, реализующий TimesheetEditForm.

Аннотации

@Override, @Override, @Override, @Override, @Override, @Override, @Override, @Override, @Override, @Override, @Override, @Override, @Override, @Override, @Override, @Override, @Override, @Override, @Override

Поля

ТипПоле
longserialVersionUID
StringUSERPREF_KEY
booleancost2Exists
TimesheetEditFilterfilter
UserPrefDOrecentUserPref
DropDownChoice<Long>cost2Choice
FieldsetPanelcost2ChoiceFieldset
ConsumptionBarPanelconsumptionBarPanel
List<Kost2DO>cost2List

Методы

ВозвратМетодПараметры
publicTimesheetEditFormfinal TimesheetEditPage parentPage, final TimesheetDO data
DropDownChoice<Long>createCost2ChoiceRendererfinal String id, final LabelValueChoiceRenderer<Long> kost2ChoiceRenderer, final TimesheetDO data, final List<Kost2DO> kost2List
LonggetObject
voidsetObjectfinal Long kost2Id
voidvalidatefinal IValidatable<Long> validatable
LabelValueChoiceRenderer<Long>getCost2LabelValueChoiceRendererfinal List<Kost2DO> kost2List, final TimesheetDO data, final DropDownChoice<Integer> kost2Choice
voidinit
newTimesheetPageSupportparentPage, gridBuilder, data
voidvalidatefinal Form<?> form
newDateHolderstartDateTimePanel.getConvertedInput(
newDateHolderstartDate.getUtilDate(
elseifdata.getDuration(
newTaskSelectPanelfs, new PropertyModel<TaskDO>(data, "task"
voidselectTaskfinal TaskDO task
voidonModelSelectedfinal AjaxRequestTarget target, final TaskDO taskDO

Анализ архитектуры

Находится в projectforge-wicket, устаревшем слое веб-интерфейса Apache Wicket, который постепенно заменяется на React. Отмечен @Configuration, предоставляет определения Spring-бинов и связку для конкретной подсистемы.

История Git

КоммитЧто изменилось
868d6abb752025 -> 2026
47d42a5bbdAI savings: mass update of time-sheets, editing in classic page added, further improvements. Mass-update: Excel sheet with modifications is now stored in the user's personal DataTransfer box.
092dbf9c50SystemService -> kolin, package systeminfo renamed to system
3785f83479Migration stuff in progress...
cb5cd5d3d9Migration stuff in progress...
011000f03dMigration stuff in progress... (all tests of all packages: OK).
1204b927bfMigration stuff in progress... (all tests of all packages: OK).
a72903e36a*.java, *.kt: StringBuffer -> StringBuilder.
4c04cfd652MAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.)
4efcbd0fb6Migration stuff in progress...
fb11a504a3Migration stuff in progress...
b6092df092Copyright 2023 -> 2024
ab45d51fa4Copyright 2001-2022 -> 2001-2023.
73b0be50b2org.apache.commons.collections -> org.apache.commons.collections4
66e877c4f9i18nKey "templates" fixed.
4548710dffWIP: migration.
4a6390e11dMerge branch 'develop' into feature/wicket8
512ffa420fConfiguration param: timesheetTag implemented.
5f7ef41b8cCopyright 2021 -> 2022
c0f2b9de04Tenants functionality removed everywhere (untested).
764064c30dTimesheetEditForm (Wicket): Tooltip for reference field.
d875be4d46TimesheetDao: Java - Kotlin (!!!! Side effects may occur all over the project!!!!)
4a0a3900c8WIP: timesheet reference.
0768639ddbMerge branch 'develop' into feature-timesheet-references
ceb63e8a1bSource code header: (C) 2001-2021.
18ae3e67cdWIP: timesheet -> reference.
2d6ddaea96Refactoring of recent time sheets functionality in TimesheetRecentService.
018b89e911Timesheets time of day now with precistion of 5 minutes (was still 15 before in classical version).
a6a7aece4dOptimize Imports
7c1c487822Replacing more instance of java.sql.Date with java.time.LocalDate Replacing instances of java sql.Timestamp with java.util.Date
7c79f1922cCopyright of source header -> 2020.
086e588b89TimesheetDO.java -> TimesheetDO.kt...
a5bbdca6aaChange logger to slf4j
f979e8a429MGC-UPDATE: Update auf Version 3.0.0-SNAPSHOT
6aa6a9cc3bChanged wicket and wicketstuff version to 8.0.0-M6
9ebb885224Initial commit