org.mmbase.applications.mmbob
Class ForumsConfig

java.lang.Object
  extended by org.mmbase.applications.mmbob.ForumsConfig

public class ForumsConfig
extends Object

forumManager ToDo: Write docs!

Author:
Daniel Ockeloen (MMBased)
To Do:
This class looks remarkably like ForumConfig. Something's odd.

Constructor Summary
ForumsConfig()
           
ForumsConfig(DocumentReader reader, Element n)
           
 
Method Summary
 void addWordFilter(String name, String value)
           
 String getAccountCreationType()
           
 String getAccountRemovalType()
           
 String getAvatarsGalleryEnabled()
           
 String getAvatarsUploadEnabled()
           
 String getContactInfoEnabled()
           
 String getDefaultAccount()
           
 String getDefaultPassword()
           
 Element getElement()
           
 String getEmailtext(String role)
           
 String getExternalRootUrl()
           
 Map getFieldaliases()
           
 HashMap getFilterWords()
           
 String getFooterPath()
           
 ForumConfig getForumConfig(String id)
           
 String getFromEmailAddress()
           
 String getGuestReadModeType()
           
 String getGuestWriteModeType()
           
 String getHeaderPath()
           
 String getLanguage()
           
 String getLoginModeType()
           
 String getLoginSystemType()
           
 String getLogoutModeType()
           
protected  Map getNamePassword(String id)
          ToDo: Write docs!
 String getNavigationMethod()
           
 int getPostingsOverflowPostArea()
           
 int getPostingsOverflowThreadPage()
           
 int getPostingsPerPage()
           
 int getPreloadChangedThreadsTime()
           
 String getPrivateMessagesEnabled()
           
 int getQuotaMax()
           
 int getQuotaSoftWarning()
           
 int getQuotaWarning()
           
 DocumentReader getReader()
           
 boolean getReplyOnEachPage()
           
 String getRootUrl()
           
 String getSmileysEnabled()
           
 int getSpeedPostTime()
           
 int getSwapoutUnusedThreadsTime()
           
 String getThreadStartLevel()
           
 String getXSLTPostingsEven()
           
 String getXSLTPostingsOdd()
           
protected static Iterable<Element> list(Object o)
          Only for compile-time compliance with both MMBase 1.8 and MMBase 1.8, because the return-type of DocumentReader.getChildElements(java.lang.String) changed, and we want to compile agains MMBase-1.8
 void removeWordFilter(String name)
           
 void save()
           
 void setAvatarsGalleryEnabled(String mode)
           
 void setAvatarsUploadEnabled(String mode)
           
 void setContactInfoEnabled(String mode)
           
 void setGuestReadModeType(String mode)
           
 void setGuestWriteModeType(String mode)
           
 void setLoginModeType(String mode)
           
 void setLoginSystemType(String system)
           
 void setLogoutModeType(String mode)
           
 void setPostingsPerPage(String number)
           
 void setPrivateMessagesEnabled(String mode)
           
 void setQuotaMax(int max)
           
 void setQuotaMax(String maxs)
           
 void setQuotaSoftWarning(String sws)
           
 void setQuotaWarning(String ws)
           
 void setSmileysEnabled(String mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForumsConfig

public ForumsConfig(DocumentReader reader,
                    Element n)

ForumsConfig

public ForumsConfig()
Method Detail

getElement

public Element getElement()

getReader

public DocumentReader getReader()

list

protected static Iterable<Element> list(Object o)
Only for compile-time compliance with both MMBase 1.8 and MMBase 1.8, because the return-type of DocumentReader.getChildElements(java.lang.String) changed, and we want to compile agains MMBase-1.8


getFieldaliases

public Map getFieldaliases()

getDefaultPassword

public String getDefaultPassword()

getDefaultAccount

public String getDefaultAccount()

getNamePassword

protected Map getNamePassword(String id)
ToDo: Write docs!

Parameters:
id -

setQuotaMax

public void setQuotaMax(String maxs)

setQuotaMax

public void setQuotaMax(int max)

setQuotaSoftWarning

public void setQuotaSoftWarning(String sws)

setQuotaWarning

public void setQuotaWarning(String ws)

getQuotaMax

public int getQuotaMax()

getQuotaSoftWarning

public int getQuotaSoftWarning()

getQuotaWarning

public int getQuotaWarning()

getForumConfig

public ForumConfig getForumConfig(String id)

getAccountCreationType

public String getAccountCreationType()

getAccountRemovalType

public String getAccountRemovalType()

getLoginSystemType

public String getLoginSystemType()

getLoginModeType

public String getLoginModeType()

setLoginModeType

public void setLoginModeType(String mode)

setLoginSystemType

public void setLoginSystemType(String system)

getLogoutModeType

public String getLogoutModeType()

setLogoutModeType

public void setLogoutModeType(String mode)

getGuestReadModeType

public String getGuestReadModeType()

getThreadStartLevel

public String getThreadStartLevel()

setGuestReadModeType

public void setGuestReadModeType(String mode)

getGuestWriteModeType

public String getGuestWriteModeType()

setGuestWriteModeType

public void setGuestWriteModeType(String mode)

getAvatarsUploadEnabled

public String getAvatarsUploadEnabled()

setAvatarsUploadEnabled

public void setAvatarsUploadEnabled(String mode)

setPostingsPerPage

public void setPostingsPerPage(String number)

setContactInfoEnabled

public void setContactInfoEnabled(String mode)

setSmileysEnabled

public void setSmileysEnabled(String mode)

setPrivateMessagesEnabled

public void setPrivateMessagesEnabled(String mode)

getAvatarsGalleryEnabled

public String getAvatarsGalleryEnabled()

setAvatarsGalleryEnabled

public void setAvatarsGalleryEnabled(String mode)

getPreloadChangedThreadsTime

public int getPreloadChangedThreadsTime()

getSwapoutUnusedThreadsTime

public int getSwapoutUnusedThreadsTime()

getXSLTPostingsOdd

public String getXSLTPostingsOdd()

getXSLTPostingsEven

public String getXSLTPostingsEven()

getContactInfoEnabled

public String getContactInfoEnabled()

getSmileysEnabled

public String getSmileysEnabled()

getPrivateMessagesEnabled

public String getPrivateMessagesEnabled()

getLanguage

public String getLanguage()

getPostingsPerPage

public int getPostingsPerPage()

getFromEmailAddress

public String getFromEmailAddress()

getHeaderPath

public String getHeaderPath()

getFooterPath

public String getFooterPath()

save

public void save()

getFilterWords

public HashMap getFilterWords()

addWordFilter

public void addWordFilter(String name,
                          String value)

removeWordFilter

public void removeWordFilter(String name)

getSpeedPostTime

public int getSpeedPostTime()

getPostingsOverflowPostArea

public int getPostingsOverflowPostArea()

getPostingsOverflowThreadPage

public int getPostingsOverflowThreadPage()

getNavigationMethod

public String getNavigationMethod()

getEmailtext

public String getEmailtext(String role)

getExternalRootUrl

public String getExternalRootUrl()

getRootUrl

public String getRootUrl()

getReplyOnEachPage

public boolean getReplyOnEachPage()


MMBase 2.0-SNAPSHOT - null