public class DemandDetailAction extends FaxToMailActionSupport
| Modifier and Type | Class and Description |
|---|---|
static class |
DemandDetailAction.EmailUIModel |
| Modifier and Type | Field and Description |
|---|---|
protected InputStream |
attachmentFileInputStream |
protected String |
contentType |
protected DecoratorService |
decoratorService |
protected Email |
demand |
protected EmailService |
emailService |
protected DemandDetailAction.EmailUIModel |
emailUIModel |
protected String |
fileName |
protected String |
id |
protected int |
index |
protected boolean |
original |
protected int |
productTotal |
protected int |
quotationTotal |
protected int |
savTotal |
applicationConfig, EXCLUSION_STRATEGY, gson, GSON_EXCLUSIONS, NEXT, SAVE, session| Constructor and Description |
|---|
DemandDetailAction() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
computeTotals() |
protected void |
decomposeEmail() |
protected void |
decomposeMultipartEmail(javax.mail.Part part,
DemandDetailAction.EmailUIModel emailUIModel)
Decompose a multipart part.
|
String |
decorate(Object o) |
protected String |
decorate(Object o,
String defaultValue) |
String |
decorateUser(FaxToMailUser user) |
String |
dlAttachment() |
String |
dlReplyAttachment() |
String |
execute() |
InputStream |
getAttachmentFileInputStream() |
String |
getContentType() |
Email |
getDemand() |
DemandDetailAction.EmailUIModel |
getEmailUIModel() |
String |
getFileName() |
List<History> |
getHistories() |
String |
getId() |
int |
getProductTotal() |
int |
getQuotationTotal() |
List<DemandDetailAction.EmailUIModel> |
getReplies() |
int |
getSavTotal() |
void |
setDecoratorService(DecoratorService decoratorService) |
void |
setEmailService(EmailService emailService) |
void |
setId(String id) |
void |
setIndex(int index) |
void |
setOriginal(boolean original) |
getApplicationConfig, getAuthenticatedUser, getEnumAsMap, getGson, getSession, isAdmin, isAuthenticated, setApplicationConfig, setSession, toJsonaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected EmailService emailService
protected DecoratorService decoratorService
protected String id
protected boolean original
protected int index
protected Email demand
protected int quotationTotal
protected int productTotal
protected int savTotal
protected DemandDetailAction.EmailUIModel emailUIModel
protected InputStream attachmentFileInputStream
protected String fileName
protected String contentType
public void setEmailService(EmailService emailService)
public void setDecoratorService(DecoratorService decoratorService)
public String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic String getId()
public void setId(String id)
public void setOriginal(boolean original)
public void setIndex(int index)
public Email getDemand()
public int getQuotationTotal()
public int getProductTotal()
public int getSavTotal()
public DemandDetailAction.EmailUIModel getEmailUIModel()
public InputStream getAttachmentFileInputStream()
public String getFileName()
public String getContentType()
public List<DemandDetailAction.EmailUIModel> getReplies() throws Exception
Exceptionpublic String decorateUser(FaxToMailUser user)
protected void computeTotals()
protected void decomposeEmail()
protected void decomposeMultipartEmail(javax.mail.Part part,
DemandDetailAction.EmailUIModel emailUIModel)
throws Exception
part - the part to decomposeExceptionCopyright © 2014–2015 CodeLutin. All rights reserved.