#3127: TimesheetListPage.java

projectforge-wicket/src/main/java/org/projectforge/web/timesheet/TimesheetListPage.java Type: Wicket Web Page · Purpose: Wicket web page component rendering a UI view for user interaction. · Source: projectforge-wicket/src/main/java/org/projectforge/web/timesheet/TimesheetListPage.java 531 lines · 440 code · 57 comments · 34 blank
Wicket web page component rendering a UI view for user interaction.

Class: TimesheetListPage

Extends: AbstractListPage

Annotations

@ListPage, @SuppressWarnings, @Override

Fields

NameTypeAccessModifiers
PARAMETER_KEY_TASK_IDStringpublicstatic final
PARAMETER_KEY_SEARCHSTRINGStringpublicstatic final
PARAMETER_KEY_USER_IDStringpublicstatic final
PARAMETER_KEY_START_TIMEStringpublicstatic final
PARAMETER_KEY_STOP_TIMEStringpublicstatic final
PARAMETER_KEY_CLEAR_ALLStringpublicstatic final
serialVersionUIDlongprivatestatic final
icsExportDialogTimesheetsICSExportDialogprivate

Methods

NameReturn TypeAccess
init()voidprotected
onSubmit()voidpublic
onSubmit()voidpublic
onClick()voidpublic
populateItem()voidpublic
populateItem()voidpublic
populateItem()voidpublic
populateItem()voidpublic
populateItem()voidpublic
populateItem()voidpublic
populateItem()voidpublic
getObject()Stringpublic
newListForm()TimesheetListFormprotected
getBaseDao()TimesheetDaopublic
select()voidpublic
unselect()voidpublic
buildList()Listprotected
exportExcel()voidprotected
createSortableDataProvider()ISortableDataProviderprotected
getComparator()Comparatorprotected
compare()intpublic
getTaskTree()TaskTreeprivate

Architecture Analysis

Resides in projectforge-wicket, the legacy Apache Wicket web UI layer, gradually being replaced by React. Typically annotated with @Service, managed by the Spring IoC container with dependency injection.

Git History

CommitWhat changed
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.
2ec065b52cWIP: time savings by AI: TimesheetListPage, MonthlyEmployeeReport
092dbf9c50SystemService -> kolin, package systeminfo renamed to system
3785f83479Migration stuff in progress...
a72903e36a*.java, *.kt: StringBuffer -> StringBuilder.
67805f2fc1ThreadLocalUserContext.user -> ThreadLocalUserContext.loggedInUser (renamed for avoiding mis-understandings in code).
4c04cfd652MAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.)
d6d3d176f5Migration stuff in progress...
4efcbd0fb6Migration stuff in progress...
fb11a504a3Migration stuff in progress...
06828f4908Migration stuff in progress...
b6092df092Copyright 2023 -> 2024
3169965043Timesheet export as XSLX (using Merlin)
ab45d51fa4Copyright 2001-2022 -> 2001-2023.
66e877c4f9i18nKey "templates" fixed.
6872f6d9cbWIP: refactoring for mass update of address campaign.
66ced259b5Old Wicket-based mass-update mechanism removed.
9100a6006cWIP: time sheet mass update
512ffa420fConfiguration param: timesheetTag implemented.
5f7ef41b8cCopyright 2021 -> 2022
c0f2b9de04Tenants functionality removed everywhere (untested).
8fb6966aefGroupListPage: doubled associated users column removed. TimeListPage: reference column added.
ceb63e8a1bSource code header: (C) 2001-2021.
a6a7aece4dOptimize Imports
b78b870bd9ShortDisplayNameCapable -> DisplayNameCapable.
7c79f1922cCopyright of source header -> 2020.
a5bbdca6aaChange logger to slf4j
9b77c96d00PROJECTFORGE-3327 Fix calendar abo links
ec20d0e5f4Merge branch 'develop' into feature/PROJECTFORGE-3167 PROJECTFORGE-3167 Merge groovy to java class
728422d7ebPROJECTFORGE-3140 move select functionality into TimePeriodPanel, fix FindBugs issue
b18bdc4a87PROJECTFORGE-2305: Fix internal search error
2b8ccbadcbPROJECTFORGE-2302 Crypt link, expand email template
c57595f7ccPROJECTFORGE-2223 Listenpflegeseite (Arbeitsstand)
84fd4ed8fePROJECTFORGE-2213 Remove userCache
9ebb885224Initial commit