Package com.thortech.xl.vo.workflow
Class EmailNotification
java.lang.Object
com.thortech.xl.vo.workflow.EmailNotification
- All Implemented Interfaces:
Serializable
- Author:
- nkaushik Represents the email notifications defined for the task
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the email template based on which the email to send should be generatedReturns the Key of the Email Template based on which the email to send is generatedgetKey()Returns the Email Notification Definition Key (MEV_KEY)Returns the status for which the email should be sentReturns the Key of the Status based on which the email is sentbooleanReturns whether the email should be sent to the Task AssigneebooleanReturns whether the email should be sent to the RequesterbooleanisUser()Returns whether the email should be sent to the Beneficiary UserbooleanReturns whether the email should be sent to the Beneficiary Users ManagervoidsetAssignee(boolean assignee) Sets whether the email should be sent to the Task AssigneevoidsetEmailTemplate(String emailTemplate) Sets the name of the email template based on which the email to send should be generatedvoidsetEmailTemplateKey(String emailTemplateKey) Sets the Key of the Email Template based on which the email to send is generatedvoidSets the Email Notification Definition Key (MEV_KEY)voidsetRequester(boolean requester) Sets whether the email should be sent to the RequestervoidSets the status for which the email should be sentvoidsetStatusKey(String statusKey) Sets the Key of the Status based on which the email is sentvoidsetUser(boolean user) Sets whether the email should be sent to the beneficiary UservoidsetUserManager(boolean userManager) Sets whether the email should be sent to the Beneficiary Users Manager
-
Constructor Details
-
EmailNotification
public EmailNotification()
-
-
Method Details
-
isAssignee
public boolean isAssignee()Returns whether the email should be sent to the Task Assignee- Returns:
- True if it should be sent, False if not.
-
setAssignee
public void setAssignee(boolean assignee) Sets whether the email should be sent to the Task Assignee- Parameters:
assignee- True if it should be sent, False if not.
-
getEmailTemplate
Returns the name of the email template based on which the email to send should be generated- Returns:
- The Email Template Name.
-
setEmailTemplate
Sets the name of the email template based on which the email to send should be generated- Parameters:
emailTemplate- The Email Template Name to set.
-
isRequester
public boolean isRequester()Returns whether the email should be sent to the Requester- Returns:
- True if it should be sent, False if not.
-
setRequester
public void setRequester(boolean requester) Sets whether the email should be sent to the Requester- Parameters:
requester- True if it should be sent, False if not.
-
getStatus
Returns the status for which the email should be sent- Returns:
- The status.
-
setStatus
Sets the status for which the email should be sent- Parameters:
status- The status to set.
-
isUser
public boolean isUser()Returns whether the email should be sent to the Beneficiary User- Returns:
- True if it should be sent, False if not.
-
setUser
public void setUser(boolean user) Sets whether the email should be sent to the beneficiary User- Parameters:
user- True if it should be sent, False if not.
-
isUserManager
public boolean isUserManager()Returns whether the email should be sent to the Beneficiary Users Manager- Returns:
- True if it should be sent, False if not.
-
setUserManager
public void setUserManager(boolean userManager) Sets whether the email should be sent to the Beneficiary Users Manager- Parameters:
userManager- True if it should be sent, False if not.
-
getKey
Returns the Email Notification Definition Key (MEV_KEY)- Returns:
- The key.
-
setKey
Sets the Email Notification Definition Key (MEV_KEY)- Parameters:
key- The key to set.
-
getEmailTemplateKey
Returns the Key of the Email Template based on which the email to send is generated- Returns:
- The Email Template Key.
-
setEmailTemplateKey
Sets the Key of the Email Template based on which the email to send is generated- Parameters:
emailTemplateKey- The Email Template Key to set.
-
getStatusKey
Returns the Key of the Status based on which the email is sent- Returns:
- The Status Key.
-
setStatusKey
Sets the Key of the Status based on which the email is sent- Parameters:
statusKey- The Status Key to set.
-