org.olat.core.util.mail
Class MailNotificationEditController
java.lang.Object
org.olat.core.gui.control.DefaultController
org.olat.core.util.mail.MailNotificationEditController
- All Implemented Interfaces:
- Controller, ControllerEventListener, Disposable
public class MailNotificationEditController
- extends DefaultController
| 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 |
MailNotificationEditController
public MailNotificationEditController(WindowControl wControl,
UserRequest ureq,
MailTemplate mailTemplate,
boolean useCancel)
- Constructor for the email
- Parameters:
wControl - ureq - mailTemplate - useCancel -
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