Class PluginMailEncryptionParams
java.lang.Object
de.xima.fc.plugin.models.params.mail.PluginMailEncryptionParams
- All Implemented Interfaces:
IPluginParameters
,IPluginMailEncryptionParams
,Serializable
Data class that holds the data for the
IPluginMailEncryptionParams
that are passed to the plugin method.- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPluginMailEncryptionParams
(String mailAddress, Mandant client) Creates a new mail encryption parameter instance with the given email address and client. -
Method Summary
Modifier and TypeMethodDescriptionAn email is usually sent in a certain context, such as during a workflow action.A mail address (string converted) to obtain a certificate for
-
Constructor Details
-
PluginMailEncryptionParams
Creates a new mail encryption parameter instance with the given email address and client.- Parameters:
mailAddress
- The mail address for which a certificate is required.client
- The current client, ie. the context in which the email is sent.
-
-
Method Details
-
getMailAddress
Description copied from interface:IPluginMailEncryptionParams
A mail address (string converted) to obtain a certificate for- Specified by:
getMailAddress
in interfaceIPluginMailEncryptionParams
- Returns:
- Mail address
-
getClient
Description copied from interface:IPluginMailEncryptionParams
An email is usually sent in a certain context, such as during a workflow action. This returns the client the user, workflow action etc. belongs to.- Specified by:
getClient
in interfaceIPluginMailEncryptionParams
- Returns:
- The current client, ie. the context in which the email is sent.
null
if no client exists, eg. when sending a system email.
-