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
Mandant s 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) |
Mandant |
getByUUID(UserContext uc,
UUID 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, getAttributes, getAttributes, getBy, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
getHandlerProvider
public 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)
Mandant
s 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 Mandant getByUUID(UserContext uc, UUID 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 © 2021 XIMA MEDIA GmbH. All rights reserved.