com.j2biz.blogunity.pojo
Class SystemConfiguration
java.lang.Object
com.j2biz.blogunity.pojo.SystemConfiguration
- All Implemented Interfaces:
- Serializable
- public class SystemConfiguration
- extends Object
- implements Serializable
- Since:
- 0.1
- Author:
- michelson
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemConfiguration
public SystemConfiguration()
getDefaultBlogSettings
public BlogSettings getDefaultBlogSettings()
- Returns:
setDefaultBlogSettings
public void setDefaultBlogSettings(BlogSettings defaultBlogSettings)
- Parameters:
defaultBlogSettings
-
getDefaultUserSettings
public UserSettings getDefaultUserSettings()
- Returns:
setDefaultUserSettings
public void setDefaultUserSettings(UserSettings defaultUserSettings)
- Parameters:
defaultUserSettings
-
getPasswordEncryptionType
public int getPasswordEncryptionType()
- Returns:
setPasswordEncryptionType
public void setPasswordEncryptionType(int passwordEncryptionType)
- Parameters:
passwordEncryptionType
-
getSmtpHost
public String getSmtpHost()
- Returns:
setSmtpHost
public void setSmtpHost(String smtpHost)
getSmtpPassword
public String getSmtpPassword()
- Returns:
setSmtpPassword
public void setSmtpPassword(String smtpPassword)
getSmtpUser
public String getSmtpUser()
- Returns:
setSmtpUser
public void setSmtpUser(String smtpUser)
getSmtpSenderName
public String getSmtpSenderName()
- Returns:
- string
setSmtpSenderName
public void setSmtpSenderName(String smtpSenderName)
getSystemLocale
public Locale getSystemLocale()
- Returns:
- Returns the value of the system's locale.
setSystemLocale
public void setSystemLocale(Locale systemLocale)
- Parameters:
systemLocale
-
getAllowNewUsers
public boolean getAllowNewUsers()
- Returns:
- boolean
isAllowNewUsers
public boolean isAllowNewUsers()
- Returns:
- Returns the allowNewUsers.
setAllowNewUsers
public void setAllowNewUsers(boolean allowNewUsers)
- Parameters:
allowNewUsers
- The allowNewUsers to set.
getDataDir
public String getDataDir()
- Returns:
- Returns the dataDir.
setDataDir
public void setDataDir(String dataDir)
- Parameters:
dataDir
- The dataDir to set.
getTempDir
public String getTempDir()
- Gets the absolute path to the temporary directory, where temporary data
(e.g. file-uploads) will be saved.
- Returns:
- returns the absolute path to the temporary directory.
setTempDir
public void setTempDir(String tempDir)
- Set the absolute path to the temporary directory, where temporary data
(e.g. file-uploads) will be saved.
- Parameters:
tempDir
- is a abolute path to the temporary directory.
getId
public Long getId()
- Returns:
- Returns the id.
setId
public void setId(Long id)
- Parameters:
id
- The id to set.
getValidateNewUsers
public boolean getValidateNewUsers()
- Returns:
- Returns the validateNewUsers.
isValidateNewUsers
public boolean isValidateNewUsers()
- Returns:
- Returns the validateNewUsers.
setValidateNewUsers
public void setValidateNewUsers(boolean validateNewUsers)
- Parameters:
validateNewUsers
- The validateNewUsers to set.
getVelocityPropertiesAsStream
public InputStream getVelocityPropertiesAsStream()
- Returns:
getVelocityProperties
public String getVelocityProperties()
- Returns:
- Returns the velocityProperties.
setVelocityProperties
public void setVelocityProperties(String velocityProperties)
- Parameters:
velocityProperties
- The velocityProperties to set.
getDateFormat
public String getDateFormat()
- Returns:
- Returns the dateFormat.
setDateFormat
public void setDateFormat(String dateFormat)
- Parameters:
dateFormat
- The dateFormat to set.
getDatetimeFormat
public String getDatetimeFormat()
- Returns:
- Returns the datetimeFormat.
setDatetimeFormat
public void setDatetimeFormat(String datetimeFormat)
- Parameters:
datetimeFormat
- The datetimeFormat to set.
getTimeFormat
public String getTimeFormat()
- Returns:
- Returns the timeFormat.
setTimeFormat
public void setTimeFormat(String timeFormat)
- Parameters:
timeFormat
- The timeFormat to set.
getSiteDescription
public String getSiteDescription()
- Returns:
- Returns the siteDescription.
setSiteDescription
public void setSiteDescription(String siteDescription)
- Parameters:
siteDescription
- The siteDescription to set.
getSiteKeywords
public String getSiteKeywords()
- Returns:
- Returns the siteKeywords.
setSiteKeywords
public void setSiteKeywords(String siteKeywords)
- Parameters:
siteKeywords
- The siteKeywords to set.
getSiteTitle
public String getSiteTitle()
- Returns:
- Returns the siteTitle.
setSiteTitle
public void setSiteTitle(String siteTitle)
- Parameters:
siteTitle
- The siteTitle to set.
getRankingOn
public boolean getRankingOn()
- Returns:
- Returns the rankingOn.
isRankingOn
public boolean isRankingOn()
- Returns:
- Returns the rankingOn.
setRankingOn
public void setRankingOn(boolean rankingOn)
- Parameters:
rankingOn
- The rankingOn to set.
getBlogsDirectory
public File getBlogsDirectory()
- Returns the directory where all blog-specific resources are saved.
- Returns:
getUsersDirectory
public File getUsersDirectory()
- Returns the directory where all user-specific resources are saved.
- Returns:
Copyright (c)j2biz.com