Interface CertificateExportBean
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CertificateExportBeanImpl
Common interface for interacting with the certificate export process via the certificate export wizard (dialog).
- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
Method Summary
Modifier and TypeMethodDescriptionstatic CertificateExportBeanReturns an instance of theCertificateExportBeanusing CDI.booleanStarts the certificate export process with the given parameters.
-
Method Details
-
getInstance
Returns an instance of theCertificateExportBeanusing CDI.This method should be used with caution, as it relies on CDI and works only during JSF lifecycle phases, where there is a
FacesContextavailable.- Returns:
- An instance of
CertificateExportBean. - Throws:
javax.enterprise.context.ContextNotActiveException- if called outside a JSF context.
-
startCertificateExport
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.
- 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.
-