@Transactional public class PropertyManagerGeneric extends Object implements InternalPropertyManager
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_SCHEDULED_BACKUP_HOUR |
static int |
DEFAULT_SCHEDULED_BACKUP_MINUTE |
static String |
LOGO_IMAGE_KEY |
| Constructor and Description |
|---|
PropertyManagerGeneric(PropertyDAO propertyDAO,
com.atlassian.event.api.EventPublisher eventPublisher) |
public static final int DEFAULT_SCHEDULED_BACKUP_HOUR
public static final int DEFAULT_SCHEDULED_BACKUP_MINUTE
public static final String LOGO_IMAGE_KEY
public PropertyManagerGeneric(PropertyDAO propertyDAO, com.atlassian.event.api.EventPublisher eventPublisher)
public String getDeploymentTitle() throws PropertyManagerException
getDeploymentTitle in interface PropertyManagerPropertyManagerExceptionpublic void setDeploymentTitle(String title)
setDeploymentTitle in interface PropertyManagerpublic String getDomain()
getDomain in interface PropertyManagerpublic void setDomain(String domain)
setDomain in interface PropertyManagerpublic boolean isSecureCookie()
isSecureCookie in interface PropertyManagerpublic void setSecureCookie(boolean secure)
setSecureCookie in interface PropertyManagerpublic void setCacheEnabled(boolean enabled)
setCacheEnabled in interface PropertyManagerpublic boolean isCacheEnabled()
isCacheEnabled in interface PropertyManagerpublic long getSessionTime()
getSessionTime in interface PropertyManagerpublic void setSessionTime(long time)
setSessionTime in interface PropertyManagerpublic SMTPServer getSMTPServer() throws PropertyManagerException
getSMTPServer in interface PropertyManagerPropertyManagerExceptionpublic void setSMTPServer(SMTPServer server)
setSMTPServer in interface PropertyManagerpublic Key getDesEncryptionKey() throws PropertyManagerException
getDesEncryptionKey in interface PropertyManagerPropertyManagerExceptionpublic void generateDesEncryptionKey()
throws PropertyManagerException
generateDesEncryptionKey in interface PropertyManagerPropertyManagerException@Deprecated public void setSMTPTemplate(String template)
setSMTPTemplate in interface PropertyManager@Deprecated public String getSMTPTemplate() throws PropertyManagerException
getSMTPTemplate in interface PropertyManagerPropertyManagerExceptionpublic void setCurrentLicenseResourceTotal(int total)
setCurrentLicenseResourceTotal in interface PropertyManagerpublic int getCurrentLicenseResourceTotal()
getCurrentLicenseResourceTotal in interface PropertyManagerpublic void setNotificationEmail(String notificationEmail)
setNotificationEmail in interface PropertyManagerpublic void setNotificationEmails(List<String> serverAlertAddresses)
InternalPropertyManagersetNotificationEmails in interface InternalPropertyManagerserverAlertAddresses - list of notification emails.public String getNotificationEmail() throws PropertyManagerException
getNotificationEmail in interface PropertyManagerPropertyManagerExceptionpublic List<String> getNotificationEmails() throws PropertyManagerException
getNotificationEmails in interface InternalPropertyManagerPropertyManagerException - property does not existpublic boolean isGzipEnabled()
throws PropertyManagerException
isGzipEnabled in interface PropertyManagerPropertyManagerExceptionpublic void setGzipEnabled(boolean gzip)
setGzipEnabled in interface PropertyManagerpublic Integer getBuildNumber() throws PropertyManagerException
getBuildNumber in interface PropertyManagerPropertyManagerExceptionpublic void setBuildNumber(Integer buildNumber)
setBuildNumber in interface PropertyManagerpublic String getTrustedProxyServers() throws PropertyManagerException
TrustedProxyManager.getTrustedProxyServers in interface PropertyManagerPropertyManagerException - If the list of proxy servers could not be found.public void setTrustedProxyServers(String proxyServers)
TrustedProxyManager.setTrustedProxyServers in interface PropertyManagerorg.springframework.dao.DataAccessException - If the list of proxy servers could not be saved.public void setAuditLogConfiguration(AuditLogConfiguration newConfiguration)
setAuditLogConfiguration in interface PropertyManagerpublic AuditLogConfiguration getAuditLogConfiguration()
getAuditLogConfiguration in interface PropertyManagerpublic boolean isUsingDatabaseTokenStorage()
isUsingDatabaseTokenStorage in interface PropertyManagerpublic void setUsingDatabaseTokenStorage(boolean isUsingDatabaseTokenStorage)
setUsingDatabaseTokenStorage in interface PropertyManagerpublic boolean isIncludeIpAddressInValidationFactors()
isIncludeIpAddressInValidationFactors in interface PropertyManagerpublic boolean isUseWebAvatars()
isUseWebAvatars in interface PropertyManagerpublic void setUseWebAvatars(boolean useWebAvatars)
setUseWebAvatars in interface PropertyManagerpublic CookieConfiguration getCookieConfiguration()
getCookieConfiguration in interface PropertyManagerpublic void setCookieConfiguration(CookieConfiguration cookieConfiguration)
setCookieConfiguration in interface PropertyManagerpublic void setIncludeIpAddressInValidationFactors(boolean includeIpAddressInValidationFactors)
setIncludeIpAddressInValidationFactors in interface PropertyManagerpublic void setRememberMeConfiguration(com.atlassian.crowd.manager.rememberme.CrowdSpecificRememberMeSettings configuration)
InternalPropertyManagersetRememberMeConfiguration in interface InternalPropertyManagerconfiguration - new configurationpublic com.atlassian.crowd.manager.rememberme.CrowdSpecificRememberMeSettings getRememberMeConfiguration()
InternalPropertyManagergetRememberMeConfiguration in interface InternalPropertyManagerpublic void removeProperty(String name)
removeProperty in interface PropertyManagerprotected Property getPropertyObject(String name) throws ObjectNotFoundException
ObjectNotFoundExceptionpublic String getProperty(String name) throws ObjectNotFoundException
getProperty in interface PropertyManagerObjectNotFoundExceptionpublic Optional<String> getOptionalProperty(String name)
getOptionalProperty in interface PropertyManagerpublic void setProperty(String name, String value)
setProperty in interface PropertyManagerpublic String getString(String property, String defaultValue)
getString in interface PropertyManagerpublic boolean getBoolean(String property, boolean defaultValue)
getBoolean in interface PropertyManagerpublic int getInt(String property, int defaultValue)
getInt in interface PropertyManagerpublic int getIntOrThrowIllegalArgumentException(String property, int defaultValue)
public void setBaseUrl(URI url)
setBaseUrl in interface PropertyManagerpublic URI getBaseUrl() throws PropertyManagerException
getBaseUrl in interface PropertyManagerPropertyManagerExceptionpublic Optional<Long> getPrivateKeyCertificatePairToSign()
getPrivateKeyCertificatePairToSign in interface PropertyManagerpublic void setPrivateKeyCertificateToSign(long privateKeyCertificatePairId)
setPrivateKeyCertificateToSign in interface PropertyManagerpublic BackupConfiguration getBackupConfiguration()
getBackupConfiguration in interface PropertyManagerpublic void saveBackupConfiguration(BackupConfiguration config)
saveBackupConfiguration in interface PropertyManager@Nonnull public Optional<LookAndFeelConfiguration> getLookAndFeelConfiguration() throws PropertyManagerException
getLookAndFeelConfiguration in interface PropertyManagerPropertyManagerExceptionpublic void setLookAndFeelConfiguration(LookAndFeelConfiguration lookAndFeelConfiguration, ImageInfo updatedLogoInfo) throws PropertyManagerException
setLookAndFeelConfiguration in interface PropertyManagerPropertyManagerExceptionpublic void removeLookAndFeelConfiguration()
throws PropertyManagerException
removeLookAndFeelConfiguration in interface PropertyManagerPropertyManagerExceptionpublic Optional<ImageInfo> getLogoImage() throws PropertyManagerException
getLogoImage in interface PropertyManagerPropertyManagerExceptionCopyright © 2023 Atlassian. All rights reserved.