Enum Privileg
- java.lang.Object
-
- java.lang.Enum<Privileg>
-
- de.fhdw.hfw417.dokumentenpostfach.model.benutzer.Privileg
-
- All Implemented Interfaces:
Serializable
,Comparable<Privileg>
public enum Privileg extends Enum<Privileg>
Auflistung aller Privilegien/Berechtigungen.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BENUTZERERSTELLEN
Das Recht einen Benutzer zu erstellen.BENUTZERLOESCHEN
Das Recht einen Benutzer zu loeschen.DANSEHEN
Das Recht ein Dokument anzusehen.DSENDEN
Das Recht ein Dokument zu versenden.GRUPPEANSEHEN
Das Recht Gruppen anzusehen.GRUPPEERSTELLEN
Das Recht eine Gruppe zu erstellen.GRUPPELOESCHEN
Das Recht Gruppen zu loeschen.MERSTELLEN
Das Recht einen Mandanten zu erstellen.MLOESCHEN
Das Recht einen Mandanten zu loeschen.PASSWORTAENDERN
Das Recht das Passwort zu aendern.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPrivilegBeschreibung()
Getter-Methode der Privilegbeschreibung.int
value()
static Privileg
valueOf(String name)
Returns the enum constant of this type with the specified name.static Privileg[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DANSEHEN
public static final Privileg DANSEHEN
Das Recht ein Dokument anzusehen.
-
DSENDEN
public static final Privileg DSENDEN
Das Recht ein Dokument zu versenden.
-
GRUPPEERSTELLEN
public static final Privileg GRUPPEERSTELLEN
Das Recht eine Gruppe zu erstellen.
-
BENUTZERERSTELLEN
public static final Privileg BENUTZERERSTELLEN
Das Recht einen Benutzer zu erstellen.
-
MERSTELLEN
public static final Privileg MERSTELLEN
Das Recht einen Mandanten zu erstellen.
-
MLOESCHEN
public static final Privileg MLOESCHEN
Das Recht einen Mandanten zu loeschen.
-
GRUPPEANSEHEN
public static final Privileg GRUPPEANSEHEN
Das Recht Gruppen anzusehen.
-
GRUPPELOESCHEN
public static final Privileg GRUPPELOESCHEN
Das Recht Gruppen zu loeschen.
-
BENUTZERLOESCHEN
public static final Privileg BENUTZERLOESCHEN
Das Recht einen Benutzer zu loeschen.
-
PASSWORTAENDERN
public static final Privileg PASSWORTAENDERN
Das Recht das Passwort zu aendern.
-
-
Method Detail
-
values
public static Privileg[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Privileg c : Privileg.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Privileg valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()
-
getPrivilegBeschreibung
public String getPrivilegBeschreibung()
Getter-Methode der Privilegbeschreibung.- Returns:
- Die Beschreibung des Privilegs.
-
-