com.atlassian.confluence.setup.settings
Class Settings

java.lang.Object
  extended bycom.atlassian.confluence.setup.settings.Settings
All Implemented Interfaces:
Serializable

public class Settings
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String BRAZILIAN
           
static String CHINESE
           
static String CJK
           
static String CZECH
           
static String DAILY_BACKUP_DIRECTORY
           
static String DEFAULT_DEFAULT_ENCODING
           
static String EMAIL_ADDRESS_MASKED
           
static String EMAIL_ADDRESS_PRIVATE
           
static String EMAIL_ADDRESS_PUBLIC
           
static String ENGLISH
           
static String FRENCH
           
static String GERMAN
           
static String GREEK
           
static String LOCALE_ENGLISH
           
static String LOCALE_GERMAN
           
static String LOCALE_JAPANESE
           
static String LOCALE_RUSSIAN
           
static String RUSSIAN
           
 
Constructor Summary
Settings()
           
Settings(Settings settings)
           
 
Method Summary
 boolean areEmailAddressesPrivate()
           
 String getAttachmentDataStore()
           
 long getAttachmentMaxSize()
           
 String getBaseUrl()
           
 CaptchaSettings getCaptchaSettings()
           
 ColourSchemesSettings getColourSchemesSettings()
           
 CustomHtmlSettings getCustomHtmlSettings()
           
 String getDailyBackupDateFormatPattern()
           
 String getDailyBackupFilePrefix()
           
 String getDefaultEncoding()
           
 String getDefaultSpaceHomepageContent()
           
 String getDefaultSpaceHomepageTitle()
           
 int getDraftSaveInterval()
           
 String getEmailAddressVisibility()
           
 String getGlobalDefaultLocale()
           
 String getIndexingLanguage()
           
 int getMaxAttachmentsInUI()
           
 int getMaxThumbHeight()
           
 int getMaxThumbWidth()
           
 int getNumberOfBreadcrumbAncestors()
           
 ReferrerSettings getReferrerSettings()
           
 String getSiteHomePage()
           
 String getSiteTitle()
           
 String getSiteWelcomeMessage()
           
 TimeZone getTimeZone()
           
 String getWebdavPassword()
           
 String getWebdavServerUrl()
           
 String getWebdavUsername()
           
 boolean isAllowCamelCase()
           
 boolean isAllowRemoteApi()
           
 boolean isAllowRemoteApiAnonymous()
           
 boolean isAllowThreadedComments()
           
 boolean isAllowTrackbacks()
           
 boolean isAlmostSupportPeriodEndMessageOff()
           
 boolean isBackupAttachmentsDaily()
           
 boolean isBaseUrlAdminMessageOff()
           
 boolean isDenyPublicSignup()
           
 boolean isDisableLogo()
           
 boolean isEmailAdminMessageOff()
           
 boolean isEnableWysiwyg()
           
 boolean isExternalUserManagement()
           
 boolean isGzippingResponse()
           
 boolean isNofollowExternalLinks()
           
 boolean isSharedMode()
           
 boolean isUseWysiwygByDefault()
           
 boolean isViewSpaceGoesToSpaceSummary()
           
 boolean isWebdavEnabled()
           
 void setAllowCamelCase(boolean allowCamelCase)
           
 void setAllowRemoteApi(boolean allowRemoteApi)
           
 void setAllowRemoteApiAnonymous(boolean allowRemoteApiAnonymous)
           
 void setAllowThreadedComments(boolean allowThreadedComments)
           
 void setAllowTrackbacks(boolean allowTrackbacks)
           
 void setAlmostSupportPeriodEndMessageOff(boolean almostSupportPeriodEndMessageOff)
           
 void setAttachmentDataStore(String attachmentDataStore)
           
 void setAttachmentMaxSize(long attachmentMaxSize)
           
 void setBackupAttachmentsDaily(boolean backupAttachmentsDaily)
           
 void setBaseUrl(String baseUrl)
           
 void setBaseUrlAdminMessageOff(boolean baseUrlAdminMessageOff)
           
 void setCaptchaSettings(CaptchaSettings captchaSettings)
           
 void setColourSchemesSettings(ColourSchemesSettings colourSchemesSettings)
           
 void setCustomHtmlSettings(CustomHtmlSettings customHtmlSettings)
           
 void setDailyBackupDateFormatPattern(String dailyBackupDateFormatPattern)
           
 void setDailyBackupFilePrefix(String dailyBackupFilePrefix)
           
 void setDefaultEncoding(String defaultEncoding)
           
 void setDefaultSpaceHomepageContent(String defaultSpaceHomepageContent)
           
 void setDefaultSpaceHomepageTitle(String defaultSpaceHomepageTitle)
           
 void setDenyPublicSignup(boolean denyPublicSignup)
           
 void setDisableLogo(boolean disableLogo)
           
 void setDraftSaveInterval(int draftSaveInterval)
           
 void setEmailAddressVisibility(String emailAddressVisibility)
           
 void setEmailAdminMessageOff(boolean emailAdminMessageOff)
           
 void setEnableWysiwyg(boolean enableWysiwyg)
           
 void setExternalUserManagement(boolean externalUserManagement)
           
 void setGlobalDefaultLocale(String localeString)
           
 void setGzippingResponse(boolean gzippingResponse)
           
 void setHostedMode(boolean hostedMode)
          Deprecated. Since 2.3-DR2
 void setIndexingLanguage(String indexingLanguage)
           
 void setMaxAttachmentsInUI(int maxAttachmentsInUI)
           
 void setMaxThumbHeight(int maxThumbHeight)
           
 void setMaxThumbWidth(int maxThumbWidth)
           
 void setNofollowExternalLinks(boolean nofollowExternalLinks)
           
 void setNumberOfBreadcrumbAncestors(int numberOfBreadcrumbAncestors)
           
 void setReferrerSettings(ReferrerSettings referrerSettings)
           
 void setSharedMode(boolean sharedMode)
           
 void setSiteHomePage(String siteHomePage)
           
 void setSiteTitle(String siteTitle)
           
 void setSiteWelcomeMessage(String siteWelcomeMessage)
           
 void setUseWysiwygByDefault(boolean useWysiwygByDefault)
           
 void setViewSpaceGoesToSpaceSummary(boolean viewSpaceGoesToSpaceSummary)
           
 void setWebdavPassword(String webdavPassword)
           
 void setWebdavServerUrl(String webdavServerUrl)
           
 void setWebdavUsername(String webdavUsername)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DEFAULT_ENCODING

public static final String DEFAULT_DEFAULT_ENCODING
See Also:
Constant Field Values

EMAIL_ADDRESS_PUBLIC

public static final String EMAIL_ADDRESS_PUBLIC
See Also:
Constant Field Values

EMAIL_ADDRESS_MASKED

public static final String EMAIL_ADDRESS_MASKED
See Also:
Constant Field Values

EMAIL_ADDRESS_PRIVATE

public static final String EMAIL_ADDRESS_PRIVATE
See Also:
Constant Field Values

DAILY_BACKUP_DIRECTORY

public static final String DAILY_BACKUP_DIRECTORY
See Also:
Constant Field Values

ENGLISH

public static final String ENGLISH
See Also:
Constant Field Values

GERMAN

public static final String GERMAN
See Also:
Constant Field Values

RUSSIAN

public static final String RUSSIAN
See Also:
Constant Field Values

CJK

public static final String CJK
See Also:
Constant Field Values

CHINESE

public static final String CHINESE
See Also:
Constant Field Values

FRENCH

public static final String FRENCH
See Also:
Constant Field Values

GREEK

public static final String GREEK
See Also:
Constant Field Values

BRAZILIAN

public static final String BRAZILIAN
See Also:
Constant Field Values

CZECH

public static final String CZECH
See Also:
Constant Field Values

LOCALE_ENGLISH

public static final String LOCALE_ENGLISH
See Also:
Constant Field Values

LOCALE_GERMAN

public static final String LOCALE_GERMAN
See Also:
Constant Field Values

LOCALE_RUSSIAN

public static final String LOCALE_RUSSIAN
See Also:
Constant Field Values

LOCALE_JAPANESE

public static final String LOCALE_JAPANESE
See Also:
Constant Field Values
Constructor Detail

Settings

public Settings()

Settings

public Settings(Settings settings)
Method Detail

isAllowCamelCase

public boolean isAllowCamelCase()

setAllowCamelCase

public void setAllowCamelCase(boolean allowCamelCase)

isAllowTrackbacks

public boolean isAllowTrackbacks()

setAllowTrackbacks

public void setAllowTrackbacks(boolean allowTrackbacks)

isAllowThreadedComments

public boolean isAllowThreadedComments()

setAllowThreadedComments

public void setAllowThreadedComments(boolean allowThreadedComments)

isViewSpaceGoesToSpaceSummary

public boolean isViewSpaceGoesToSpaceSummary()

setViewSpaceGoesToSpaceSummary

public void setViewSpaceGoesToSpaceSummary(boolean viewSpaceGoesToSpaceSummary)

isExternalUserManagement

public boolean isExternalUserManagement()

setExternalUserManagement

public void setExternalUserManagement(boolean externalUserManagement)

isDenyPublicSignup

public boolean isDenyPublicSignup()

setDenyPublicSignup

public void setDenyPublicSignup(boolean denyPublicSignup)

getReferrerSettings

public ReferrerSettings getReferrerSettings()

setReferrerSettings

public void setReferrerSettings(ReferrerSettings referrerSettings)

getCaptchaSettings

public CaptchaSettings getCaptchaSettings()

setCaptchaSettings

public void setCaptchaSettings(CaptchaSettings captchaSettings)

getSiteHomePage

public String getSiteHomePage()

setSiteHomePage

public void setSiteHomePage(String siteHomePage)

getSiteWelcomeMessage

public String getSiteWelcomeMessage()

setSiteWelcomeMessage

public void setSiteWelcomeMessage(String siteWelcomeMessage)

getEmailAddressVisibility

public String getEmailAddressVisibility()

setEmailAddressVisibility

public void setEmailAddressVisibility(String emailAddressVisibility)

areEmailAddressesPrivate

public boolean areEmailAddressesPrivate()

getAttachmentMaxSize

public long getAttachmentMaxSize()

setAttachmentMaxSize

public void setAttachmentMaxSize(long attachmentMaxSize)

getDefaultEncoding

public String getDefaultEncoding()

setDefaultEncoding

public void setDefaultEncoding(String defaultEncoding)

getMaxThumbHeight

public int getMaxThumbHeight()

setMaxThumbHeight

public void setMaxThumbHeight(int maxThumbHeight)

getMaxThumbWidth

public int getMaxThumbWidth()

setMaxThumbWidth

public void setMaxThumbWidth(int maxThumbWidth)

isBackupAttachmentsDaily

public boolean isBackupAttachmentsDaily()

setBackupAttachmentsDaily

public void setBackupAttachmentsDaily(boolean backupAttachmentsDaily)

getIndexingLanguage

public String getIndexingLanguage()

setIndexingLanguage

public void setIndexingLanguage(String indexingLanguage)

getGlobalDefaultLocale

public String getGlobalDefaultLocale()

setGlobalDefaultLocale

public void setGlobalDefaultLocale(String localeString)

isEmailAdminMessageOff

public boolean isEmailAdminMessageOff()
Returns:
boolean saying whether or not to display reminder for admin to configure email servers

setEmailAdminMessageOff

public void setEmailAdminMessageOff(boolean emailAdminMessageOff)

isBaseUrlAdminMessageOff

public boolean isBaseUrlAdminMessageOff()
Returns:
boolean saying whether or not to display reminder for admin to configure base url if set to 127.0.0.1 or localhost

setBaseUrlAdminMessageOff

public void setBaseUrlAdminMessageOff(boolean baseUrlAdminMessageOff)
Parameters:
baseUrlAdminMessageOff - boolean saying whether or not display reminder for admin to configure base url if set to 127.0.0.1 or localhost

isAlmostSupportPeriodEndMessageOff

public boolean isAlmostSupportPeriodEndMessageOff()
Returns:
boolean saying whether or not to display reminder for support period expiration

setAlmostSupportPeriodEndMessageOff

public void setAlmostSupportPeriodEndMessageOff(boolean almostSupportPeriodEndMessageOff)
Parameters:
almostSupportPeriodEndMessageOff - saying whether or not to display reminder for support period expiration

isAllowRemoteApi

public boolean isAllowRemoteApi()

setAllowRemoteApi

public void setAllowRemoteApi(boolean allowRemoteApi)

isAllowRemoteApiAnonymous

public boolean isAllowRemoteApiAnonymous()

setAllowRemoteApiAnonymous

public void setAllowRemoteApiAnonymous(boolean allowRemoteApiAnonymous)

getMaxAttachmentsInUI

public int getMaxAttachmentsInUI()

setMaxAttachmentsInUI

public void setMaxAttachmentsInUI(int maxAttachmentsInUI)

isGzippingResponse

public boolean isGzippingResponse()

setGzippingResponse

public void setGzippingResponse(boolean gzippingResponse)

setNofollowExternalLinks

public void setNofollowExternalLinks(boolean nofollowExternalLinks)

isNofollowExternalLinks

public boolean isNofollowExternalLinks()

getDailyBackupFilePrefix

public String getDailyBackupFilePrefix()

setDailyBackupFilePrefix

public void setDailyBackupFilePrefix(String dailyBackupFilePrefix)

getDailyBackupDateFormatPattern

public String getDailyBackupDateFormatPattern()

setDailyBackupDateFormatPattern

public void setDailyBackupDateFormatPattern(String dailyBackupDateFormatPattern)

getSiteTitle

public String getSiteTitle()

setSiteTitle

public void setSiteTitle(String siteTitle)

isEnableWysiwyg

public boolean isEnableWysiwyg()

setEnableWysiwyg

public void setEnableWysiwyg(boolean enableWysiwyg)

isUseWysiwygByDefault

public boolean isUseWysiwygByDefault()

setUseWysiwygByDefault

public void setUseWysiwygByDefault(boolean useWysiwygByDefault)

getNumberOfBreadcrumbAncestors

public int getNumberOfBreadcrumbAncestors()

setNumberOfBreadcrumbAncestors

public void setNumberOfBreadcrumbAncestors(int numberOfBreadcrumbAncestors)

isDisableLogo

public boolean isDisableLogo()

setDisableLogo

public void setDisableLogo(boolean disableLogo)

getDraftSaveInterval

public int getDraftSaveInterval()

setDraftSaveInterval

public void setDraftSaveInterval(int draftSaveInterval)

getCustomHtmlSettings

public CustomHtmlSettings getCustomHtmlSettings()

setCustomHtmlSettings

public void setCustomHtmlSettings(CustomHtmlSettings customHtmlSettings)

getColourSchemesSettings

public ColourSchemesSettings getColourSchemesSettings()

setColourSchemesSettings

public void setColourSchemesSettings(ColourSchemesSettings colourSchemesSettings)

getTimeZone

public TimeZone getTimeZone()
Returns:
the server's default time zone. Each user has a preference for the time zone, but if the preference isn't set, it defaults to this value.
See Also:
{@link TimeZone#getDefault()}

getDefaultSpaceHomepageTitle

public String getDefaultSpaceHomepageTitle()

setDefaultSpaceHomepageTitle

public void setDefaultSpaceHomepageTitle(String defaultSpaceHomepageTitle)

getDefaultSpaceHomepageContent

public String getDefaultSpaceHomepageContent()

setDefaultSpaceHomepageContent

public void setDefaultSpaceHomepageContent(String defaultSpaceHomepageContent)

getBaseUrl

public String getBaseUrl()

setBaseUrl

public void setBaseUrl(String baseUrl)

getAttachmentDataStore

public String getAttachmentDataStore()

setAttachmentDataStore

public void setAttachmentDataStore(String attachmentDataStore)

getWebdavServerUrl

public String getWebdavServerUrl()

setWebdavServerUrl

public void setWebdavServerUrl(String webdavServerUrl)

getWebdavUsername

public String getWebdavUsername()

setWebdavUsername

public void setWebdavUsername(String webdavUsername)

getWebdavPassword

public String getWebdavPassword()

setWebdavPassword

public void setWebdavPassword(String webdavPassword)

isWebdavEnabled

public boolean isWebdavEnabled()

isSharedMode

public boolean isSharedMode()

setSharedMode

public void setSharedMode(boolean sharedMode)

setHostedMode

public void setHostedMode(boolean hostedMode)
Deprecated. Since 2.3-DR2



Confluence is developed by Atlassian.