org.blojsom.blog
Class Blog

java.lang.Object
  extended byorg.blojsom.blog.Blog
All Implemented Interfaces:
BlojsomConstants

public class Blog
extends java.lang.Object
implements BlojsomConstants

Blog

Version:
$Id: Blog.java,v 1.39 2006/01/31 19:10:23 czarneckid Exp $
Author:
David Czarnecki, Mark Lussier, Dan Morrill

Field Summary
 
Fields inherited from interface org.blojsom.util.BlojsomConstants
ADMINISTRATORS_IP, BLOG_ADMIN_URL_IP, BLOG_ADMINISTRATION_LOCALE_IP, BLOG_AUTHORIZATION_IP, BLOG_BASE_URL_IP, BLOG_BLACKLIST_FILE_IP, BLOG_COMMENTS_DIRECTORY_IP, BLOG_COMMENTS_ENABLED_IP, BLOG_COUNTRY_DEFAULT, BLOG_COUNTRY_IP, BLOG_DEFAULT_CATEGORY_EXCLUSION_MAPPING_IP, BLOG_DEFAULT_CATEGORY_MAPPING_IP, BLOG_DEFAULT_FETCHER, BLOG_DEFAULT_FILE_EXTENSION_IP, BLOG_DEFAULT_FLAVOR_IP, BLOG_DEFAULT_PROPERTIES, BLOG_DEPTH_IP, BLOG_DESCRIPTION_IP, BLOG_DIRECTORY_FILTER_IP, BLOG_EMAIL_ENABLED_IP, BLOG_ENTRIES_DISPLAY_DEFAULT, BLOG_ENTRIES_DISPLAY_IP, BLOG_ENTRY_META_DATA_EXTENSION_IP, BLOG_FILE_ENCODING_IP, BLOG_FILE_EXTENSIONS_IP, BLOG_HOME_IP, BLOG_LANGUAGE_DEFAULT, BLOG_LANGUAGE_IP, BLOG_NAME_IP, BLOG_OWNER, BLOG_OWNER_EMAIL, BLOG_PERMISSIONS_IP, BLOG_PINGBACKS_DIRECTORY_IP, BLOG_PINGBACKS_ENABLED_IP, BLOG_PROPERTIES_EXTENSIONS_IP, BLOG_TRACKBACK_DIRECTORY_IP, BLOG_TRACKBACKS_ENABLED_IP, BLOG_URL_IP, BLOJSOM_ALL_CATEGORIES, BLOJSOM_AUTHORIZATION_PROVIDER_IP, BLOJSOM_BLOG, BLOJSOM_BLOG_HOME_IP, BLOJSOM_BROADCASTER_IP, BLOJSOM_CATEGORIES, BLOJSOM_COMMENTS_ENABLED, BLOJSOM_CONFIGURATION_BASE_DIRECTORY_IP, BLOJSOM_CONFIGURATION_IP, BLOJSOM_DATE, BLOJSOM_DATE_ISO8601, BLOJSOM_DATE_OBJECT, BLOJSOM_DATE_UTC, BLOJSOM_DEFAULT_BROADCASTER, BLOJSOM_DEFAULT_CONFIGURATION_BASE_DIRECTORY, BLOJSOM_DEFAULT_RESOURCE_DIRECTORY, BLOJSOM_DEFAULT_RESOURCE_MANAGER, BLOJSOM_DEFAULT_TEMPLATES_DIRECTORY, BLOJSOM_DEFAULT_USER_IP, BLOJSOM_EMAIL_ENABLED, BLOJSOM_ENTRIES, BLOJSOM_FETCHER_IP, BLOJSOM_FLAVOR_CONFIGURATION_IP, BLOJSOM_INSTALLATION_DIRECTORY_IP, BLOJSOM_INSTALLED_LOCALES_IP, BLOJSOM_LAST_MODIFIED, BLOJSOM_LISTENER_CONFIGURATION_IP, BLOJSOM_PERMALINK, BLOJSOM_PERMALINK_NEXT_ENTRY, BLOJSOM_PERMALINK_PREVIOUS_ENTRY, BLOJSOM_PLUGIN_CHAIN, BLOJSOM_PLUGIN_CONFIGURATION_IP, BLOJSOM_PLUGINS, BLOJSOM_REQUESTED_CATEGORY, BLOJSOM_REQUESTED_FLAVOR, BLOJSOM_RESOURCE_DIRECTORY_IP, BLOJSOM_RESOURCE_MANAGER_BUNDLES_IP, BLOJSOM_RESOURCE_MANAGER_CONTEXT_KEY, BLOJSOM_RESOURCE_MANAGER_IP, BLOJSOM_SITE_URL, BLOJSOM_TEMPLATES_DIRECTORY_IP, BLOJSOM_USER, BLOJSOM_USERS_IP, BLOJSOM_VERSION, BLOJSOM_VERSION_NUMBER, CACHE_CONTROL_HTTP_HEADER, CATEGORY_PARAM, COMMENT_EXTENSION, DEFAULT_AUTHORIZATION_PROVIDER, DEFAULT_COMMENTS_DIRECTORY, DEFAULT_DIGEST_ALGORITHM, DEFAULT_DISPATCHER_CONFIGURATION_FILE, DEFAULT_ENTRY_EXTENSION, DEFAULT_FLAVOR_CONFIGURATION_FILE, DEFAULT_FLAVOR_HTML, DEFAULT_METADATA_EXTENSION, DEFAULT_PERMISSIONS_CONFIGURATION_FILE, DEFAULT_PINGBACKS_DIRECTORY, DEFAULT_PLUGIN_CONFIGURATION_FILE, DEFAULT_PROPERTIES_EXTENSIONS, DEFAULT_TRACKBACK_DIRECTORY, DESCRIPTION_KEY, DIGEST_ALGORITHM, FLAVOR_PARAM, HTTP_ETAG, HTTP_LASTMODIFIED, INFINITE_BLOG_DEPTH, ISO_8601_DATE_FORMAT, LINE_SEPARATOR, LINEAR_NAVIGATION_ENABLED_IP, MAX_HASHABLE_LENGTH, NAME_KEY, NO_CACHE_HTTP_HEADER_VALUE, OVERRIDE_LASTMODIFIED_PARAM, PAGE_PARAM, PAGE_PARAM_ARCHIVE, PERMALINK_PARAM, PINGBACK_EXTENSION, PLUGINS_PARAM, PRAGMA_HTTP_HEADER, PREFERRED_SYNDICATION_FLAVOR, RECURSIVE_CATEGORIES, REDIRECT_TO_PARAM, RFC_822_DATE_FORMAT, SHORT_ISO_8601_DATE_FORMAT, TRACKBACK_EXTENSION, USE_ENCRYPTED_PASSWORDS, UTC_DATE_FORMAT, UTF8, WHITESPACE, XMLRPC_ENABLED_IP
 
Constructor Summary
Blog(java.util.Properties blogConfiguration)
          Create a blog with the supplied configuration properties
 
Method Summary
 boolean checkAuthorization(java.lang.String username, java.lang.String password)
          Deprecated.  
 java.util.Map getAuthorization()
          Returns the authorization map for this blog
 java.lang.String getAuthorizedUserEmail(java.lang.String username)
          Return the e-mail address of an authorized user from this blog.
 java.util.Locale getBlogAdministrationLocale()
          Retrieve the blog administration locale as a Locale object
 java.lang.String getBlogAdministrationLocaleAsString()
          Retrieve the blog administration locale as a String
 java.lang.String getBlogAdminURL()
          Admin URL for the blog
 java.lang.String getBlogBaseURL()
          Base URL for the blog
 java.lang.String getBlogCommentsDirectory()
          Get the directory where blog comments will be written to under the individual blog category directories
 java.lang.Boolean getBlogCommentsEnabled()
          Return whether or not comments are enabled
 java.lang.String getBlogCountry()
          Country of the blog
 java.lang.String[] getBlogDefaultCategoryExclusionMappings()
          Return the list of categories that should be excluded from the default category '/'
 java.lang.String getBlogDefaultCategoryExclusionMappingsAsString()
          Return the list of categories that should be excluded from the default category '/' as a String
 java.lang.String[] getBlogDefaultCategoryMappings()
          Return the list of categories that should be mapped to the default category '/'
 java.lang.String getBlogDefaultCategoryMappingsAsString()
          Return the list of categories that should be mapped to the default category '/' as a String
 java.lang.String getBlogDefaultFlavor()
          Get the default flavor for this blog
 int getBlogDepth()
          Return the depth to which blog entries will be searched
 java.lang.String getBlogDescription()
          Description of the blog
 java.lang.String[] getBlogDirectoryFilter()
          Get the list of directories that should be filtered when looking for categories
 int getBlogDisplayEntries()
          Return the number of blog entries to retrieve from the individual categories
 java.lang.Boolean getBlogEmailEnabled()
          Get whether or not email is enabled
 java.lang.String getBlogEntryMetaDataExtension()
          Get the file extension for blog entry meta-data
 java.lang.String getBlogFileEncoding()
          Get the file encoding for blog entries
 java.lang.String[] getBlogFileExtensions()
          Return the list of blog file extensions
 java.lang.String getBlogHome()
          Return the directory where blog entries are stored
 java.lang.String getBlogLanguage()
          Language of the blog
 java.util.Locale getBlogLocale()
          Retrive a Locale object from the blog's language and country settings
 java.lang.String getBlogName()
          Name of the blog
 java.lang.String getBlogOwner()
          Return the blog owner's name
 java.lang.String getBlogOwnerEmail()
          Return the blog owner's e-mail address
 java.lang.String getBlogPingbacksDirectory()
          Get the directory where blog pingbacks will be written to under the individual blog category directories
 java.lang.Boolean getBlogPingbacksEnabled()
          Return whether or not pingbacks are enabled
 java.util.Map getBlogProperties()
          Returns a read-only view of the properties for this blog
 java.lang.String[] getBlogPropertiesExtensions()
          Return the list of blog properties file extensions
 java.lang.String getBlogProperty(java.lang.String propertyName)
          Return a named property from the blog properties
 java.lang.String getBlogTrackbackDirectory()
          Get the directory where blog trackbacks will be written to under the individual blog category directories
 java.lang.Boolean getBlogTrackbacksEnabled()
          Return whether or not trackbacks are enabled
 java.lang.String getBlogURL()
          URL for the blog
 java.lang.String getDigestAlgorithm()
          Retrieve the in-use password digest algorithm
 java.lang.String getEscapedBlogDescription()
          Returns the HTML escaped description of the blog
 java.lang.String getEscapedBlogName()
          Returns the HTML escaped name of the blog
 java.lang.Boolean getLinearNavigationEnabled()
          Is linear navigation enabled?
 java.lang.Boolean getUseEncryptedPasswords()
          Retrieve whether or not MD5 encrypted passwords are used
 java.lang.Boolean getXmlrpcEnabled()
          Is XML-RPC enabled for this blog?
 void setAdminBlogURL(java.lang.String blogAdminURL)
          Set the new admin URL for the blog
 boolean setAuthorization(java.util.Map authorization)
          Set the Username/Password table used for blog authorization.
 void setAuthorizedUserEmail(java.lang.String username, java.lang.String email)
          Set a new e-mail address for an authorized user for this blog.
 void setAuthorizedUserPassword(java.lang.String username, java.lang.String password)
          Set a new password for an authorized user for this blog.
 void setBlogAdministrationLocale(java.lang.String blogAdministrationLocale)
          Set the locale used in the administration console
 void setBlogAdminURL(java.lang.String blogAdminURL)
          Set the new admin URL for the blog
 void setBlogBaseURL(java.lang.String blogBaseURL)
          Set the new base URL for the blog
 void setBlogCommentsEnabled(java.lang.Boolean blogCommentsEnabled)
          Set whether blog comments are enabled
 void setBlogCountry(java.lang.String blogCountry)
          Set the new 2 letter country code for the blog
 void setBlogDefaultCategoryExclusiondMappings(java.lang.String[] blogDefaultCategoryExclusionMappings)
          Set the new default blog category exclusion mappings
 void setBlogDefaultCategoryMappingForFlavor(java.lang.String flavorKey, java.lang.String blogDefaultCategoryMapping)
          Set the new blog default category mapping for a particular flavor
 void setBlogDefaultCategoryMappings(java.lang.String[] blogDefaultCategoryMappings)
          Set the new default blog category mappings
 void setBlogDefaultFlavor(java.lang.String blogDefaultFlavor)
          Set the new default flavor for this blog
 void setBlogDepth(int blogDepth)
          Set the depth to which blojsom should look for directories, where -1 indicates infinite depth search
 void setBlogDescription(java.lang.String blogDescription)
          Set the new description for the blog
 void setBlogDisplayEntries(int blogDisplayEntries)
          Set the number of entries to display at one time, where -1 indicates to display all entries
 void setBlogEmailEnabled(java.lang.Boolean blogEmailEnabled)
          Set whether emails are sent on blog comments and trackbacks
 void setBlogFileEncoding(java.lang.String blogFileEncoding)
          Set the new blog file encoding
 void setBlogFileExtensions(java.lang.String blogFileExtensions)
          Set the new set of blog file extensions
 void setBlogLanguage(java.lang.String blogLanguage)
          Set the new 2 letter language code for the blog
 void setBlogName(java.lang.String blogName)
          Set the new name for the blog
 void setBlogOwner(java.lang.String blogOwner)
          Set the new blog owner name
 void setBlogOwnerEmail(java.lang.String blogOwnerEmail)
          Set the new blog owner e-mail address
 void setBlogPingbacksEnabled(java.lang.Boolean blogPingbacksEnabled)
          Set whether blog pingbacks are enabled
 void setBlogProperty(java.lang.String key, java.lang.String value)
          Set a blog property.
 void setBlogTrackbacksEnabled(java.lang.Boolean blogTrackbacksEnabled)
          Set whether blog trackbacks are enabled
 void setBlogURL(java.lang.String blogURL)
          Set the new URL for the blog
 void setDigestAlgorithm(java.lang.String digestAlgorithm)
          Set the in-use password digest algorithm
 void setLinearNavigationEnabled(java.lang.Boolean linearNavigationEnabled)
          Set whether or not linear navigation should be enabled
 void setUseEncryptedPasswords(java.lang.Boolean useEncryptedPasswords)
          Set whether or not MD5 encrypted passwords are used
 void setXmlrpcEnabled(java.lang.Boolean xmlrpcEnabled)
          Set whether or not XML-RPC is enabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Blog

public Blog(java.util.Properties blogConfiguration)
     throws BlojsomConfigurationException
Create a blog with the supplied configuration properties

Parameters:
blogConfiguration - Blog configuration properties
Throws:
BlojsomConfigurationException - If there is an error configuring the blog
Method Detail

checkAuthorization

public boolean checkAuthorization(java.lang.String username,
                                  java.lang.String password)
Deprecated.  

Check to see if a username and password is valid for this blog. This method will always return false since it has been deprecated.

Parameters:
username - Username of the user
password - Password for the Username
Returns:
This method will always return false since it has been deprecated
See Also:
AuthorizationProvider.authorize(org.blojsom.blog.BlogUser, java.util.Map, java.lang.String, java.lang.String)

getAuthorizedUserEmail

public java.lang.String getAuthorizedUserEmail(java.lang.String username)
Return the e-mail address of an authorized user from this blog. If the username is not in this user's authorized list, a value of null is returned.

Parameters:
username - Authorized username
Returns:
E-mail address of authorized user or null is username is not available
Since:
blojsom 2.14

setAuthorizedUserEmail

public void setAuthorizedUserEmail(java.lang.String username,
                                   java.lang.String email)
Set a new e-mail address for an authorized user for this blog.

Parameters:
username - Username
email - E-mail address
Since:
blojsom 2.14

setAuthorizedUserPassword

public void setAuthorizedUserPassword(java.lang.String username,
                                      java.lang.String password)
Set a new password for an authorized user for this blog.

Parameters:
username - Username
password - Password
Since:
blojsom 2.14

getBlogHome

public java.lang.String getBlogHome()
Return the directory where blog entries are stored

Returns:
Blog home directory

getBlogFileExtensions

public java.lang.String[] getBlogFileExtensions()
Return the list of blog file extensions

Returns:
Blog file extensions

getBlogPropertiesExtensions

public java.lang.String[] getBlogPropertiesExtensions()
Return the list of blog properties file extensions

Returns:
Blog proprties extensions

getBlogDepth

public int getBlogDepth()
Return the depth to which blog entries will be searched

Returns:
Blog depth

getBlogName

public java.lang.String getBlogName()
Name of the blog

Returns:
Blog name

getEscapedBlogName

public java.lang.String getEscapedBlogName()
Returns the HTML escaped name of the blog

Returns:
Name of the blog that has been escaped
Since:
blojsom 1.9.6

getBlogDescription

public java.lang.String getBlogDescription()
Description of the blog

Returns:
Blog description

getEscapedBlogDescription

public java.lang.String getEscapedBlogDescription()
Returns the HTML escaped description of the blog

Returns:
Description of the blog that has been escaped
Since:
blojsom 1.9.6

getBlogURL

public java.lang.String getBlogURL()
URL for the blog

Returns:
Blog URL

getBlogAdminURL

public java.lang.String getBlogAdminURL()
Admin URL for the blog

Returns:
Blog admin URL
Since:
blosjom 2.21

getBlogBaseURL

public java.lang.String getBlogBaseURL()
Base URL for the blog

Returns:
Blog base URL

getBlogLanguage

public java.lang.String getBlogLanguage()
Language of the blog

Returns:
Blog language

getBlogCountry

public java.lang.String getBlogCountry()
Country of the blog

Returns:
Country for the blog
Since:
blojsom 1.9.5

getBlogDisplayEntries

public int getBlogDisplayEntries()
Return the number of blog entries to retrieve from the individual categories

Returns:
Blog entries to retrieve from the individual categories

getBlogDefaultCategoryMappings

public java.lang.String[] getBlogDefaultCategoryMappings()
Return the list of categories that should be mapped to the default category '/'

Returns:
List of categories

getBlogDefaultCategoryExclusionMappings

public java.lang.String[] getBlogDefaultCategoryExclusionMappings()
Return the list of categories that should be excluded from the default category '/'

Returns:
List of categories

getBlogDefaultCategoryMappingsAsString

public java.lang.String getBlogDefaultCategoryMappingsAsString()
Return the list of categories that should be mapped to the default category '/' as a String

Returns:
List of categories
Since:
blojsom 2.12

getBlogDefaultCategoryExclusionMappingsAsString

public java.lang.String getBlogDefaultCategoryExclusionMappingsAsString()
Return the list of categories that should be excluded from the default category '/' as a String

Returns:
List of categories
Since:
blojsom 2.28

setAuthorization

public boolean setAuthorization(java.util.Map authorization)
Set the Username/Password table used for blog authorization.

As of blojsom 2.16, this method can be called more than once.

Parameters:
authorization - HashMap of Usernames and Passwords
Returns:
True is the authorization table was assigned, otherwise false

getAuthorization

public java.util.Map getAuthorization()
Returns the authorization map for this blog

Returns:
Map of authorization usernames/passwords

getBlogOwnerEmail

public java.lang.String getBlogOwnerEmail()
Return the blog owner's e-mail address

Returns:
Blog owner's e-mail

getBlogOwner

public java.lang.String getBlogOwner()
Return the blog owner's name

Returns:
Blog owner's name

getBlogProperties

public java.util.Map getBlogProperties()
Returns a read-only view of the properties for this blog

Returns:
Map of blog properties

getBlogCommentsDirectory

public java.lang.String getBlogCommentsDirectory()
Get the directory where blog comments will be written to under the individual blog category directories

Returns:
Blog comments directory

getBlogDirectoryFilter

public java.lang.String[] getBlogDirectoryFilter()
Get the list of directories that should be filtered when looking for categories

Returns:
Blog directory filter list

getBlogTrackbackDirectory

public java.lang.String getBlogTrackbackDirectory()
Get the directory where blog trackbacks will be written to under the individual blog category directories

Returns:
Blog trackbacks directory

getBlogPingbacksDirectory

public java.lang.String getBlogPingbacksDirectory()
Get the directory where blog pingbacks will be written to under the individual blog category directories

Returns:
Blog pingbacks directory
Since:
blojsom 2.23

getBlogCommentsEnabled

public java.lang.Boolean getBlogCommentsEnabled()
Return whether or not comments are enabled

Returns:
Whether or not comments are enabled

getBlogTrackbacksEnabled

public java.lang.Boolean getBlogTrackbacksEnabled()
Return whether or not trackbacks are enabled

Returns:
true if trackbacks are enabled, false otherwise
Since:
blojsom 1.9.5

getBlogPingbacksEnabled

public java.lang.Boolean getBlogPingbacksEnabled()
Return whether or not pingbacks are enabled

Returns:
true if pingbacks are enabled, false otherwise
Since:
blojsom 2.23

getBlogEmailEnabled

public java.lang.Boolean getBlogEmailEnabled()
Get whether or not email is enabled

Returns:
Whether or not email is enabled

getBlogEntryMetaDataExtension

public java.lang.String getBlogEntryMetaDataExtension()
Get the file extension for blog entry meta-data

Returns:
Meta-data file extension
Since:
blojsom 1.9

getBlogFileEncoding

public java.lang.String getBlogFileEncoding()
Get the file encoding for blog entries

Returns:
File encoding
Since:
blojsom 1.9

getBlogProperty

public java.lang.String getBlogProperty(java.lang.String propertyName)
Return a named property from the blog properties

Parameters:
propertyName - Name of the property to retrieve
Returns:
Property value as a string or null if the property is not found
Since:
blojsom 1.9

getBlogDefaultFlavor

public java.lang.String getBlogDefaultFlavor()
Get the default flavor for this blog

Returns:
Default blog flavor
Since:
blojsom 2.05

setBlogName

public void setBlogName(java.lang.String blogName)
Set the new name for the blog

Parameters:
blogName - Blog name

setBlogDescription

public void setBlogDescription(java.lang.String blogDescription)
Set the new description for the blog

Parameters:
blogDescription - Blog description

setBlogURL

public void setBlogURL(java.lang.String blogURL)
Set the new URL for the blog

Parameters:
blogURL - Blog URL

setAdminBlogURL

public void setAdminBlogURL(java.lang.String blogAdminURL)
Set the new admin URL for the blog

Parameters:
blogAdminURL - Blog admin URL
Since:
blojsom 2.21

setBlogBaseURL

public void setBlogBaseURL(java.lang.String blogBaseURL)
Set the new base URL for the blog

Parameters:
blogBaseURL - Blog base URL

setBlogCountry

public void setBlogCountry(java.lang.String blogCountry)
Set the new 2 letter country code for the blog

Parameters:
blogCountry - Blog country code

setBlogLanguage

public void setBlogLanguage(java.lang.String blogLanguage)
Set the new 2 letter language code for the blog

Parameters:
blogLanguage - Blog language code

setBlogDepth

public void setBlogDepth(int blogDepth)
Set the depth to which blojsom should look for directories, where -1 indicates infinite depth search

Parameters:
blogDepth - Blog directory depth

setBlogDisplayEntries

public void setBlogDisplayEntries(int blogDisplayEntries)
Set the number of entries to display at one time, where -1 indicates to display all entries

Parameters:
blogDisplayEntries - Blog display entries

setBlogDefaultCategoryMappings

public void setBlogDefaultCategoryMappings(java.lang.String[] blogDefaultCategoryMappings)
Set the new default blog category mappings

Parameters:
blogDefaultCategoryMappings - Blog default category mappings

setBlogDefaultCategoryExclusiondMappings

public void setBlogDefaultCategoryExclusiondMappings(java.lang.String[] blogDefaultCategoryExclusionMappings)
Set the new default blog category exclusion mappings

Parameters:
blogDefaultCategoryExclusionMappings - Blog default category exclusion mappings

setBlogOwner

public void setBlogOwner(java.lang.String blogOwner)
Set the new blog owner name

Parameters:
blogOwner - Blog owner

setBlogOwnerEmail

public void setBlogOwnerEmail(java.lang.String blogOwnerEmail)
Set the new blog owner e-mail address

Parameters:
blogOwnerEmail - Blog owner e-mail

setBlogCommentsEnabled

public void setBlogCommentsEnabled(java.lang.Boolean blogCommentsEnabled)
Set whether blog comments are enabled

Parameters:
blogCommentsEnabled - true if comments are enabled, false otherwise

setBlogEmailEnabled

public void setBlogEmailEnabled(java.lang.Boolean blogEmailEnabled)
Set whether emails are sent on blog comments and trackbacks

Parameters:
blogEmailEnabled - true if email of comments and trackbacks is enabled, false otherwise

setBlogTrackbacksEnabled

public void setBlogTrackbacksEnabled(java.lang.Boolean blogTrackbacksEnabled)
Set whether blog trackbacks are enabled

Parameters:
blogTrackbacksEnabled - true if trackbacks are enabled, false otherwise

setBlogPingbacksEnabled

public void setBlogPingbacksEnabled(java.lang.Boolean blogPingbacksEnabled)
Set whether blog pingbacks are enabled

Parameters:
blogPingbacksEnabled - true if pingbacks are enabled, false otherwise
Since:
blojsom 2.23

setBlogFileEncoding

public void setBlogFileEncoding(java.lang.String blogFileEncoding)
Set the new blog file encoding

Parameters:
blogFileEncoding - Blog file encoding

setBlogDefaultCategoryMappingForFlavor

public void setBlogDefaultCategoryMappingForFlavor(java.lang.String flavorKey,
                                                   java.lang.String blogDefaultCategoryMapping)
Set the new blog default category mapping for a particular flavor

Parameters:
flavorKey - Flavor key (must end in blog-default-category-mapping)
blogDefaultCategoryMapping - New blog category mapping

setBlogFileExtensions

public void setBlogFileExtensions(java.lang.String blogFileExtensions)
Set the new set of blog file extensions

Parameters:
blogFileExtensions - Comma-separated list of blog file extensions

setBlogDefaultFlavor

public void setBlogDefaultFlavor(java.lang.String blogDefaultFlavor)
Set the new default flavor for this blog

Parameters:
blogDefaultFlavor - New default blog flavor
Since:
blojsom 2.05

setBlogProperty

public void setBlogProperty(java.lang.String key,
                            java.lang.String value)
Set a blog property. Properties not allowed to be set are blog-home, blog-comments-directory, and blog-trackbacks-directory.

Parameters:
key - Blog property key
value - Blog property value
Since:
blojsom 2.14

getLinearNavigationEnabled

public java.lang.Boolean getLinearNavigationEnabled()
Is linear navigation enabled?

Returns:
true if linear navigation is enabled, false otherwise
Since:
blojsom 2.16

setLinearNavigationEnabled

public void setLinearNavigationEnabled(java.lang.Boolean linearNavigationEnabled)
Set whether or not linear navigation should be enabled

Parameters:
linearNavigationEnabled - true if linear navigation is enabled, false otherwise
Since:
blojsom 2.16

getXmlrpcEnabled

public java.lang.Boolean getXmlrpcEnabled()
Is XML-RPC enabled for this blog?

Returns:
true if XML-RPC is enabled, false otherwise
Since:
blojsom 2.19

setXmlrpcEnabled

public void setXmlrpcEnabled(java.lang.Boolean xmlrpcEnabled)
Set whether or not XML-RPC is enabled

Parameters:
xmlrpcEnabled - true if XML-RPC is enabled, false otherwise
Since:
blojsom 2.19

getBlogAdministrationLocaleAsString

public java.lang.String getBlogAdministrationLocaleAsString()
Retrieve the blog administration locale as a String

Returns:
String of blog administration locale
Since:
blojsom 2.21

getBlogAdministrationLocale

public java.util.Locale getBlogAdministrationLocale()
Retrieve the blog administration locale as a Locale object

Returns:
Locale object for blog administration locale
Since:
blojsom 2.21

setBlogAdministrationLocale

public void setBlogAdministrationLocale(java.lang.String blogAdministrationLocale)
Set the locale used in the administration console

Parameters:
blogAdministrationLocale - Locale string of form language_country_variant
Since:
blojsom 2.21

getBlogLocale

public java.util.Locale getBlogLocale()
Retrive a Locale object from the blog's language and country settings

Returns:
Locale object from the blog's language and country settings
Since:
blojsom 2.21

getUseEncryptedPasswords

public java.lang.Boolean getUseEncryptedPasswords()
Retrieve whether or not MD5 encrypted passwords are used

Returns:
true if encrypted passwords are used, false otherwise
Since:
blojsom 2.24

setUseEncryptedPasswords

public void setUseEncryptedPasswords(java.lang.Boolean useEncryptedPasswords)
Set whether or not MD5 encrypted passwords are used

Parameters:
useEncryptedPasswords - true if MD5 passwords are used, false otherwise
Since:
blojsom 2.24

setBlogAdminURL

public void setBlogAdminURL(java.lang.String blogAdminURL)
Set the new admin URL for the blog

Parameters:
blogAdminURL - Blog admin URL
Since:
blojsom 2.24

getDigestAlgorithm

public java.lang.String getDigestAlgorithm()
Retrieve the in-use password digest algorithm

Returns:
Password digest algorithm

setDigestAlgorithm

public void setDigestAlgorithm(java.lang.String digestAlgorithm)
Set the in-use password digest algorithm

Parameters:
digestAlgorithm - Digest algorithm