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
ConstructorsConstructorDescriptionExternalParticipantActionServiceImpl(Context context, EmailTemplateLoadService emailTemplateLoadService, MailFactory mailFactory, AddressService addressService, L10N l10N, XlsxExportService xlsxExportService, PrincipalService principalService, CommandExecutor commandExecutor, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidexportXls(String[] pks, String entityType, String locale, String exportFileScopeName, String exportFileName) booleanhaveAllParticipantsMail(String[] pks) voidsendMailTemplateToParticipants(String[] pks, String subject, String message, String templateId) send a mail template to selected participantsvoidsendMailToParticipants(String[] pks, String subject, String message) useExternalParticipantActionService.sendMailTemplateToParticipants(String[], String, String, String)withexternalParticipant_contacttemplate
-
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:
bookin interfaceExternalParticipantActionService- Throws:
RpcExecutionExceptionInterruptedExceptionMailExceptionjakarta.mail.internet.AddressExceptionUnsupportedEncodingException
-
decline
public void decline(String[] pks) throws InterruptedException, MailException, jakarta.mail.internet.AddressException, UnsupportedEncodingException - Specified by:
declinein interfaceExternalParticipantActionService- Throws:
InterruptedExceptionMailExceptionjakarta.mail.internet.AddressExceptionUnsupportedEncodingException
-
cancel
public void cancel(String[] pks) throws InterruptedException, MailException, jakarta.mail.internet.AddressException, UnsupportedEncodingException - Specified by:
cancelin interfaceExternalParticipantActionService- Throws:
InterruptedExceptionMailExceptionjakarta.mail.internet.AddressExceptionUnsupportedEncodingException
-
exportXls
public String exportXls(String[] pks, String entityType, String locale, String exportFileScopeName, String exportFileName) throws ReportingException - Specified by:
exportXlsin interfaceExternalParticipantActionService- Throws:
ReportingException
-
sendMailToParticipants
Description copied from interface:ExternalParticipantActionServiceuseExternalParticipantActionService.sendMailTemplateToParticipants(String[], String, String, String)withexternalParticipant_contacttemplate- Specified by:
sendMailToParticipantsin interfaceExternalParticipantActionService
-
sendMailTemplateToParticipants
public void sendMailTemplateToParticipants(String[] pks, String subject, String message, String templateId) Description copied from interface:ExternalParticipantActionServicesend a mail template to selected participants- Specified by:
sendMailTemplateToParticipantsin 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:
haveAllParticipantsMailin interfaceExternalParticipantActionService
-