All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sakaiproject.signup.logic.SignupEmailFacade Maven / Gradle / Ivy

There is a newer version: 23.3
Show newest version
/**
 * Copyright (c) 2007-2014 The Apereo Foundation
 *
 * Licensed under the Educational Community License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *             http://opensource.org/licenses/ecl2
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Educational 
* Community License, Version 2.0 (the "License"); you may not use this file 
* except in compliance with the License. You may obtain a copy of the 
* License at:
*
* http://opensource.org/licenses/ecl2.txt
* 
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.sakaiproject.signup.logic;

import org.sakaiproject.signup.logic.messages.SignupEventTrackingInfo;
import org.sakaiproject.signup.model.SignupMeeting;

/**
 * 

* This is an interface, which provided methods for Signup tool to send emails * out via emailService *

*/ public interface SignupEmailFacade extends SignupMessageTypes { /** * This send email event/meeting informaiotn to all related participants * according to the message type * * @param meeting * a SignupMeeting object * @param messageType * a string type, which classifies what type of message, which * should be emailed away * @throws Exception * thrown if something goes bad */ void sendEmailAllUsers(SignupMeeting meeting, String messageType) throws Exception; /** * Attend will send an email to organizer when he/she sign up * * @param signupEventTrackingInfo * an EventTrackingInfo object, which contains all the * information about user action such as signup and cancel as * well as auto-promotion * @throws Exception * thrown if something goes bad */ void sendEmailToOrganizer(SignupEventTrackingInfo signupEventTrackingInfo) throws Exception; /** * This sends cancellation email to event/meeting organizer as well as to * the people on waiting list, who get promoted due to the attendee's * cancellation * * @param signupEventTrackingInfo * an EventTrackingInfo object, which contains all the * information about user action such as signup and cancel as * well as auto-promotion * @throws Exception * thrown if something goes bad */ void sendCancellationEmail(SignupEventTrackingInfo signupEventTrackingInfo) throws Exception; /** * This will send email to participants by organizer * * @param signupEventTrackingInfo * an EventTrackingInfo object, which contains all the * information about user action such as signup and cancel as * well as auto-promotion * @throws Exception * thrown if something goes bad */ void sendEmailToParticipantsByOrganizerAction(SignupEventTrackingInfo signupEventTrackingInfo) throws Exception; /** * Send email to attendee when they sign up/cancel their attendance * * @param eventTrackingInfo * an EventTrackingInfo object, which contains all the * information about user action such as signup and cancel * @throws Exception * thrown if something goes bad */ void sendEmailToAttendee(SignupEventTrackingInfo signupEventTrackingInfo) throws Exception; /** * Send email to attendee or organizers when they update the comment * * @param eventTrackingInfo * an EventTrackingInfo object, which contains all the * information about user action such as signup and cancel * @throws Exception * thrown if something goes bad */ void sendUpdateCommentEmail(SignupEventTrackingInfo signupEventTrackingInfo) throws Exception; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy