Class ModulAPI


  • public class ModulAPI
    extends AEntityAPI<Modul>
    API class for manipulation of Modul entities.
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • ModulAPI

        public ModulAPI()
    • Method Detail

      • getAllByMandant

        public List<Modul> getAllByMandant​(UserContext uc,
                                           Mandant mandant)
        Method for determining all modules by a client.
        Parameters:
        uc - UserContext the user context in which the action is to be performed.
        mandant - Mandant whose modules are to be determined.
        Returns:
        List of Modules which were found.
        Since:
        2.4.3
      • getAllByRolle

        public List<Modul> getAllByRolle​(UserContext uc,
                                         Rolle rolle)
        Method for determining all modules by a role.
        Parameters:
        uc - UserContext the user context in which the action is to be performed.
        rolle - Rolle whose modules are to be determined.
        Returns:
        List of Modules.
        Since:
        2.4.3
      • getModulByName

        public Modul getModulByName​(UserContext uc,
                                    Mandant mandant,
                                    String name)
        Method for determining of a defined module by the name and associated client.
        Parameters:
        uc - UserContext the user context in which the action is to be performed.
        mandant - Mandant to which the module is assigned.
        name - String of the modules.
        Returns:
        Modul with the name or null, if no match occurs.