public class RolleAPI extends AEntityAPI<Rolle>
Rolle entities.entityClass| Constructor and Description | 
|---|
RolleAPI()  | 
| Modifier and Type | Method and Description | 
|---|---|
Rolle | 
addModulToRolle(UserContext uc,
               Rolle rolle,
               Modul newModul)
Method for adding a module to a existing role. 
 | 
Rolle | 
getAdminRolle(UserContext uc,
             Mandant mandant)
Method for determining a admin role of a client. 
 | 
Rolle | 
getByUUID(UserContext uc,
         Mandant client,
         String uuid)
Returns the role with the given UUID 
 | 
Rolle | 
getByUUID(UserContext uc,
         Mandant client,
         UUID uuid)
Returns the role with the given UUID 
 | 
List<Rolle> | 
getRollenByModul(UserContext uc,
                Modul modul)
Method for determining all roles by a module. 
 | 
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, updategetHandlerProviderpublic List<Rolle> getRollenByModul(UserContext uc, Modul modul)
uc - UserContext the user context in which the action is to be performed.modul - Modul whose roles are to be determined.List of Rolles which were found.public Rolle getAdminRolle(UserContext uc, Mandant mandant)
uc - UserContext the user context in which the action is to be performed.mandant - Mandant whose admin role is wanted.Rolle the client's admin.public Rolle getByUUID(UserContext uc, Mandant client, String uuid)
uc - UserContext to useclient - Mandant context in which to look for roleuuid - String UUID of the roleRolle for the given UUID and clientpublic Rolle getByUUID(UserContext uc, Mandant client, UUID uuid)
uc - UserContext to useclient - Mandant context in which to look for roleuuid - UUID UUID of the roleRolle for the given UUID and clientpublic Rolle addModulToRolle(UserContext uc, Rolle rolle, Modul newModul)
uc - UserContext the user context in which the action is to be performed.rolle - Rolle to which the module should be added.newModul - Modul which should be added.Rolle with the added Modul.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.