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 Summary
ConstructorsConstructorDescriptionCertificateExportBeanImpl(CertificateManagementService certificateManagementService, CryptoSettingsService cryptoSettingsService, SessionUserManager userManager, LocaleBean localeBean) -
Method Summary
Modifier and TypeMethodDescriptionorg.primefaces.model.StreamedContentorg.primefaces.model.StreamedContentgetCertificateDownload(Long certificateId) char[]booleanvoidsetPassword(char[] password) voidsetSelectedExportElement(CryptoExportElement selectedExportElement) voidsetSelectedFileType(ICryptoFileType selectedFileType) booleanStarts the certificate export process with the given parameters.
-
Constructor Details
-
CertificateExportBeanImpl
@Inject public CertificateExportBeanImpl(CertificateManagementService certificateManagementService, CryptoSettingsService cryptoSettingsService, SessionUserManager userManager, LocaleBean localeBean) -
CertificateExportBeanImpl
public CertificateExportBeanImpl()
-
-
Method Details
-
getAdvancedCertificateDownload
public org.primefaces.model.StreamedContent getAdvancedCertificateDownload() -
getCertificateDownload
-
isShowPasswordField
public boolean isShowPasswordField() -
setSelectedExportElement
-
startCertificateExport
Description copied from interface:CertificateExportBeanStarts 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:
startCertificateExportin interfaceCertificateExportBean- Parameters:
params- The parameters for starting the certificate export process, including the certificate ID and a callback for the export result.- Returns:
trueif the export process was started successfully,falseotherwise.
-
getCertificate
-
getSupportedExportElements
-
getSelectedExportElement
-
getSelectedFileType
-
setSelectedFileType
-
getPassword
public char[] getPassword() -
setPassword
public void setPassword(char[] password)
-