@Name(value="emailNotifSenderAction") @Scope(value=EVENT) public class EmailNotificationSenderActionsBean extends InputController implements EmailNotificationSenderActions, Serializable
actionManager, currentDocument, currentUser, eventManager, facesMessages, navigationContext, resourcesAccessor, typeManager, typesTool
Constructor and Description |
---|
EmailNotificationSenderActionsBean() |
Modifier and Type | Method and Description |
---|---|
String |
getCurrentDocumentFullUrl() |
String |
getFromEmail() |
String |
getMailContent() |
String |
getMailSubject() |
List<String> |
getRecipients() |
List<NuxeoPrincipal> |
getToEmail() |
String |
send() |
void |
setCurrentDocumentFullUrl(String currentDocumentFullUrl) |
void |
setFromEmail(String fromEmail) |
void |
setMailContent(String mailContent) |
void |
setMailSubject(String mailSubject) |
void |
setRecipients(List<String> recipients) |
void |
setToEmail(List<NuxeoPrincipal> toEmail) |
computeOutcome, extractReferences, getAdministrator, logDocumentWithName, logDocumentWithTitle, removeDocumentFromList, setFacesMessage
public EmailNotificationSenderActionsBean()
public String send()
send
in interface EmailNotificationSenderActions
public String getMailContent()
getMailContent
in interface EmailNotificationSenderActions
public void setMailContent(String mailContent)
setMailContent
in interface EmailNotificationSenderActions
mailContent
- the mailContent to set.public String getMailSubject()
getMailSubject
in interface EmailNotificationSenderActions
public void setMailSubject(String mailSubject)
setMailSubject
in interface EmailNotificationSenderActions
mailSubject
- the mailSubject to set.public String getFromEmail()
public void setFromEmail(String fromEmail)
fromEmail
- the fromEmail to set.public List<NuxeoPrincipal> getToEmail()
public void setToEmail(List<NuxeoPrincipal> toEmail)
toEmail
- the toEmail to set.public String getCurrentDocumentFullUrl()
public void setCurrentDocumentFullUrl(String currentDocumentFullUrl)
public List<String> getRecipients()
public void setRecipients(List<String> recipients)
Copyright © 2016 Nuxeo SA. All rights reserved.