org.mmbase.applications.mmbob
Class ForumConfig

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

public class ForumConfig
extends Object

forumManager ToDo: Write docs! MM: I think it would be a bit more OO of the respective object are responsible for their own configuration-handling (even if the all use mmbob.xml). I did that for the sync times alreqdy.

Version:
$Id: ForumConfig.java 35620 2009-06-03 13:46:59Z michiel $
Author:
Daniel Ockeloen (MMBased)

Constructor Summary
ForumConfig(DocumentReader reader, Element n)
           
ForumConfig(String id)
           
 
Method Summary
 PostAreaConfig addPostAreaConfig(String name)
           
 void addProfileDef(ProfileEntryDef cm)
           
 String getAccountCreationType()
           
 String getAccountRemovalType()
           
 String getAlias()
           
 String getAvatarsGalleryEnabled()
           
 String getAvatarsUploadEnabled()
           
 boolean getCloneMaster()
           
 String getContactInfoEnabled()
           
 String getDefaultAccount()
           
 String getDefaultPassword()
           
 Element getElement()
           
 Iterator<FieldAlias> getFieldaliases()
           
 String getFooterPath()
           
 String getFromEmailAddress()
           
 String getGuestReadModeType()
           
 String getGuestWriteModeType()
           
 String getGuiEdit(String key)
           
 String getHeaderPath()
           
 String getId()
           
 String getLoginModeType()
           
 String getLoginSystemType()
           
 String getLogoutModeType()
           
protected  Map getNamePassword(String id)
          ToDo: Write docs!
 String getNavigationMethod()
           
 PostAreaConfig getPostAreaConfig(String id)
           
 int getPostingsOverflowPostArea()
           
 int getPostingsOverflowThreadPage()
           
 int getPostingsPerPage()
           
 String getPrivateMessagesEnabled()
           
 ProfileEntryDef getProfileDef(String name)
           
 Iterator<ProfileEntryDef> getProfileDefs()
           
 int getQuotaMax()
           
 int getQuotaSoftWarning()
           
 int getQuotaWarning()
           
 DocumentReader getReader()
           
 boolean getReplyOnEachPage()
           
 String getSmileysEnabled()
           
 int getSpeedPostTime()
           
 String getThreadStartLevel()
           
 String getXSLTPostingsEven()
           
 String getXSLTPostingsOdd()
           
 void setAlias(String alias)
           
 void setAvatarsGalleryEnabled(String mode)
           
 void setAvatarsUploadEnabled(String mode)
           
 void setContactInfoEnabled(String mode)
           
 void setGuestReadModeType(String type)
           
 void setGuestWriteModeType(String type)
           
 void setLoginModeType(String type)
           
 void setLoginSystemType(String system)
           
 void setLogoutModeType(String type)
           
 void setNavigationMethod(String navigationmethod)
           
 void setPostingsOverflowPostArea(int count)
           
 void setPostingsOverflowThreadPage(int count)
           
 void setPostingsPerPage(int count)
           
 void setQuotaMax(int max)
           
 void setQuotaMax(String maxs)
           
 void setQuotaSoftWarning(String sws)
           
 void setQuotaWarning(String ws)
           
 void setReplyOnEachPage(boolean value)
           
 void setSpeedPostTime(int delay)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForumConfig

public ForumConfig(DocumentReader reader,
                   Element n)

ForumConfig

public ForumConfig(String id)
Method Detail

getElement

public Element getElement()

getReader

public DocumentReader getReader()

getFieldaliases

public Iterator<FieldAlias> 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()

getId

public String getId()

getPostAreaConfig

public PostAreaConfig getPostAreaConfig(String id)

getAccountCreationType

public String getAccountCreationType()

getAccountRemovalType

public String getAccountRemovalType()

getLoginModeType

public String getLoginModeType()

getLoginSystemType

public String getLoginSystemType()

getAlias

public String getAlias()

setAlias

public void setAlias(String alias)

setLoginModeType

public void setLoginModeType(String type)

setLoginSystemType

public void setLoginSystemType(String system)

getLogoutModeType

public String getLogoutModeType()

setLogoutModeType

public void setLogoutModeType(String type)

getGuestReadModeType

public String getGuestReadModeType()

getThreadStartLevel

public String getThreadStartLevel()

setPostingsPerPage

public void setPostingsPerPage(int count)

setPostingsOverflowPostArea

public void setPostingsOverflowPostArea(int count)

setPostingsOverflowThreadPage

public void setPostingsOverflowThreadPage(int count)

getPostingsOverflowThreadPage

public int getPostingsOverflowThreadPage()

getPostingsOverflowPostArea

public int getPostingsOverflowPostArea()

setReplyOnEachPage

public void setReplyOnEachPage(boolean value)

getReplyOnEachPage

public boolean getReplyOnEachPage()

setSpeedPostTime

public void setSpeedPostTime(int delay)

getSpeedPostTime

public int getSpeedPostTime()

setGuestReadModeType

public void setGuestReadModeType(String type)

setAvatarsUploadEnabled

public void setAvatarsUploadEnabled(String mode)

setNavigationMethod

public void setNavigationMethod(String navigationmethod)

setContactInfoEnabled

public void setContactInfoEnabled(String mode)

setAvatarsGalleryEnabled

public void setAvatarsGalleryEnabled(String mode)

getGuestWriteModeType

public String getGuestWriteModeType()

setGuestWriteModeType

public void setGuestWriteModeType(String type)

getXSLTPostingsOdd

public String getXSLTPostingsOdd()

getXSLTPostingsEven

public String getXSLTPostingsEven()

getAvatarsUploadEnabled

public String getAvatarsUploadEnabled()

getAvatarsGalleryEnabled

public String getAvatarsGalleryEnabled()

getContactInfoEnabled

public String getContactInfoEnabled()

getSmileysEnabled

public String getSmileysEnabled()

getPrivateMessagesEnabled

public String getPrivateMessagesEnabled()

getPostingsPerPage

public int getPostingsPerPage()

getFromEmailAddress

public String getFromEmailAddress()

getHeaderPath

public String getHeaderPath()

getFooterPath

public String getFooterPath()

getNavigationMethod

public String getNavigationMethod()

addPostAreaConfig

public PostAreaConfig addPostAreaConfig(String name)

getProfileDefs

public Iterator<ProfileEntryDef> getProfileDefs()

addProfileDef

public void addProfileDef(ProfileEntryDef cm)

getProfileDef

public ProfileEntryDef getProfileDef(String name)

getCloneMaster

public boolean getCloneMaster()

getGuiEdit

public String getGuiEdit(String key)


MMBase 2.0-SNAPSHOT - null