org.olat.core.util.mail
Class MailNotificationEditController

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.core.util.mail.MailNotificationEditController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable

public class MailNotificationEditController
extends DefaultController


Constructor Summary
MailNotificationEditController(WindowControl wControl, UserRequest ureq, MailTemplate mailTemplate, boolean useCancel)
          Constructor for the email
 
Method Summary
 void event(UserRequest ureq, Component source, Event event)
          abstract event method for subclasses.
 MailTemplate getMailTemplate()
           
 boolean isTemplateChanged()
           
 
Methods inherited from class org.olat.core.gui.control.DefaultController
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, dispose, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MailNotificationEditController

public MailNotificationEditController(WindowControl wControl,
                                      UserRequest ureq,
                                      MailTemplate mailTemplate,
                                      boolean useCancel)
Constructor for the email

Parameters:
wControl -
ureq -
mailTemplate -
useCancel -
Method Detail

event

public void event(UserRequest ureq,
                  Component source,
                  Event event)
Description copied from class: DefaultController
abstract event method for subclasses. the event received from the component we are listening to are always rerouted to this method here, except when the component has been disposed, in which case the events are simply ignored.


getMailTemplate

public MailTemplate getMailTemplate()
Returns:
The mail template containing the configured mail or null if user decided to not send a mail

isTemplateChanged

public boolean isTemplateChanged()
Returns:
Boolean