public class RolleAPI extends AEntityAPI<Rolle>
Rolle
-EntitätenentityClass
Constructor and Description |
---|
RolleAPI() |
Modifier and Type | Method and Description |
---|---|
Rolle |
addModulToRolle(UserContext uc,
Rolle rolle,
Modul newModul)
Methode zum Hinzufügen eines Moduls zu einer bestehenden Rolle
|
Rolle |
getAdminRolle(UserContext uc,
Mandant mandant)
Methode zum Ermitteln der Adminrolle eines Mandanten
|
List<Rolle> |
getRollenByModul(UserContext uc,
Modul modul)
Methode zum Ermitteln aller Rollen anhand eines Moduls.
|
create, create, delete, delete, deleteAllBy, deleteById, getAll, getAllBy, getBy, getById, resultTotalCount, update, update
getHandlerProvider
public List<Rolle> getRollenByModul(UserContext uc, Modul modul)
uc
- UserContext
der Benutzerkontext in welchem die Aktion durchgeführt werden sollmodul
- Modul
dessen Rollen ermittelt werden sollenList
aus Rolle
n welche gefunden wurdenpublic Rolle getAdminRolle(UserContext uc, Mandant mandant)
uc
- UserContext
der Benutzerkontext in welchem die Aktion durchgeführt werden sollmandant
- Mandant
dessen Adminrolle gesucht istRolle
des Admins des Mandantenpublic Rolle addModulToRolle(UserContext uc, Rolle rolle, Modul newModul)
uc
- UserContext
der Benutzerkontext in welchem die Aktion durchgeführt werden sollrolle
- Rolle
zu welcher das Modul hinzugefügt werden sollnewModul
- Modul
welches hinzugefügt werden sollRolle
mit dem hinzugefügten Modul
Copyright © 2018 XIMA MEDIA GmbH. All rights reserved.