public class MandantAPI extends AEntityAPI<Mandant>
Mandant entities.entityClass| Constructor and Description |
|---|
MandantAPI() |
| Modifier and Type | Method and Description |
|---|---|
List<Mandant> |
getAllByName(UserContext uc,
String name)
Method for determining all
Mandants by name (case insensitive). |
Mandant |
getByName(UserContext uc,
String name)
Method for determining a
Mandant by his name (case insensitive). |
Mandant |
getByUUID(UserContext uc,
String uuid) |
boolean |
isCreationAllowed(UserContext uc,
Mandant mandant)
Method for checking if the creation of a
Mandant is allowed. |
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getBy, getById, getById, resultTotalCount, update, updategetHandlerProviderpublic Mandant getByName(UserContext uc, String name)
Mandant by his name (case insensitive).uc - UserContext the user context in which the action is to be performed.name - String the name of the Mandant (case insensitive).Mandant which was searched.public List<Mandant> getAllByName(UserContext uc, String name)
Mandants by name (case insensitive).uc - UserContext the user context in which the action is to be performed.name - String the name which is to searched (case insensitive).List of Mandant which were found.public Mandant getByUUID(UserContext uc, String uuid)
public boolean isCreationAllowed(UserContext uc, Mandant mandant)
Mandant is allowed.uc - UserContext the user context in which the action is to be performed.mandant - Mandant which is to check.Boolean if the creation is allowed true, otherwise false.Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.