public class AdminTemplateEmailSender
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
protected KKAdminIf |
adminEng |
protected AdminCustomer |
customer |
protected java.lang.Object |
obj1 |
protected java.lang.Object |
obj2 |
protected java.lang.Object |
obj3 |
protected java.lang.Object |
obj4 |
protected java.lang.Object |
obj5 |
protected AdminEmailOptions |
options |
protected java.lang.String |
templateName |
Constructor and Description |
---|
AdminTemplateEmailSender() |
Modifier and Type | Method and Description |
---|---|
void |
run()
Sends off the email
|
void |
setup(KKAdminIf eng,
AdminCustomer customer,
java.lang.String templateName,
java.lang.Object obj1,
java.lang.Object obj2,
java.lang.Object obj3,
java.lang.Object obj4,
java.lang.Object obj5,
AdminEmailOptions options)
Used to pass the parameters to the object before calling the run method.
|
protected KKAdminIf adminEng
protected AdminCustomer customer
protected java.lang.String templateName
protected java.lang.Object obj1
protected java.lang.Object obj2
protected java.lang.Object obj3
protected java.lang.Object obj4
protected java.lang.Object obj5
protected AdminEmailOptions options
public void setup(KKAdminIf eng, AdminCustomer customer, java.lang.String templateName, java.lang.Object obj1, java.lang.Object obj2, java.lang.Object obj3, java.lang.Object obj4, java.lang.Object obj5, AdminEmailOptions options)
eng
- the engcustomer
- the customertemplateName
- the templateNameobj1
- the obj1obj2
- the obj2obj3
- the obj3obj4
- the obj4obj5
- the obj5options
- the optionspublic void run()
run
in interface java.lang.Runnable
Copyright © 2018 DS Data Systems UK Ltd.