Package de.xima.fc.handler.system
Class MailHandler
- java.lang.Object
 - 
- de.xima.fc.handler.AMSApiHandler
 - 
- de.xima.fc.handler.system.MailHandler
 
 
 
- 
- All Implemented Interfaces:
 IAPIHandler,IMailHandler,Serializable
public class MailHandler extends AMSApiHandler implements IMailHandler
The Class MailHandler.- Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description MailHandler() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleansendClientMail(Mandant client, IBaseMailData mailData)Sends an email as the given clientbooleansendFeedbackMail(UserContext uc, Mandant client, IFeedbackMailData feedbackMailData)Send a feedback mail from the given client.booleansendInviteMail(UserContext uc, Vorgang vorgang, String mailTo, DefaultReplacerParameters params)booleansendLoginChanged(UserContext uc, Benutzer benuter, String passwort)Send login changed.booleansendOptInMail(UserContext uc, Vorgang vorgang)Send a feedback mail from the given client.booleansendResetPasswordMail(UserContext uc, Benutzer user, String url)Sends an email to theBenutzerfor resetting their passwordbooleansendSupportMail(UserContext uc, Mandant client, ISupportInquiryData supportInquiryData)Send a support mail from the given client.- 
Methods inherited from class de.xima.fc.handler.AMSApiHandler
getName 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName 
 - 
 
 - 
 
- 
- 
Method Detail
- 
sendLoginChanged
public boolean sendLoginChanged(UserContext uc, Benutzer benuter, String passwort)
Send login changed.- Specified by:
 sendLoginChangedin interfaceIMailHandlerbenuter- the benuterpasswort- the passwort- Returns:
 - true, if successful
 
 
- 
sendResetPasswordMail
public boolean sendResetPasswordMail(UserContext uc, Benutzer user, String url)
Sends an email to theBenutzerfor resetting their password- Specified by:
 sendResetPasswordMailin interfaceIMailHandler- Parameters:
 uc-UserContextin which the operation should be performeduser-Benutzerwhich should receive the emailurl-Stringurl for resetting the password- Returns:
 Booleanwhether the operation was successful or not
 
- 
sendClientMail
public boolean sendClientMail(Mandant client, IBaseMailData mailData)
Sends an email as the given client- Specified by:
 sendClientMailin interfaceIMailHandler- Parameters:
 client-Mandantsending the emailmailData-IBaseMailDatacontent of the mail- Returns:
 Booleanwhether or not the email could be sent successfully
 
- 
sendSupportMail
public boolean sendSupportMail(UserContext uc, Mandant client, ISupportInquiryData supportInquiryData)
Send a support mail from the given client. If no client is given tries using the system mail settings- Specified by:
 sendSupportMailin interfaceIMailHandler- Parameters:
 uc-UserContextthe user context in which the action is to be performed.client-Mandantfor which to send the mailsupportInquiryData-SupportInquiryDatacontaining support inquiry information- Returns:
 - Whether or not the email was sent successfully
 
 
- 
sendFeedbackMail
public boolean sendFeedbackMail(UserContext uc, Mandant client, IFeedbackMailData feedbackMailData)
Description copied from interface:IMailHandlerSend a feedback mail from the given client. If no client is given, attempt to use the system mail settings.- Specified by:
 sendFeedbackMailin interfaceIMailHandler- Parameters:
 uc-UserContextthe user context in which the action is to be performed.client-Mandantfor which to send the mailfeedbackMailData-IFeedbackMailDatacontaining feedback information- Returns:
 - Whether or not the email was sent successfully
 
 
- 
sendOptInMail
public boolean sendOptInMail(UserContext uc, Vorgang vorgang)
Description copied from interface:IMailHandlerSend a feedback mail from the given client. If no client is given, attempt to use the system mail settings.- Specified by:
 sendOptInMailin interfaceIMailHandler- Parameters:
 uc-UserContextthe user context in which the action is to be performed.vorgang-Vorgangfor which to send the mail- Returns:
 - Whether or not the email was sent successfully
 
 
- 
sendInviteMail
public boolean sendInviteMail(UserContext uc, Vorgang vorgang, String mailTo, DefaultReplacerParameters params)
- Specified by:
 sendInviteMailin interfaceIMailHandler
 
 - 
 
 -