public class ModulAPI extends AEntityAPI<Modul>
Modul
entities.entityClass
Constructor and Description |
---|
ModulAPI() |
Modifier and Type | Method and Description |
---|---|
List<Modul> |
getAllByMandant(UserContext uc,
Mandant mandant)
Method for determining all modules by a client.
|
List<Modul> |
getAllByRolle(UserContext uc,
Rolle rolle)
Method for determining all modules by a role.
|
Modul |
getModulByName(UserContext uc,
Mandant mandant,
String name)
Method for determining of a defined module by the name and associated client.
|
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getBy, getById, getById, resultTotalCount, update, update
getHandlerProvider
public List<Modul> getAllByMandant(UserContext uc, Mandant mandant)
uc
- UserContext
the user context in which the action is to be performed.mandant
- Mandant
whose modules are to be determined.List
of Modul
es which were found.public List<Modul> getAllByRolle(UserContext uc, Rolle rolle)
uc
- UserContext
the user context in which the action is to be performed.rolle
- Rolle
whose modules are to be determined.List
of Modul
es.public Modul getModulByName(UserContext uc, Mandant mandant, String name)
uc
- UserContext
the user context in which the action is to be performed.mandant
- Mandant
to which the module is assigned.name
- String
of the modules.Modul
with the name or null
, if no match occurs.Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.