Class MandantMailDataAPI

    • Constructor Detail

      • MandantMailDataAPI

        public MandantMailDataAPI()
    • Method Detail

      • getByClient

        public MandantMailData getByClient​(UserContext uc,
                                           Mandant mandant)
        Method deliver the mail data for the client.
        Parameters:
        uc - UserContext the user context in which the action is to be performed.
        mandant - Mandant the client where the data are associated.
        Returns:
        MandantMailData the mail data for the client.
      • getClientMailAddress

        public javax.mail.Address getClientMailAddress​(UserContext uc,
                                                       Mandant client)
        Gets the client mail address if one has been set. Otherwise it returns the system mail address
        Parameters:
        uc - UserContext the user context in which the action is to be performed.
        client - Mandant the client for which the mail address should be returned
        Returns:
        Address mail address of the client or system mail address if no client mail address has been set