|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.blojsom.blog.database.DatabaseBlog
DatabaseBlog
Constructor Summary | |
DatabaseBlog()
Create a new instance of the database blog |
Method Summary | |
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 |
getBlogBaseAdminURL()
Base admin URL for the blog |
java.lang.String |
getBlogBaseURL()
Base URL for the blog |
java.lang.Boolean |
getBlogCommentsEnabled()
Return whether or not comments are enabled |
java.lang.String |
getBlogCountry()
Country of the blog |
java.lang.String |
getBlogDefaultFlavor()
Get the default flavor for this blog |
java.lang.String |
getBlogDescription()
Description of the blog |
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 |
getBlogId()
Retrieve the blog ID |
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.Boolean |
getBlogPingbacksEnabled()
Return whether or not pingbacks are enabled |
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.Integer |
getId()
Retrieve the unique id |
java.lang.Boolean |
getLinearNavigationEnabled()
Is linear navigation enabled? |
java.util.Map |
getPlugins()
Get a map of the plugins |
java.util.Map |
getProperties()
Get the properties for the blog |
java.lang.String |
getProperty(java.lang.String property)
Get a named property |
java.lang.String |
getProperty(java.lang.String property,
java.lang.String fallback,
boolean allowNullBlank)
Get a named property from the blog |
java.util.Map |
getTemplates()
Get a map of the templates |
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 |
removeProperty(java.lang.String name)
Remove a property from the blog |
void |
setAdminBlogURL(java.lang.String blogAdminURL)
Set the new admin URL for the 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 |
setBlogBaseAdminURL(java.lang.String blogBaseAdminURL)
Set the new base 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 |
setBlogDefaultFlavor(java.lang.String blogDefaultFlavor)
Set the new default flavor for this blog |
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 |
setBlogId(java.lang.String blogID)
Set the blog ID |
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 |
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 |
setId(java.lang.Integer id)
Set the id |
void |
setLinearNavigationEnabled(java.lang.Boolean linearNavigationEnabled)
Set whether or not linear navigation should be enabled |
void |
setPlugins(java.util.Map plugins)
Set the plugins |
void |
setProperties(java.util.Map properties)
Set the properties for the blog |
void |
setProperty(java.lang.String name,
java.lang.String value)
Set a property for the blog |
void |
setTemplates(java.util.Map templates)
Set the templates |
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 |
public DatabaseBlog()
Method Detail |
public java.lang.Integer getId()
getId
in interface Blog
public void setId(java.lang.Integer id)
setId
in interface Blog
id
- Unique IDpublic java.lang.String getBlogId()
getBlogId
in interface Blog
public void setBlogId(java.lang.String blogID)
setBlogId
in interface Blog
blogID
- Blog IDpublic java.util.Map getTemplates()
getTemplates
in interface Blog
public void setTemplates(java.util.Map templates)
setTemplates
in interface Blog
templates
- Map of the templatespublic java.util.Map getPlugins()
getPlugins
in interface Blog
public void setPlugins(java.util.Map plugins)
setPlugins
in interface Blog
plugins
- Pluginspublic java.util.Map getProperties()
getProperties
in interface Blog
public void setProperties(java.util.Map properties)
setProperties
in interface Blog
properties
- Blog propertiespublic java.lang.String getProperty(java.lang.String property)
getProperty
in interface Blog
property
- Property name
public java.lang.String getProperty(java.lang.String property, java.lang.String fallback, boolean allowNullBlank)
getProperty
in interface Blog
property
- Namefallback
- Fallback valueallowNullBlank
- Use the fallback property if allowNullBlank
is false
public java.lang.String getBlogName()
getBlogName
in interface Blog
public java.lang.String getEscapedBlogName()
getEscapedBlogName
in interface Blog
public java.lang.String getBlogDescription()
getBlogDescription
in interface Blog
public java.lang.String getEscapedBlogDescription()
getEscapedBlogDescription
in interface Blog
public java.lang.String getBlogURL()
getBlogURL
in interface Blog
public java.lang.String getBlogBaseAdminURL()
getBlogBaseAdminURL
in interface Blog
public java.lang.String getBlogAdminURL()
getBlogAdminURL
in interface Blog
public java.lang.String getBlogBaseURL()
getBlogBaseURL
in interface Blog
public java.lang.String getBlogLanguage()
getBlogLanguage
in interface Blog
public java.lang.String getBlogCountry()
getBlogCountry
in interface Blog
public int getBlogDisplayEntries()
getBlogDisplayEntries
in interface Blog
public java.lang.String getBlogOwnerEmail()
getBlogOwnerEmail
in interface Blog
public java.lang.String getBlogOwner()
getBlogOwner
in interface Blog
public java.lang.Boolean getBlogCommentsEnabled()
getBlogCommentsEnabled
in interface Blog
public java.lang.Boolean getBlogTrackbacksEnabled()
getBlogTrackbacksEnabled
in interface Blog
true
if trackbacks are enabled, false
otherwisepublic java.lang.Boolean getBlogPingbacksEnabled()
getBlogPingbacksEnabled
in interface Blog
true
if pingbacks are enabled, false
otherwisepublic java.lang.Boolean getBlogEmailEnabled()
getBlogEmailEnabled
in interface Blog
public java.lang.String getBlogDefaultFlavor()
getBlogDefaultFlavor
in interface Blog
public java.lang.Boolean getLinearNavigationEnabled()
getLinearNavigationEnabled
in interface Blog
true
if linear navigation is enabled, false
otherwisepublic java.lang.Boolean getXmlrpcEnabled()
getXmlrpcEnabled
in interface Blog
true
if XML-RPC is enabled, false
otherwisepublic java.lang.String getBlogAdministrationLocaleAsString()
getBlogAdministrationLocaleAsString
in interface Blog
public java.util.Locale getBlogAdministrationLocale()
Locale
object
getBlogAdministrationLocale
in interface Blog
Locale
object for blog administration localepublic java.util.Locale getBlogLocale()
Locale
object from the blog's language and country settings
getBlogLocale
in interface Blog
Locale
object from the blog's language and country settingspublic java.lang.Boolean getUseEncryptedPasswords()
getUseEncryptedPasswords
in interface Blog
true
if encrypted passwords are used, false
otherwisepublic java.lang.String getDigestAlgorithm()
getDigestAlgorithm
in interface Blog
public void setBlogName(java.lang.String blogName)
setBlogName
in interface Blog
blogName
- Blog namepublic void setBlogDescription(java.lang.String blogDescription)
setBlogDescription
in interface Blog
blogDescription
- Blog descriptionpublic void setBlogURL(java.lang.String blogURL)
setBlogURL
in interface Blog
blogURL
- Blog URLpublic void setAdminBlogURL(java.lang.String blogAdminURL)
setAdminBlogURL
in interface Blog
blogAdminURL
- Blog admin URLpublic void setBlogBaseURL(java.lang.String blogBaseURL)
setBlogBaseURL
in interface Blog
blogBaseURL
- Blog base URLpublic void setBlogCountry(java.lang.String blogCountry)
setBlogCountry
in interface Blog
blogCountry
- Blog country codepublic void setBlogLanguage(java.lang.String blogLanguage)
setBlogLanguage
in interface Blog
blogLanguage
- Blog language codepublic void setBlogDisplayEntries(int blogDisplayEntries)
setBlogDisplayEntries
in interface Blog
blogDisplayEntries
- Blog display entriespublic void setBlogOwner(java.lang.String blogOwner)
setBlogOwner
in interface Blog
blogOwner
- Blog ownerpublic void setBlogOwnerEmail(java.lang.String blogOwnerEmail)
setBlogOwnerEmail
in interface Blog
blogOwnerEmail
- Blog owner e-mailpublic void setBlogCommentsEnabled(java.lang.Boolean blogCommentsEnabled)
setBlogCommentsEnabled
in interface Blog
blogCommentsEnabled
- true
if comments are enabled, false
otherwisepublic void setBlogEmailEnabled(java.lang.Boolean blogEmailEnabled)
setBlogEmailEnabled
in interface Blog
blogEmailEnabled
- true
if email of comments and trackbacks is enabled, false
otherwisepublic void setBlogTrackbacksEnabled(java.lang.Boolean blogTrackbacksEnabled)
setBlogTrackbacksEnabled
in interface Blog
blogTrackbacksEnabled
- true
if trackbacks are enabled, false
otherwisepublic void setBlogPingbacksEnabled(java.lang.Boolean blogPingbacksEnabled)
setBlogPingbacksEnabled
in interface Blog
blogPingbacksEnabled
- true
if pingbacks are enabled, false
otherwisepublic void setBlogDefaultFlavor(java.lang.String blogDefaultFlavor)
setBlogDefaultFlavor
in interface Blog
blogDefaultFlavor
- New default blog flavorpublic void setLinearNavigationEnabled(java.lang.Boolean linearNavigationEnabled)
setLinearNavigationEnabled
in interface Blog
linearNavigationEnabled
- true
if linear navigation is enabled, false
otherwisepublic void setXmlrpcEnabled(java.lang.Boolean xmlrpcEnabled)
setXmlrpcEnabled
in interface Blog
xmlrpcEnabled
- true
if XML-RPC is enabled, false
otherwisepublic void setBlogAdministrationLocale(java.lang.String blogAdministrationLocale)
setBlogAdministrationLocale
in interface Blog
blogAdministrationLocale
- Locale string of form language_country_variant
public void setUseEncryptedPasswords(java.lang.Boolean useEncryptedPasswords)
setUseEncryptedPasswords
in interface Blog
useEncryptedPasswords
- true
if MD5 passwords are used, false
otherwisepublic void setBlogAdminURL(java.lang.String blogAdminURL)
setBlogAdminURL
in interface Blog
blogAdminURL
- Blog admin URLpublic void setBlogBaseAdminURL(java.lang.String blogBaseAdminURL)
setBlogBaseAdminURL
in interface Blog
blogBaseAdminURL
- Blog base admin URLpublic void setDigestAlgorithm(java.lang.String digestAlgorithm)
setDigestAlgorithm
in interface Blog
digestAlgorithm
- Digest algorithmpublic void setProperty(java.lang.String name, java.lang.String value)
setProperty
in interface Blog
name
- Property namevalue
- Property valuepublic void removeProperty(java.lang.String name)
removeProperty
in interface Blog
name
- Property name
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |