Class MailingListActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.event.api.actions.EventUserActionServiceImpl
ch.tocco.nice2.optional.event.api.actions.MailingListActionServiceImpl
- All Implemented Interfaces:
EventUserActionService
,MailingListActionService
public class MailingListActionServiceImpl
extends EventUserActionServiceImpl
implements MailingListActionService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.event.api.actions.EventUserActionService
EventUserActionService.EventUserPermission
-
Field Summary
Fields inherited from class ch.tocco.nice2.optional.event.api.actions.EventUserActionServiceImpl
businessUnitManager, context, defaultDisplayService, emailTemplateLoadService, mailFactory, principalService, queryBuilderFactory, securityManager, textResources, uploadService
-
Constructor Summary
ConstructorDescriptionMailingListActionServiceImpl
(Context context, QueryBuilderFactory queryBuilderFactory, DefaultDisplayService defaultDisplayService, TextResources textResources, MailFactory mailFactory, BusinessUnitManager businessUnitManager, PrincipalService principalService, SecurityManager securityManager, EmailTemplateLoadService emailTemplateLoadService, UploadService uploadService) -
Method Summary
Methods inherited from class ch.tocco.nice2.optional.event.api.actions.EventUserActionServiceImpl
check, getEmailTemplateText, getEventSearchData, getEventSearchData, getListData, getRelevantStatus, isNullOrEmpty, setRelationHandler
-
Constructor Details
-
MailingListActionServiceImpl
public MailingListActionServiceImpl(Context context, QueryBuilderFactory queryBuilderFactory, DefaultDisplayService defaultDisplayService, TextResources textResources, MailFactory mailFactory, BusinessUnitManager businessUnitManager, PrincipalService principalService, SecurityManager securityManager, EmailTemplateLoadService emailTemplateLoadService, UploadService uploadService)
-
-
Method Details
-
send
public void send(String[] selection, String eventKey, String subject, String text, boolean ccToUser, String ccToOthers, String inMailCc, String fileId) throws RpcExecutionException, jakarta.mail.internet.AddressException, MailException, jakarta.activation.MimeTypeParseException, IOException, UploadServiceException - Specified by:
send
in interfaceMailingListActionService
- Throws:
RpcExecutionException
jakarta.mail.internet.AddressException
MailException
jakarta.activation.MimeTypeParseException
IOException
UploadServiceException
-
getFromAddress
protected jakarta.mail.internet.InternetAddress getFromAddress(String loggedInEmail) throws jakarta.mail.internet.AddressException - Throws:
jakarta.mail.internet.AddressException
-
getUserEmailField
-