|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.manager.property.PropertyManagerGeneric
public class PropertyManagerGeneric
| Constructor Summary | |
|---|---|
PropertyManagerGeneric(PropertyDAO propertyDAO)
|
|
| Method Summary | |
|---|---|
void |
generateDesEncryptionKey()
|
java.lang.Integer |
getBuildNumber()
|
long |
getCacheTime()
|
int |
getCurrentLicenseResourceTotal()
|
java.lang.String |
getDeploymentTitle()
|
java.security.Key |
getDesEncryptionKey()
|
java.lang.String |
getDomain()
|
java.lang.String |
getNotificationEmail()
|
java.lang.String |
getProperty(java.lang.String name)
|
protected Property |
getPropertyObject(java.lang.String name)
|
long |
getSessionTime()
|
SMTPServer |
getSMTPServer()
|
java.lang.String |
getSMTPTemplate()
Deprecated. |
java.lang.String |
getTokenSeed()
|
java.lang.String |
getTrustedProxyServers()
Retrieves a String that contains a list of proxy servers we trust to correctly set the X-Forwarded-For flag. |
boolean |
isCacheEnabled()
|
boolean |
isGzipEnabled()
|
boolean |
isSecureCookie()
|
boolean |
isUsingDatabaseTokenStorage()
|
void |
removeProperty(java.lang.String name)
|
void |
setBuildNumber(java.lang.Integer buildNumber)
|
void |
setCacheEnabled(boolean enabled)
|
void |
setCacheTime(long cacheTime)
|
void |
setCurrentLicenseResourceTotal(int total)
|
void |
setDeploymentTitle(java.lang.String title)
|
void |
setDomain(java.lang.String domain)
|
void |
setGzipEnabled(boolean gzip)
|
void |
setNotificationEmail(java.lang.String notificationEmail)
|
void |
setProperty(java.lang.String name,
java.lang.String value)
|
void |
setSecureCookie(boolean secure)
|
void |
setSessionTime(long time)
|
void |
setSMTPServer(SMTPServer server)
|
void |
setSMTPTemplate(java.lang.String template)
Deprecated. |
void |
setTokenSeed(java.lang.String seed)
|
void |
setTrustedProxyServers(java.lang.String proxyServers)
Persists a String containing a list of proxy servers we trust to correctly set the X-Forwarded-For flag. |
void |
setUsingDatabaseTokenStorage(boolean usingMemoryTokenStorage)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyManagerGeneric(PropertyDAO propertyDAO)
| Method Detail |
|---|
public long getCacheTime()
throws PropertyManagerException
getCacheTime in interface PropertyManagerPropertyManagerExceptionpublic void setCacheTime(long cacheTime)
setCacheTime in interface PropertyManager
public java.lang.String getTokenSeed()
throws PropertyManagerException
getTokenSeed in interface PropertyManagerPropertyManagerExceptionpublic void setTokenSeed(java.lang.String seed)
setTokenSeed in interface PropertyManager
public java.lang.String getDeploymentTitle()
throws PropertyManagerException
getDeploymentTitle in interface PropertyManagerPropertyManagerExceptionpublic void setDeploymentTitle(java.lang.String title)
setDeploymentTitle in interface PropertyManager
public java.lang.String getDomain()
throws PropertyManagerException
getDomain in interface PropertyManagerPropertyManagerExceptionpublic void setDomain(java.lang.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 PropertyManager
public SMTPServer getSMTPServer()
throws PropertyManagerException
getSMTPServer in interface PropertyManagerPropertyManagerExceptionpublic void setSMTPServer(SMTPServer server)
setSMTPServer in interface PropertyManager
public java.security.Key getDesEncryptionKey()
throws PropertyManagerException
getDesEncryptionKey in interface PropertyManagerPropertyManagerException
public void generateDesEncryptionKey()
throws PropertyManagerException
generateDesEncryptionKey in interface PropertyManagerPropertyManagerException@Deprecated public void setSMTPTemplate(java.lang.String template)
setSMTPTemplate in interface PropertyManager
@Deprecated
public java.lang.String getSMTPTemplate()
throws PropertyManagerException
getSMTPTemplate in interface PropertyManagerPropertyManagerExceptionpublic void setCurrentLicenseResourceTotal(int total)
setCurrentLicenseResourceTotal in interface PropertyManagerpublic int getCurrentLicenseResourceTotal()
getCurrentLicenseResourceTotal in interface PropertyManagerpublic void setNotificationEmail(java.lang.String notificationEmail)
setNotificationEmail in interface PropertyManager
public java.lang.String getNotificationEmail()
throws PropertyManagerException
getNotificationEmail in interface PropertyManagerPropertyManagerException
public boolean isGzipEnabled()
throws PropertyManagerException
isGzipEnabled in interface PropertyManagerPropertyManagerExceptionpublic void setGzipEnabled(boolean gzip)
setGzipEnabled in interface PropertyManager
public java.lang.Integer getBuildNumber()
throws PropertyManagerException
getBuildNumber in interface PropertyManagerPropertyManagerExceptionpublic void setBuildNumber(java.lang.Integer buildNumber)
setBuildNumber in interface PropertyManager
public java.lang.String getTrustedProxyServers()
throws PropertyManagerException
manager.proxy.TrustedProxyManagerImpl.
getTrustedProxyServers in interface PropertyManagerPropertyManagerException - If the list of proxy servers could not be found.public void setTrustedProxyServers(java.lang.String proxyServers)
manager.proxy.TrustedProxyManagerImpl.
setTrustedProxyServers in interface PropertyManagerorg.springframework.dao.DataAccessException - If the list of proxy servers could not be saved.
public boolean isUsingDatabaseTokenStorage()
throws PropertyManagerException
isUsingDatabaseTokenStorage in interface PropertyManagerPropertyManagerExceptionpublic void setUsingDatabaseTokenStorage(boolean usingMemoryTokenStorage)
setUsingDatabaseTokenStorage in interface PropertyManagerpublic void removeProperty(java.lang.String name)
removeProperty in interface PropertyManager
protected Property getPropertyObject(java.lang.String name)
throws ObjectNotFoundException
ObjectNotFoundException
public java.lang.String getProperty(java.lang.String name)
throws ObjectNotFoundException
getProperty in interface PropertyManagerObjectNotFoundException
public void setProperty(java.lang.String name,
java.lang.String value)
setProperty in interface PropertyManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||