Class ExternalEventPublishServiceImpl
java.lang.Object
ch.tocco.nice2.optional.eventadminextranet.impl.util.ExternalEventPublishServiceImpl
- All Implemented Interfaces:
ExternalEventPublishService
-
Constructor Summary
ConstructorDescriptionExternalEventPublishServiceImpl
(EmailTemplateLoadService emailTemplateLoadService, MailFactory mailFactory, L10N l10N, AddressService addressService) -
Method Summary
-
Constructor Details
-
ExternalEventPublishServiceImpl
public ExternalEventPublishServiceImpl(EmailTemplateLoadService emailTemplateLoadService, MailFactory mailFactory, L10N l10N, AddressService addressService)
-
-
Method Details
-
publish
public Entity publish(Entity eventEntity, EntityManager eventStatusEM) throws PersistException, InterruptedException, MailException, jakarta.mail.internet.AddressException, UnsupportedEncodingException - Specified by:
publish
in interfaceExternalEventPublishService
- Throws:
PersistException
InterruptedException
MailException
jakarta.mail.internet.AddressException
UnsupportedEncodingException
-
sendMail
public void sendMail(String mailTemplate, @Nullable @Nullable Entity fromUserEntity, @Nullable @Nullable Entity toUserEntity, Entity sourceEntity, Locale locale) throws MailException, UnsupportedEncodingException, PersistException, jakarta.mail.internet.AddressException - Specified by:
sendMail
in interfaceExternalEventPublishService
- Throws:
MailException
UnsupportedEncodingException
PersistException
jakarta.mail.internet.AddressException
-