Class CertificateExportBeanImpl

java.lang.Object
de.xima.fc.certificate.gui.internal.exporting.CertificateExportBeanImpl
All Implemented Interfaces:
CertificateExportBean, Serializable

@Named("certificateExportBean") @ViewScoped public class CertificateExportBeanImpl extends Object implements CertificateExportBean
Backing bean for certificate export.
Since:
8.5.0
Author:
Norman Lorenz
See Also:
  • Constructor Details

  • Method Details

    • getAdvancedCertificateDownload

      public org.primefaces.model.StreamedContent getAdvancedCertificateDownload()
    • getCertificateDownload

      public org.primefaces.model.StreamedContent getCertificateDownload(Long certificateId)
    • isShowPasswordField

      public boolean isShowPasswordField()
    • setSelectedExportElement

      public void setSelectedExportElement(CryptoExportElement selectedExportElement)
    • startCertificateExport

      public boolean startCertificateExport(CertificateExportStartParams params)
      Description copied from interface: CertificateExportBean
      Starts the certificate export process with the given parameters. Opens the certificate export dialog.

      If there are errors during the export process, they will be shown in the UI.

      Specified by:
      startCertificateExport in interface CertificateExportBean
      Parameters:
      params - The parameters for starting the certificate export process, including the certificate ID and a callback for the export result.
      Returns:
      true if the export process was started successfully, false otherwise.
    • getCertificate

      public CertificateViewModel getCertificate()
    • getSupportedExportElements

      public List<CryptoExportElement> getSupportedExportElements()
    • getSelectedExportElement

      public CryptoExportElement getSelectedExportElement()
    • getSelectedFileType

      public ICryptoFileType getSelectedFileType()
    • setSelectedFileType

      public void setSelectedFileType(ICryptoFileType selectedFileType)
    • getPassword

      public char[] getPassword()
    • setPassword

      public void setPassword(char[] password)