UserRightCategory.javaPackage: org.projectforge.business.user
Enums: UserRightCategory
Implements: I18nEnum
Methods (2): getKey, getI18nKey
Fields (1): key
Imports: 1 packages
package org.projectforge.business.user;
import org.projectforge.common.i18n.I18nEnum;
/**
* The category is only used for sorting the user rights for editing in the gui.
*
* @author Kai Reinhard (k.reinhard@micromata.de)
*
*/
public enum UserRightCategory implements I18nEnum
{
ADMIN("admin"), FIBU("fibu"), MISC("misc"), ORGA("orga"), HR("hr"),
/** Project management */
PM("pm"), PLUGINS("plugins");
private String key;
/**
* The key will be used e. g. for i18n.
*
* @return
*/
public String getKey()
{
return key;
}
public String getI18nKey()
{
return "access.right.category" + key;
}
UserRightCategory(final String key)
{
this.key = key;
}
}
868d6abb7 2025 -> 2026 63081666f Source file headers: 2024-> 2025. b6092df09 Copyright 2023 -> 2024 ab45d51fa Copyright 2001-2022 -> 2001-2023. 5f7ef41b8 Copyright 2021 -> 2022