Package de.xima.fc.api.entity
Class MandantAPI
API class for manipulation of 
Mandant entities.- Author:
- XIMA MEDIA GmbH
- 
Field SummaryFields inherited from class de.xima.fc.api.entity.AEntityAPIentityClass
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetAllByName(UserContext uc, String name) Method for determining allMandants by name (case insensitive).getByName(UserContext uc, String name) Method for determining aMandantby his name (case insensitive).getByUUID(UserContext uc, String uuid) getByUUID(UserContext uc, UUID uuid) getCustomAttributes(UserContext uc, Mandant client) Gets the custom properties of this client.booleanisCreationAllowed(UserContext uc, Mandant mandant) Method for checking if the creation of aMandantis allowed.Methods inherited from class de.xima.fc.api.entity.AEntityAPIcreate, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, updateMethods inherited from class de.xima.fc.api.ASubAPIgetHandlerProvider
- 
Constructor Details- 
MandantAPIpublic MandantAPI()
 
- 
- 
Method Details- 
getByNameMethod for determining aMandantby his name (case insensitive).- Parameters:
- uc-- UserContextthe user context in which the action is to be performed.
- name-- Stringthe name of the- Mandant(case insensitive).
- Returns:
- Mandantwhich was searched.
- Since:
- 2.4.3
 
- 
getAllByNameMethod for determining allMandants by name (case insensitive).- Parameters:
- uc-- UserContextthe user context in which the action is to be performed.
- name-- Stringthe name which is to searched (case insensitive).
- Returns:
- Listof- Mandantwhich were found.
- Since:
- 2.4.3
 
- 
getCustomAttributesGets the custom properties of this client. This method is needed when the map of the custom properties hasn't yet been initialized.- Parameters:
- uc- User context for database transactions.
- client- the client to get the custom properties for.
- Returns:
- a map of all the custom properties of the client.
- Since:
- 8.0.0
 
- 
getByUUID
- 
getByUUID
- 
isCreationAllowedMethod for checking if the creation of aMandantis allowed.- Parameters:
- uc-- UserContextthe user context in which the action is to be performed.
- mandant-- Mandantwhich is to check.
- Returns:
- Booleanif the creation is allowed true, otherwise false.
 
 
-