@Entity public class Rolle extends AbstractMandantDependentEntity implements INameProviding, IDescriptionProviding, IUUIDEntity
Benutzer festzulegen. Jeder Benutzer referenziert eine
Rolle, in welcher die Berechtigungen für den Zugriff auf eine Entität festgelegt sind. Zusätzlich dazu referenziert
eine Rolle ein oder mehrere Module. Diese beinhalten Vorlagen für Entityberechtigungen, welche in die
Rolle kopiert werden.| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_ALLOW_REST |
static String |
ATTR_BENUTZER |
static String |
ATTR_BERECHTIGUNGEN |
static String |
ATTR_CLIENT_DASHBOARD |
static String |
ATTR_MODULE |
static String |
ATTR_PROPERTIES |
static String |
ATTR_ROLLENTYP |
static String |
COL_UUID |
mandantCOL_LOCKINGVERSION, lockingVersionCOL_ID, idATTR_NAME, COL_NAMEATTR_BESCHREIBUNG, ATTR_DESCRIPTIONATTR_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, TYPE_NAME_UUIDATTR_MANDANT, COL_CLIENT_IDIMPORT_ID, INVALID_ID| Constructor and Description |
|---|
Rolle() |
getMandant, setMandantentityHasChanged, getLockingVersion, setLockingVersion, toStringasIntValue, isPersisted, setId, setIdcompareTo, equals, getDBTableName, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDescriptioncompareTopublic static final String ATTR_ROLLENTYP
public static final String ATTR_MODULE
public static final String ATTR_ALLOW_REST
public static final String ATTR_BENUTZER
public static final String ATTR_PROPERTIES
public static final String ATTR_BERECHTIGUNGEN
public static final String ATTR_CLIENT_DASHBOARD
public static final String COL_UUID
public String getUUID()
getUUID in interface IUUIDEntityMandant, Projekt, ...public void setUUID(String uuid)
setUUID in interface IUUIDEntitypublic UUID getUUIDObject()
getUUIDObject in interface IUUIDEntitypublic void setUUIDObject(UUID uuid)
public void setBenutzer(List<Benutzer> benutzer)
benutzer - - der Benutzer, der der Rolle hinzugefügt wurdepublic void addBenutzer(Benutzer benutzer)
public void removeBenutzer(Benutzer benutzer)
public List<Entityberechtigung> getBerechtigungen()
ArrayList mit Entityberechtigung oder eine leere ArrayListpublic void setBerechtigungen(List<Entityberechtigung> berechtigungen)
berechtigungen - - Liste von Berechtigungen die der Rolle hinzugefügt werden sollenpublic void addBerechtigungen(Entityberechtigung berechtigungen)
public void removeBerechtigungen(Entityberechtigung berechtigungen)
public ERollenTyp getRollenTyp()
public void setRollenTyp(ERollenTyp rollenTyp)
public String getName()
getName in interface INameProvidingpublic void setName(String name)
public String getClientDashboard()
null or empty for the default
dashboard.public void setClientDashboard(String clientDashboard)
clientDashboard - The name of the client dashboard plugin to be used for this role. null or empty for
the default dashboard.public void setModule(List<Modul> module)
public void addModul(Modul modul)
public void removeModul(Modul modul)
public String getBeschreibung()
getBeschreibung in interface IDescriptionProvidingpublic void setBeschreibung(String beschreibung)
public Boolean getAllowRest()
public void setAllowRest(Boolean allowRest)
public String getProperties()
public void setProperties(String properties)
public RolleProperties getPropertiesModel()
public boolean getRoleProperty(EAccessProperty prop)
public boolean getRoleProperty(String key)
public void setPropertiesModel(RolleProperties properties)
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.