EN · DE · RU · FR · ES

#614: UserRightServiceImpl.java

projectforge-business/src/main/java/org/projectforge/business/user/UserRightServiceImpl.java Type: Java Service · Package: org.projectforge.business.user · Source: projectforge-business/src/main/java/org/projectforge/business/user/UserRightServiceImpl.java 153 lines · 112 code · 22 comments · 19 blank
Java Service implementing UserRightServiceImpl.

Annotations

@Service, @Override, @Override, @Override, @Override, @Override

Fields

TypeField
longserialVersionUID
Maprights
MaprightIds
ListorderedRights

Methods

ReturnMethodParameters
UserRightgetRightfinal IUserRightId id
UserRightgetRightString userRightId
IUserRightIdgetRightIdfinal String userRightId
newIllegalArgumentException"UserRightId with id '" + userRightId + "' not found (may-be not yet initialized
ListgetOrderedRights
newUnmodifiableListorderedRights
voidinit
voidinitUserRightIds
UserGroupsRightaddRightfinal UserRightCategory category, final UserRightId id, final UserRightValue[] rightValues, final ProjectForgeGroup... fibuGroups
newUserGroupsRightid, category, rightValues, fibuGroups
voidaddRightfinal UserRight right

Architecture Analysis

Resides in projectforge-business, the core module containing domain logic, services, and persistence. Typically annotated with @Service or @Component, managed by the Spring IoC container with dependency injection.

Git History

CommitWhat changed
868d6abb752025 -> 2026
bd69407de2Initial revision with Claude Code.
63081666f6Source file headers: 2024-> 2025.
9625305236TaskTree: circular dependencies fixed. JacksonConfiguration: deserialization errors on java.util.Date fixed (UTC).
61966790f6Ical4j: migration stuff...
4efcbd0fb6Migration stuff in progress...
77bade6dfbjavax.* -> jakarta.*
b6092df092Copyright 2023 -> 2024
0e94bd0583Editing user's plugin rights fixed: UserRightServiceImpl fixed.
ab45d51fa4Copyright 2001-2022 -> 2001-2023.
73b0be50b2org.apache.commons.collections -> org.apache.commons.collections4
c06db1dab7Nearly all jars updated (code changes required).
f1a12e2e5eMEB functinoality and SmsReceiverServlet removed.
5f7ef41b8cCopyright 2021 -> 2022
c0f2b9de04Tenants functionality removed everywhere (untested).
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
32f634b88fOptimize imports
000ca723d8Remove pointless boolean expressions (business)
0c36adc5abPROJECTFORGE-3556: new CalEvent Format
dd5ca38acdCopyRight of all java file-header updated or created.
a5bbdca6aaChange logger to slf4j
bb26800ee9PROJECTFORGE-3161 Add addressbook do
b66f54c960Merge branch 'develop' into feature/PROJECTFORGE-2009
1a099e8afbPROJECTFORGE-2494 Add visitorbook function
4d475fce6fPROJECTFORGE-2008 Add HR Vacation rights to user, some time fixes, refactorings
6bdc1dfae0PROJECTFORGE-2009 Add wicket list and edit pages, db core updates, services
8b8fd9f223PROJECTFORGE-2358 Add migration, some refactorings
47a1cadbccPROJECTFORGE-2358 Add new HR Group, change rights on diffrent code places
9ebb885224Initial commit