public class SupportBean extends AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
Constructor and Description |
---|
SupportBean() |
Modifier and Type | Method and Description |
---|---|
List<XLogAppender> |
getAvailableAppenders()
Returns a list of appenders that are writing to a log file.
|
List<Projekt> |
getAvailableProjects() |
Integer |
getLogLimitMinutes() |
String |
getMailBody()
Creates the body for the support mail.
|
String |
getMailFrom() |
Map<String,byte[]> |
getOtherFiles() |
String |
getPreviewHeader()
Returns a summary of the data send when the user click the submit button.
|
List<XLogAppender> |
getSelectedAppenders() |
List<Projekt> |
getSelectedProjects() |
SessionBean |
getSessionBean() |
String |
getSubject() |
String |
getText() |
ViewBean |
getViewBean() |
void |
handleFileUpload(org.primefaces.event.FileUploadEvent event) |
boolean |
isAgreementAccepted() |
boolean |
isPreview() |
boolean |
isSendForms() |
boolean |
isSendLogs() |
boolean |
isSendSystemInfo() |
void |
removeAttachment(String attachmentName) |
void |
reset() |
void |
setAgreementAccepted(boolean agreementAccepted) |
void |
setLogLimitMinutes(Integer logLimitMinutes) |
void |
setMailFrom(String mailFrom) |
void |
setOtherFiles(Map<String,byte[]> otherFiles) |
void |
setPreview(boolean preview) |
void |
setSelectedAppenders(List<XLogAppender> selectedAppenders) |
void |
setSelectedProjects(List<Projekt> selectedProjects) |
void |
setSendForms(boolean sendForms) |
void |
setSendLogs(boolean sendLogs) |
void |
setSessionBean(SessionBean sessionBean) |
void |
setSubject(String subject) |
void |
setText(String text) |
void |
setViewBean(ViewBean viewBean) |
void |
submit()
Sends the support mail and adds an error message if something goes wrong.
|
void |
updateProjectList() |
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
public SessionBean getSessionBean()
public void setSessionBean(SessionBean sessionBean)
public ViewBean getViewBean()
public void setViewBean(ViewBean viewBean)
public void updateProjectList()
public String getMailFrom()
public void setMailFrom(String mailFrom)
public String getSubject()
public void setSubject(String subject)
public String getText()
public void setText(String text)
public Integer getLogLimitMinutes()
public void setLogLimitMinutes(Integer logLimitMinutes)
public List<XLogAppender> getSelectedAppenders()
public void setSelectedAppenders(List<XLogAppender> selectedAppenders)
public boolean isAgreementAccepted()
public void setAgreementAccepted(boolean agreementAccepted)
public boolean isSendForms()
public void setSendForms(boolean sendForms)
public boolean isSendLogs()
public void setSendLogs(boolean sendLogs)
public boolean isSendSystemInfo()
public boolean isPreview()
public void setPreview(boolean preview)
public String getPreviewHeader()
public List<XLogAppender> getAvailableAppenders()
public void handleFileUpload(org.primefaces.event.FileUploadEvent event)
public void removeAttachment(String attachmentName)
public void submit()
public void reset()
public String getMailBody()
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.