Class ExternalParticipantActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.eventadminextranet.impl.actions.ExternalParticipantActionServiceImpl
- All Implemented Interfaces:
ExternalParticipantActionService
public class ExternalParticipantActionServiceImpl
extends Object
implements ExternalParticipantActionService
-
Constructor Summary
ConstructorDescriptionExternalParticipantActionServiceImpl
(Context context, EmailTemplateLoadService emailTemplateLoadService, MailFactory mailFactory, AddressService addressService, L10N l10N, XlsxExportService xlsxExportService, PrincipalService principalService, CommandExecutor commandExecutor, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
exportXls
(String[] pks, String entityType, String locale, String exportFileScopeName, String exportFileName) boolean
haveAllParticipantsMail
(String[] pks) void
sendMailTemplateToParticipants
(String[] pks, String subject, String message, String templateId) send a mail template to selected participantsvoid
sendMailToParticipants
(String[] pks, String subject, String message) useExternalParticipantActionService.sendMailTemplateToParticipants(String[], String, String, String)
withexternalParticipant_contact
template
-
Constructor Details
-
ExternalParticipantActionServiceImpl
public ExternalParticipantActionServiceImpl(Context context, EmailTemplateLoadService emailTemplateLoadService, MailFactory mailFactory, AddressService addressService, L10N l10N, XlsxExportService xlsxExportService, PrincipalService principalService, CommandExecutor commandExecutor, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
book
public void book(String[] pks) throws RpcExecutionException, InterruptedException, MailException, jakarta.mail.internet.AddressException, UnsupportedEncodingException - Specified by:
book
in interfaceExternalParticipantActionService
- Throws:
RpcExecutionException
InterruptedException
MailException
jakarta.mail.internet.AddressException
UnsupportedEncodingException
-
decline
public void decline(String[] pks) throws InterruptedException, MailException, jakarta.mail.internet.AddressException, UnsupportedEncodingException - Specified by:
decline
in interfaceExternalParticipantActionService
- Throws:
InterruptedException
MailException
jakarta.mail.internet.AddressException
UnsupportedEncodingException
-
cancel
public void cancel(String[] pks) throws InterruptedException, MailException, jakarta.mail.internet.AddressException, UnsupportedEncodingException - Specified by:
cancel
in interfaceExternalParticipantActionService
- Throws:
InterruptedException
MailException
jakarta.mail.internet.AddressException
UnsupportedEncodingException
-
exportXls
public String exportXls(String[] pks, String entityType, String locale, String exportFileScopeName, String exportFileName) throws ReportingException - Specified by:
exportXls
in interfaceExternalParticipantActionService
- Throws:
ReportingException
-
sendMailToParticipants
Description copied from interface:ExternalParticipantActionService
useExternalParticipantActionService.sendMailTemplateToParticipants(String[], String, String, String)
withexternalParticipant_contact
template- Specified by:
sendMailToParticipants
in interfaceExternalParticipantActionService
-
sendMailTemplateToParticipants
public void sendMailTemplateToParticipants(String[] pks, String subject, String message, String templateId) Description copied from interface:ExternalParticipantActionService
send a mail template to selected participants- Specified by:
sendMailTemplateToParticipants
in interfaceExternalParticipantActionService
- Parameters:
pks
- keys of selected participantssubject
- the subject to set into the templatemessage
- the message to set into the templatetemplateId
- the unique id of the template to use
-
haveAllParticipantsMail
- Specified by:
haveAllParticipantsMail
in interfaceExternalParticipantActionService
-