Class PluginMailEncryptionParams
- java.lang.Object
 - 
- de.xima.fc.plugin.models.params.mail.PluginMailEncryptionParams
 
 
- 
- All Implemented Interfaces:
 IPluginParameters,IPluginMailEncryptionParams,Serializable
public class PluginMailEncryptionParams extends Object implements IPluginMailEncryptionParams
Data class that holds the data for theIPluginMailEncryptionParamsthat are passed to the plugin method.- Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description PluginMailEncryptionParams(String mailAddress, Mandant client)Creates a new mail encryption parameter instance with the given email address and client. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MandantgetClient()An email is usually sent in a certain context, such as during a workflow action.StringgetMailAddress()A mail address (string converted) to obtain a certificate for 
 - 
 
- 
- 
Constructor Detail
- 
PluginMailEncryptionParams
public PluginMailEncryptionParams(String mailAddress, Mandant client)
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 Detail
- 
getMailAddress
public String getMailAddress()
Description copied from interface:IPluginMailEncryptionParamsA mail address (string converted) to obtain a certificate for- Specified by:
 getMailAddressin interfaceIPluginMailEncryptionParams- Returns:
 - Mail address
 
 
- 
getClient
public Mandant getClient()
Description copied from interface:IPluginMailEncryptionParamsAn 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:
 getClientin interfaceIPluginMailEncryptionParams- Returns:
 - The current client, ie. the context in which the email is sent. 
nullif no client exists, eg. when sending a system email. 
 
 - 
 
 -