Package de.xima.fc.gui.common.bean
Class SupportBean
- All Implemented Interfaces:
Serializable
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder -
Field Summary
Fields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<javax.faces.model.SelectItem>Creates the body for the support mail.intReturns a summary of the data send when the user click the submit button.Deprecated.getText()Deprecated.voidhandleFileUpload(org.primefaces.event.FileUploadEvent event) booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidremoveAttachment(String attachmentName) voidreset()voidsetAgreementAccepted(boolean agreementAccepted) voidsetMailFrom(String mailFrom) voidsetMaxLogsSize(int maxLogsSize) voidsetOtherFiles(Map<String, byte[]> otherFiles) voidsetPreview(boolean preview) voidsetSelectedLogs(List<String> selectedLogs) voidsetSelectedProjects(List<Projekt> selectedProjects) voidsetSendForms(boolean sendForms) voidsetSendLogs(boolean sendLogs) voidsetSessionBean(SessionBean sessionBean) Deprecated.voidsetSubject(String subject) voidvoidsetViewBean(ViewBean viewBean) Deprecated.voidsubmit()Sends the support mail and adds an error message if something goes wrong.voidvoidMethods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, findUserContext, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, ucMethods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
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, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, errorMsg, errorMsg, getErrorMessage, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg, msgMethods inherited from class de.xima.fc.gui.common.utils.msg.I18nUtils
getFacesContext, getLocale, rbValue, rbValue, rbValue, rbValueOrDefault, rbValueOrDefault
-
Constructor Details
-
SupportBean
public SupportBean()
-
-
Method Details
-
getMailFrom
-
setMailFrom
-
getSubject
-
setSubject
-
getText
-
setText
-
getMaxLogsSize
public int getMaxLogsSize() -
setMaxLogsSize
public void setMaxLogsSize(int maxLogsSize) -
getSelectedProjects
-
setSelectedProjects
-
getSelectedLogs
-
setSelectedLogs
-
getOtherFiles
-
setOtherFiles
-
isAgreementAccepted
public boolean isAgreementAccepted() -
setAgreementAccepted
public void setAgreementAccepted(boolean agreementAccepted) -
isSendForms
public boolean isSendForms() -
setSendForms
public void setSendForms(boolean sendForms) -
isSendLogs
public boolean isSendLogs() -
setSendLogs
public void setSendLogs(boolean sendLogs) -
isSendSystemInfo
public boolean isSendSystemInfo() -
isPreview
public boolean isPreview() -
setPreview
public void setPreview(boolean preview) -
getPreviewHeader
Returns a summary of the data send when the user click the submit button.- Returns:
- The summary string.
-
getMailBody
Creates the body for the support mail.- Returns:
- The mail body string.
-
isShowSupportSendForms
public boolean isShowSupportSendForms() -
isShowSupportSendLogs
public boolean isShowSupportSendLogs() -
getAvailableProjects
-
getAvailableLogs
-
getSessionBean
Deprecated. -
setSessionBean
Deprecated. -
getViewBean
Deprecated. -
setViewBean
Deprecated. -
updateData
public void updateData() -
updateProjectList
public void updateProjectList() -
handleFileUpload
public void handleFileUpload(org.primefaces.event.FileUploadEvent event) -
removeAttachment
-
submit
public void submit()Sends the support mail and adds an error message if something goes wrong. -
reset
public void reset()
-