#547: TaskNode.java

projectforge-business/src/main/java/org/projectforge/business/task/TaskNode.java Type: Java Tree/Data Node · Purpose: Data object transferring data between application layers. · Source: projectforge-business/src/main/java/org/projectforge/business/task/TaskNode.java 529 lines · 321 code · 155 comments · 53 blank
Data object transferring data between application layers.

Class: TaskNode

Implements: IdObject

Annotations

@Deprecated, @Override, @Serial

Fields

NameTypeAccessModifiers
serialVersionUIDlongprivatestatic final

Methods

NameReturn TypeAccess
isRootNode()booleanpublic
setTask()voidpublic
getTask()TaskDOpublic
getId()Longpublic
setId()voidpublic
getTaskId()Longpublic
getParentId()Longpublic
getParent()TaskNodepublic
getReference()Stringpublic
getProjekt()ProjektDOpublic
getProjekt()ProjektDOpublic
isDeleted()booleanpublic
isFinished()booleanpublic
isBookableForTimesheets()booleanpublic
getDescendantIds()Listpublic
getDescendantIds()voidprivate
getAncestorIds()Listpublic
getAncestorIds()voidprivate
getChilds()Listpublic
getChildren()Listpublic
hasChilds()booleanpublic
hasChildren()booleanpublic
isParentOf()booleanpublic
getPathAsString()Stringpublic
getPathToRoot()Listpublic
getPathToAncestor()Listpublic
hasPermission()booleanpublic
isPermissionRecursive()booleanpublic
getDuration()longpublic
equals()booleanpublic

2 more methods not shown.

Architecture Analysis

Resides in projectforge-business, the core module containing domain logic, services, and persistence.

Git History

CommitWhat changed
868d6abb752025 -> 2026
ee32b3e3a5Code deprecations.
63081666f6Source file headers: 2024-> 2025.
5f9bbfbd37Fix typos in projectforge-business directory
4ae4f3ea35Bugfixes while going-live...
f093272861Migration stuff in progress... (all tests of all packages: OK).
e66d5f5f7cMigration stuff in progress... TaskTree -> Kotlin and runs now in isolated entity manager
4c04cfd652MAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.)
923f5c64b8Migration stuff in progress...
06828f4908Migration stuff in progress...
b6092df092Copyright 2023 -> 2024
ab45d51fa4Copyright 2001-2022 -> 2001-2023.
dcfc7c1a96Old calendar moved to sub menu, ScriptingTask*, JiraUtils
5f7ef41b8cCopyright 2021 -> 2022
db3b02da77UserException moved from business to common package (AccesssException affected). UserException will now be returned as Toast for Rest clients on default. FileSizeChecker WIP.
ceb63e8a1bSource code header: (C) 2001-2021.
7c79f1922cCopyright of source header -> 2020.
73a9755df7More code cleanup: - Collapsed catch blocks that did the exact same things - Replaced ArrayList with ArrayList<> - Replaced StringBuffer with StringBuilder - Removed a few usages of deprecated classes (mainly HSSFColors in Excel) - Replace Collections.sort with List.sort
000ca723d8Remove pointless boolean expressions (business)
611a8aaee5Refactored (java, kt, less, jsx): childs -> children.
dd5ca38acdCopyRight of all java file-header updated or created.
bc0a98baa6Deprecated ObjectUitls method replaced (perl -pie is your best friend).
0dd545fdc2TaskNode.getPathAsString added for logging purposes.
a5bbdca6aaChange logger to slf4j
f979e8a429MGC-UPDATE: Update auf Version 3.0.0-SNAPSHOT
9ebb885224Initial commit