Class SupportBean

    • Constructor Detail

      • SupportBean

        public SupportBean()
    • Method Detail

      • updateData

        public void updateData()
      • updateProjectList

        public void updateProjectList()
      • getMailFrom

        public String getMailFrom()
      • setMailFrom

        public void setMailFrom​(String mailFrom)
      • getSubject

        public String getSubject()
      • setSubject

        public void setSubject​(String subject)
      • getText

        public String getText()
      • setText

        public void setText​(String text)
      • getMaxLogsSize

        public int getMaxLogsSize()
      • setMaxLogsSize

        public void setMaxLogsSize​(int maxLogsSize)
      • getSelectedProjects

        public List<Projekt> getSelectedProjects()
      • setSelectedProjects

        public void setSelectedProjects​(List<Projekt> selectedProjects)
      • getSelectedLogs

        public List<String> getSelectedLogs()
      • setSelectedLogs

        public void setSelectedLogs​(List<String> selectedLogs)
      • getOtherFiles

        public Map<String,​byte[]> getOtherFiles()
      • setOtherFiles

        public void setOtherFiles​(Map<String,​byte[]> otherFiles)
      • 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

        public String getPreviewHeader()
        Returns a summary of the data send when the user click the submit button.
        Returns:
        The summary string.
      • getMailBody

        public String getMailBody()
        Creates the body for the support mail.
        Returns:
        The mail body string.
      • isShowSupportSendForms

        public boolean isShowSupportSendForms()
      • isShowSupportSendLogs

        public boolean isShowSupportSendLogs()
      • getAvailableProjects

        public List<Projekt> getAvailableProjects()
      • getAvailableLogs

        public List<javax.faces.model.SelectItem> getAvailableLogs()
      • handleFileUpload

        public void handleFileUpload​(org.primefaces.event.FileUploadEvent event)
      • removeAttachment

        public void removeAttachment​(String attachmentName)
      • submit

        public void submit()
        Sends the support mail and adds an error message if something goes wrong.
      • reset

        public void reset()