Interface IMandantHandler

    • Method Detail

      • getByName

        Mandant getByName​(UserContext uc,
                          String name)
        Method for determining a Mandant by his name (case insensitive).
        Parameters:
        uc - UserContext the user context in which the action is to be performed.
        name - String the name of the Mandant (case insensitive).
        Returns:
        Mandant which was searched.
        Since:
        6.0.1
      • getAllByName

        List<Mandant> getAllByName​(UserContext uc,
                                   String name)
        Method for determining all Mandants by name (case insensitive).
        Parameters:
        uc - UserContext the user context in which the action is to be performed.
        name - String the name which is to searched (case insensitive).
        Returns:
        List of Mandant which were found.
        Since:
        6.0.1
      • getCustomAttributes

        @NotNull
        @NotNull Map<String,​String> getCustomAttributes​(UserContext uc,
                                                              Mandant client)
        Gets 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