Class BusinessUnitEmailServiceImpl
java.lang.Object
ch.tocco.nice2.businessunit.impl.services.BusinessUnitEmailServiceImpl
- All Implemented Interfaces:
BusinessUnitEmailService
@Component
public class BusinessUnitEmailServiceImpl
extends Object
implements BusinessUnitEmailService
-
Constructor Summary
ConstructorDescriptionBusinessUnitEmailServiceImpl
(BusinessUnitManager businessUnitManager, Context context) -
Method Summary
Modifier and TypeMethodDescriptionwhen default_email_sender on the current business unit is filled, return that else, return email.default.from as defined in application.propertieswhen noreply_email_sender on the current business unit is filled, return that else, return email.noreply.from as defined in application.propertiesvoid
setEmailDefaultFrom
(String emailDefaultFrom) void
setEmailNoReplyFrom
(String emailNoReplyFrom)
-
Constructor Details
-
BusinessUnitEmailServiceImpl
-
-
Method Details
-
getDefaultEmailSender
Description copied from interface:BusinessUnitEmailService
when default_email_sender on the current business unit is filled, return that else, return email.default.from as defined in application.properties- Specified by:
getDefaultEmailSender
in interfaceBusinessUnitEmailService
- Returns:
- the email to use as the default mail sender
-
getNoReplyEmailSender
Description copied from interface:BusinessUnitEmailService
when noreply_email_sender on the current business unit is filled, return that else, return email.noreply.from as defined in application.properties- Specified by:
getNoReplyEmailSender
in interfaceBusinessUnitEmailService
- Returns:
- the email to use as the no-reply mail sender
-
setEmailDefaultFrom
-
setEmailNoReplyFrom
-