public class Policy
extends java.lang.Object
| Constructor and Description |
|---|
Policy(boolean showFilenames,
boolean showFilenamesChangeable,
boolean showZipContent,
boolean downloadNotification,
boolean downloadNotificationChangeable,
boolean allowConfidentialMessage,
boolean forceConfidentialMessage,
boolean allowCustomRecipientMessage,
int storageDuration,
int transferLimit,
java.util.Set<PasswordMode> allowedStandardPasswordModes,
java.util.Set<PasswordMode> allowedQuickPasswordModes,
QuickMode quickMode,
boolean quickModeChangeable,
java.util.Set<java.lang.String> failedEmailAddresses)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<PasswordMode> |
getAllowedQuickPasswordModes()
Returns the allowed password modes for a QUICK transfer.
|
java.util.Set<PasswordMode> |
getAllowedStandardPasswordModes()
Returns the allowed password modes for a standard (password based) transfer.
|
java.util.Set<java.lang.String> |
getFailedEmailAddresses()
Gets the set of failed recipient addresses that are not allowed by this policy.
|
QuickMode |
getQuickMode()
Returns the default value for QUICK - whether it is disabled, enabled or enabled if all connections are established.
|
int |
getStorageDuration()
Returns the maximum allowed storage duration for a transfer, in days.
|
int |
getTransferLimit()
Returns the maximum size of a transfer, in MB.
|
boolean |
isAllowConfidentialMessage()
Returns whether it's allowed to send the message as confidential message.
|
boolean |
isAllowCustomRecipientMessage()
Returns whether it's allowed to customize the message for the recipients.
|
boolean |
isDownloadNotification()
Returns whether the sender will be notified about downloads.
|
boolean |
isDownloadNotificationChangeable()
Returns whether it's allowed to modify the default setting for
isDownloadNotification(). |
boolean |
isForceConfidentialMessage()
Returns whether it's enforced that the message is sent as confidential message.
|
boolean |
isQuickModeChangeable()
Returns whether it's allowed to modify the default setting for
getQuickMode(). |
boolean |
isShowFilenames()
Returns whether file names are displayed in the recipient notification by default.
|
boolean |
isShowFilenamesChangeable()
Returns whether it's allowed to modify the default setting for
isShowFilenames(). |
boolean |
isShowZipContent()
Returns whether contents of ZIP files are displayed in the recipient notification by default.
|
public Policy(boolean showFilenames,
boolean showFilenamesChangeable,
boolean showZipContent,
boolean downloadNotification,
boolean downloadNotificationChangeable,
boolean allowConfidentialMessage,
boolean forceConfidentialMessage,
boolean allowCustomRecipientMessage,
int storageDuration,
int transferLimit,
java.util.Set<PasswordMode> allowedStandardPasswordModes,
java.util.Set<PasswordMode> allowedQuickPasswordModes,
QuickMode quickMode,
boolean quickModeChangeable,
java.util.Set<java.lang.String> failedEmailAddresses)
showFilenames - Whether file names are displayed in the recipient notification by default.showFilenamesChangeable - Whether it's allowed to modify the default setting of isShowFilenames().showZipContent - Whether contents of ZIP files are displayed in the recipient notification by default.downloadNotification - Whether the sender will be notified about downloads.downloadNotificationChangeable - Whether it's allowed to modify the default setting of isDownloadNotification().allowConfidentialMessage - Whether it's allowed to send the message as confidential messages.forceConfidentialMessage - Whether it's enforced that the message is sent as confidential messages.allowCustomRecipientMessage - Whether it's allowed to customize the message for the recipients.storageDuration - The maximum allowed storage duration for a transfer, in days.transferLimit - The maximum size of a transfer, in MB. The sum of all files in a transfer cannot exceed the policy's transfer limit.allowedStandardPasswordModes - The allowed password modes for a standard (password based) transfer.allowedQuickPasswordModes - The allowed password modes for a QUICK transfer.quickMode - The default value for QUICK - whether it is disabled, enabled or enabled if all connections are established.quickModeChangeable - Whether it's allowed to modify the default setting for #getQuickMode().failedEmailAddresses - The list of failed recipient addresses that are not allowed by this policy.public boolean isShowFilenames()
true, if file names are displayed, false otherwise.public boolean isShowFilenamesChangeable()
isShowFilenames().true, if the setting is changeable, false otherwise.public boolean isShowZipContent()
true, if the contents of ZIP files are displayed, false otherwise.public boolean isDownloadNotification()
true, if the sender will be notified, false otherwise.public boolean isDownloadNotificationChangeable()
isDownloadNotification().true, if the setting is changeable, false otherwise.public boolean isAllowConfidentialMessage()
true, if it's allowed to send the message as confidential message, false otherwise.public boolean isForceConfidentialMessage()
true, if it's enforced, false otherwise.public boolean isAllowCustomRecipientMessage()
true, if customization is allowed, false otherwise.public int getStorageDuration()
public int getTransferLimit()
public java.util.Set<PasswordMode> getAllowedStandardPasswordModes()
Set of all allowed password modes for a standard (password based) transfer, never null.public java.util.Set<PasswordMode> getAllowedQuickPasswordModes()
Set of all allowed password modes for a QUICK, never null.public QuickMode getQuickMode()
QuickMode determining the default QUICK state.public boolean isQuickModeChangeable()
getQuickMode().true, if the setting is changeable, false otherwise.public java.util.Set<java.lang.String> getFailedEmailAddresses()
Set of Strings with all recipient email addresses that are not allowed by this policy, never null.