Package de.xima.fc.api.entity
Class ModulAPI
- java.lang.Object
- 
- de.xima.fc.api.ASubAPI
- 
- de.xima.fc.api.entity.AEntityAPI<Modul>
- 
- de.xima.fc.api.entity.ModulAPI
 
 
 
- 
 public class ModulAPI extends AEntityAPI<Modul> API class for manipulation ofModulentities.- Author:
- XIMA MEDIA GmbH
 
- 
- 
Field Summary- 
Fields inherited from class de.xima.fc.api.entity.AEntityAPIentityClass
 
- 
 - 
Constructor SummaryConstructors Constructor Description ModulAPI()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method 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.ModulgetModulByName(UserContext uc, Mandant mandant, String name)Method for determining of a defined module by the name and associated client.- 
Methods inherited from class de.xima.fc.api.entity.AEntityAPIcreate, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
 - 
Methods inherited from class de.xima.fc.api.ASubAPIgetHandlerProvider
 
- 
 
- 
- 
- 
Method Detail- 
getAllByMandantpublic List<Modul> getAllByMandant(UserContext uc, Mandant mandant) Method for determining all modules by a client.- Parameters:
- uc-- UserContextthe user context in which the action is to be performed.
- mandant-- Mandantwhose modules are to be determined.
- Returns:
- Listof- Modules which were found.
- Since:
- 2.4.3
 
 - 
getAllByRollepublic List<Modul> getAllByRolle(UserContext uc, Rolle rolle) Method for determining all modules by a role.- Parameters:
- uc-- UserContextthe user context in which the action is to be performed.
- rolle-- Rollewhose modules are to be determined.
- Returns:
- Listof- Modules.
- Since:
- 2.4.3
 
 - 
getModulByNamepublic Modul getModulByName(UserContext uc, Mandant mandant, String name) Method for determining of a defined module by the name and associated client.- Parameters:
- uc-- UserContextthe user context in which the action is to be performed.
- mandant-- Mandantto which the module is assigned.
- name-- Stringof the modules.
- Returns:
- Modulwith the name or- null, if no match occurs.
 
 
- 
 
-