com.openexchange.mail.transport.config
Class TransportProperties

java.lang.Object
  extended by com.openexchange.mail.transport.config.TransportProperties
All Implemented Interfaces:
ITransportProperties

public final class TransportProperties
extends java.lang.Object
implements ITransportProperties

TransportProperties

Author:
Thorben Betten

Method Summary
 java.lang.String getDefaultTransportProvider()
          Gets the default transport provider
 java.util.Locale getExternalRecipientsLocale()
          Gets the locale to use when composing text sent to external recipients.
static TransportProperties getInstance()
          Gets the singleton instance of TransportProperties
 long getPublishedDocumentTimeToLive()
          Gets the time-to-live in milliseconds for published documents.
 java.lang.String getPublishingInfostoreFolder()
          Gets the name of the publishing infostore folder.
 int getReferencedPartLimit()
          Gets the referencedPartLimit
 boolean isProvideLinksInAttachment()
          Checks if publication links shall be provided in "text/html" file attachment named "links.html".
 boolean isPublishOnExceededQuota()
          Checks if exceeded attachments shall be published rather than throwing an exceeded-quota exception.
 boolean isPublishPrimaryAccountOnly()
          Checks if publishing of email attachments is only enabled for primary account.
 boolean isSendAttachmentToExternalRecipients()
          Checks if attachments shall be sent to external recipients although quota was exceeded.
 boolean publishedDocumentsExpire()
          Determines if published documents should expire.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TransportProperties getInstance()
Gets the singleton instance of TransportProperties

Returns:
The singleton instance of TransportProperties

getReferencedPartLimit

public int getReferencedPartLimit()
Description copied from interface: ITransportProperties
Gets the referencedPartLimit

Specified by:
getReferencedPartLimit in interface ITransportProperties
Returns:
the referencedPartLimit

getDefaultTransportProvider

public java.lang.String getDefaultTransportProvider()
Gets the default transport provider

Returns:
The default transport provider

getPublishingInfostoreFolder

public java.lang.String getPublishingInfostoreFolder()
Gets the name of the publishing infostore folder.

Returns:
The name of the publishing infostore folder

isPublishOnExceededQuota

public boolean isPublishOnExceededQuota()
Checks if exceeded attachments shall be published rather than throwing an exceeded-quota exception.

Returns:
true if exceeded attachments shall be published rather than throwing an exceeded-quota exception; otherwise false

isPublishPrimaryAccountOnly

public boolean isPublishPrimaryAccountOnly()
Checks if publishing of email attachments is only enabled for primary account.

Returns:
true if publishing of email attachments is only enabled for primary account; otherwise false

isSendAttachmentToExternalRecipients

public boolean isSendAttachmentToExternalRecipients()
Checks if attachments shall be sent to external recipients although quota was exceeded.

Returns:
true if attachments shall be sent to external recipients although quota was exceeded; othjerwise false

isProvideLinksInAttachment

public boolean isProvideLinksInAttachment()
Checks if publication links shall be provided in "text/html" file attachment named "links.html".

Returns:
true if publication links shall be provided in "text/html" file attachment; otherwise false

getPublishedDocumentTimeToLive

public long getPublishedDocumentTimeToLive()
Gets the time-to-live in milliseconds for published documents.

Returns:
The time-to-live in milliseconds for published documents

publishedDocumentsExpire

public boolean publishedDocumentsExpire()
Determines if published documents should expire.


getExternalRecipientsLocale

public java.util.Locale getExternalRecipientsLocale()
Gets the locale to use when composing text sent to external recipients.

Returns:
The locale to use when composing text sent to external recipients