com.j2biz.blogunity.pojo
Class BlogSettings

java.lang.Object
  extended bycom.j2biz.blogunity.pojo.BlogSettings
All Implemented Interfaces:
Serializable

public class BlogSettings
extends Object
implements Serializable

This class contains all possible blog settings.

See Also:
Serialized Form

Constructor Summary
BlogSettings()
           
 
Method Summary
 boolean getAccessLoggingEnabled()
          Returns true, if access logging is enabled for this blog.
 Locale getLanguage()
          Returns language for the blog.
 long getMaxFilesDirectorySize()
          Returns max. size of the blog's "files"-directory (in bytes).
 long getMaxFileUploadSize()
          Returns the maximal possible size for the file uploads.
 long getMaxImagesDirectorySize()
          Returns max. size of the blog's "images"-directory (in bytes).
 long getMaxImageUploadSize()
          Returns maximal possible size for the image uploads.
 boolean getThemeEditingAllowed()
          Returns true, if editing of the blog's theme is allowed.
 boolean isAccessLoggingEnabled()
          Returns true, if access logging is enabled for this blog.
 boolean isThemeEditingAllowed()
          Returns true, if editing of the blog's theme is allowed.
 void setAccessLoggingEnabled(boolean accessLoggingEnabled)
          Sets true, if access logging should be enabled for the blog.
 void setLanguage(Locale language)
          Sets blog's language.
 void setMaxFilesDirectorySize(long maxFilesDirectorySize)
          Sets max. size of the blog's "files"-directory (in bytes).
 void setMaxFileUploadSize(long maxFileUploadSize)
          Sets the maximal possible size for the file uploads
 void setMaxImagesDirectorySize(long maxImagesDirectorySize)
          Sets max. size of the blog's "images"-directory (in bytes).
 void setMaxImageUploadSize(long maxImageUploadSize)
          Sets maximal possible size for the image uploads.
 void setThemeEditingAllowed(boolean themeEditingAllowed)
          Set true, if editing of the blog's theme is allowed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogSettings

public BlogSettings()
Method Detail

isAccessLoggingEnabled

public boolean isAccessLoggingEnabled()
Returns true, if access logging is enabled for this blog.

Returns:

getAccessLoggingEnabled

public boolean getAccessLoggingEnabled()
Returns true, if access logging is enabled for this blog.

Returns:
boolean

setAccessLoggingEnabled

public void setAccessLoggingEnabled(boolean accessLoggingEnabled)
Sets true, if access logging should be enabled for the blog.

Parameters:
accessLoggingEnabled -

getLanguage

public Locale getLanguage()
Returns language for the blog.

Returns:
locale

setLanguage

public void setLanguage(Locale language)
Sets blog's language.

Parameters:
language -

getMaxFilesDirectorySize

public long getMaxFilesDirectorySize()
Returns max. size of the blog's "files"-directory (in bytes).

Returns:
long

setMaxFilesDirectorySize

public void setMaxFilesDirectorySize(long maxFilesDirectorySize)
Sets max. size of the blog's "files"-directory (in bytes).

Parameters:
maxFilesDirectorySize -

getMaxFileUploadSize

public long getMaxFileUploadSize()
Returns the maximal possible size for the file uploads.

Returns:
long

setMaxFileUploadSize

public void setMaxFileUploadSize(long maxFileUploadSize)
Sets the maximal possible size for the file uploads

Parameters:
maxFileUploadSize -

getMaxImagesDirectorySize

public long getMaxImagesDirectorySize()
Returns max. size of the blog's "images"-directory (in bytes).

Returns:
long

setMaxImagesDirectorySize

public void setMaxImagesDirectorySize(long maxImagesDirectorySize)
Sets max. size of the blog's "images"-directory (in bytes).

Parameters:
maxImagesDirectorySize -

getMaxImageUploadSize

public long getMaxImageUploadSize()
Returns maximal possible size for the image uploads.

Returns:
long

setMaxImageUploadSize

public void setMaxImageUploadSize(long maxImageUploadSize)
Sets maximal possible size for the image uploads.

Parameters:
maxImageUploadSize -

getThemeEditingAllowed

public boolean getThemeEditingAllowed()
Returns true, if editing of the blog's theme is allowed. Otherwise returns false.

Returns:
boolean

isThemeEditingAllowed

public boolean isThemeEditingAllowed()
Returns true, if editing of the blog's theme is allowed. Otherwise returns false.

Returns:

setThemeEditingAllowed

public void setThemeEditingAllowed(boolean themeEditingAllowed)
Set true, if editing of the blog's theme is allowed.

Parameters:
themeEditingAllowed -


Copyright (c)j2biz.com