//# 0 errors, 197 messages
//#
/*
    //#ConfigModel.java:1:1: class: org.apache.roller.weblogger.ui.rendering.model.ConfigModel
 * Licensed to the Apache Software Foundation (ASF) under one or more
 *  contributor license agreements.  The ASF licenses this file to You
 * under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.  For additional information regarding
 * copyright in this work, please see the NOTICE file in the top level
 * directory of this distribution.
 */

package org.apache.roller.weblogger.ui.rendering.model;

import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.roller.weblogger.WebloggerException;
import org.apache.roller.weblogger.business.WebloggerFactory;
import org.apache.roller.weblogger.config.WebloggerRuntimeConfig;

/**
 * Model which provides access to application config data like site
 * config properties.
 */
public class ConfigModel implements Model {
    //#ConfigModel.java:32: method: void org.apache.roller.weblogger.ui.rendering.model.ConfigModel.org.apache.roller.weblogger.ui.rendering.model.ConfigModel()
    //#ConfigModel.java:32: end of method: void org.apache.roller.weblogger.ui.rendering.model.ConfigModel.org.apache.roller.weblogger.ui.rendering.model.ConfigModel()
    
    private static Log log = LogFactory.getLog(ConfigModel.class);
    //#ConfigModel.java:34: method: org.apache.roller.weblogger.ui.rendering.model.ConfigModel.org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init
    //#ConfigModel.java:34: Warning: method not available
    //#    -- call on Log org.apache.commons.logging.LogFactory:getLog(Class)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.model.ConfigModel
    //#    method: org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init
    //#    unanalyzed callee: Log org.apache.commons.logging.LogFactory:getLog(Class)
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/rendering/model/ConfigModel]
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getBooleanProperty(Ljava/lang/String;)Z
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getCommentAutoFormat()Z
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getCommentEmailNotify()Z
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getCommentEscapeHtml()Z
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getCommentHtmlAllowed()Z
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getFeedHistoryEnabled()Z
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getFeedMaxSize()I
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getFeedSize()I
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getFeedStyle()Z
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getIntProperty(Ljava/lang/String;)I
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getModelName()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getProperty(Ljava/lang/String;)Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getRegistrationEnabled()Z
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getRegistrationURL()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getRollerBuildTimestamp()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getRollerBuildUser()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getRollerVersion()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getSiteDescription()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getSiteEmail()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getSiteName()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getSiteShortName()Ljava/lang/String;
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getTrackbacksEnabled()Z
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.init(Ljava/util/Map;)V
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): log
    //#output(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): org/apache/roller/weblogger/ui/rendering/model/Model.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/model/ConfigModel]
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Descendant_Table[org/apache/roller/weblogger/ui/rendering/model/ConfigModel] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): org/apache/roller/weblogger/ui/rendering/model/Model.__Descendant_Table[org/apache/roller/weblogger/ui/rendering/model/ConfigModel] == &__Dispatch_Table
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getBooleanProperty(Ljava/lang/String;)Z == &getBooleanProperty
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getCommentAutoFormat()Z == &getCommentAutoFormat
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getCommentEmailNotify()Z == &getCommentEmailNotify
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getCommentEscapeHtml()Z == &getCommentEscapeHtml
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getCommentHtmlAllowed()Z == &getCommentHtmlAllowed
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getFeedHistoryEnabled()Z == &getFeedHistoryEnabled
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getFeedMaxSize()I == &getFeedMaxSize
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getFeedSize()I == &getFeedSize
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getFeedStyle()Z == &getFeedStyle
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getIntProperty(Ljava/lang/String;)I == &getIntProperty
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getModelName()Ljava/lang/String; == &getModelName
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getProperty(Ljava/lang/String;)Ljava/lang/String; == &getProperty
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getRegistrationEnabled()Z == &getRegistrationEnabled
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getRegistrationURL()Ljava/lang/String; == &getRegistrationURL
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getRollerBuildTimestamp()Ljava/lang/String; == &getRollerBuildTimestamp
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getRollerBuildUser()Ljava/lang/String; == &getRollerBuildUser
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getRollerVersion()Ljava/lang/String; == &getRollerVersion
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getSiteDescription()Ljava/lang/String; == &getSiteDescription
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getSiteEmail()Ljava/lang/String; == &getSiteEmail
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getSiteName()Ljava/lang/String; == &getSiteName
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getSiteShortName()Ljava/lang/String; == &getSiteShortName
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.getTrackbacksEnabled()Z == &getTrackbacksEnabled
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): __Dispatch_Table.init(Ljava/util/Map;)V == &init
    //#post(org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init): init'ed(log)
    //#ConfigModel.java:34: end of method: org.apache.roller.weblogger.ui.rendering.model.ConfigModel.org.apache.roller.weblogger.ui.rendering.model.ConfigModel__static_init
    
    
    /** Template context name to be used for model */
    public String getModelName() {
        return "config";
    //#ConfigModel.java:39: method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getModelName()
    //#output(String getModelName()): return_value
    //#post(String getModelName()): return_value == &"config"
    //#ConfigModel.java:39: end of method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getModelName()
    }
    
    
    /** Init model */
    public void init(Map map) throws WebloggerException {
        // no-op
    }
    //#ConfigModel.java:46: method: void org.apache.roller.weblogger.ui.rendering.model.ConfigModel.init(Map)
    //#ConfigModel.java:46: end of method: void org.apache.roller.weblogger.ui.rendering.model.ConfigModel.init(Map)
    
    
    public String getSiteName() {
        return getProperty("site.name");
    //#ConfigModel.java:50: method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getSiteName()
    //#input(String getSiteName()): this
    //#output(String getSiteName()): return_value
    //#post(String getSiteName()): init'ed(return_value)
    //#unanalyzed(String getSiteName()): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getProperty
    //#ConfigModel.java:50: end of method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getSiteName()
    }
    
    public String getSiteShortName() {
        return getProperty("site.shortName");
    //#ConfigModel.java:54: method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getSiteShortName()
    //#input(String getSiteShortName()): this
    //#output(String getSiteShortName()): return_value
    //#post(String getSiteShortName()): init'ed(return_value)
    //#unanalyzed(String getSiteShortName()): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getProperty
    //#ConfigModel.java:54: end of method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getSiteShortName()
    }
    
    public String getSiteDescription() {
        return getProperty("site.description");
    //#ConfigModel.java:58: method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getSiteDescription()
    //#input(String getSiteDescription()): this
    //#output(String getSiteDescription()): return_value
    //#post(String getSiteDescription()): init'ed(return_value)
    //#unanalyzed(String getSiteDescription()): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getProperty
    //#ConfigModel.java:58: end of method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getSiteDescription()
    }
    
    public String getSiteEmail() {
        return getProperty("site.adminemail");
    //#ConfigModel.java:62: method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getSiteEmail()
    //#input(String getSiteEmail()): this
    //#output(String getSiteEmail()): return_value
    //#post(String getSiteEmail()): init'ed(return_value)
    //#unanalyzed(String getSiteEmail()): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getProperty
    //#ConfigModel.java:62: end of method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getSiteEmail()
    }
    
    public boolean getRegistrationEnabled() {
        return getBooleanProperty("users.registration.enabled");
    //#ConfigModel.java:66: method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getRegistrationEnabled()
    //#input(bool getRegistrationEnabled()): this
    //#output(bool getRegistrationEnabled()): return_value
    //#post(bool getRegistrationEnabled()): init'ed(return_value)
    //#unanalyzed(bool getRegistrationEnabled()): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getBooleanProperty
    //#ConfigModel.java:66: end of method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getRegistrationEnabled()
    }
    
    public String getRegistrationURL() {
        return getProperty("users.registration.url");
    //#ConfigModel.java:70: method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getRegistrationURL()
    //#input(String getRegistrationURL()): this
    //#output(String getRegistrationURL()): return_value
    //#post(String getRegistrationURL()): init'ed(return_value)
    //#unanalyzed(String getRegistrationURL()): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getProperty
    //#ConfigModel.java:70: end of method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getRegistrationURL()
    }
    
    public boolean getFeedHistoryEnabled() {
        return getBooleanProperty("site.newsfeeds.history.enabled");
    //#ConfigModel.java:74: method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getFeedHistoryEnabled()
    //#input(bool getFeedHistoryEnabled()): this
    //#output(bool getFeedHistoryEnabled()): return_value
    //#post(bool getFeedHistoryEnabled()): init'ed(return_value)
    //#unanalyzed(bool getFeedHistoryEnabled()): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getBooleanProperty
    //#ConfigModel.java:74: end of method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getFeedHistoryEnabled()
    }
    
    public int getFeedSize() {
        return getIntProperty("site.newsfeeds.defaultEntries");
    //#ConfigModel.java:78: method: int org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getFeedSize()
    //#input(int getFeedSize()): this
    //#output(int getFeedSize()): return_value
    //#post(int getFeedSize()): init'ed(return_value)
    //#unanalyzed(int getFeedSize()): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getIntProperty
    //#ConfigModel.java:78: end of method: int org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getFeedSize()
    }
    
    public int getFeedMaxSize() {
        return getIntProperty("site.newsfeeds.defaultEntries");
    //#ConfigModel.java:82: method: int org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getFeedMaxSize()
    //#input(int getFeedMaxSize()): this
    //#output(int getFeedMaxSize()): return_value
    //#post(int getFeedMaxSize()): init'ed(return_value)
    //#unanalyzed(int getFeedMaxSize()): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getIntProperty
    //#ConfigModel.java:82: end of method: int org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getFeedMaxSize()
    }
    
    public boolean getFeedStyle() {
        return getBooleanProperty("site.newsfeeds.styledFeeds");
    //#ConfigModel.java:86: method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getFeedStyle()
    //#input(bool getFeedStyle()): this
    //#output(bool getFeedStyle()): return_value
    //#post(bool getFeedStyle()): init'ed(return_value)
    //#unanalyzed(bool getFeedStyle()): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getBooleanProperty
    //#ConfigModel.java:86: end of method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getFeedStyle()
    }
    
    public boolean getCommentHtmlAllowed() {
        return getBooleanProperty("users.comments.htmlenabled");
    //#ConfigModel.java:90: method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getCommentHtmlAllowed()
    //#input(bool getCommentHtmlAllowed()): this
    //#output(bool getCommentHtmlAllowed()): return_value
    //#post(bool getCommentHtmlAllowed()): init'ed(return_value)
    //#unanalyzed(bool getCommentHtmlAllowed()): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getBooleanProperty
    //#ConfigModel.java:90: end of method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getCommentHtmlAllowed()
    }
    
    public boolean getCommentAutoFormat() {
        // this prop was removed in 4.0
        return false;
    //#ConfigModel.java:95: method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getCommentAutoFormat()
    //#output(bool getCommentAutoFormat()): return_value
    //#post(bool getCommentAutoFormat()): return_value == 0
    //#ConfigModel.java:95: end of method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getCommentAutoFormat()
    }
    
    public boolean getCommentEscapeHtml() {
        // replaced by new htmlallowed property in 4.0
        return !getCommentHtmlAllowed();
    //#ConfigModel.java:100: method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getCommentEscapeHtml()
    //#input(bool getCommentEscapeHtml()): __Descendant_Table[org/apache/roller/weblogger/ui/rendering/model/ConfigModel]
    //#input(bool getCommentEscapeHtml()): __Descendant_Table[others]
    //#input(bool getCommentEscapeHtml()): __Dispatch_Table.getCommentHtmlAllowed()Z
    //#input(bool getCommentEscapeHtml()): this
    //#input(bool getCommentEscapeHtml()): this.__Tag
    //#output(bool getCommentEscapeHtml()): return_value
    //#pre[2] (bool getCommentEscapeHtml()): this.__Tag == org/apache/roller/weblogger/ui/rendering/model/ConfigModel
    //#post(bool getCommentEscapeHtml()): init'ed(return_value)
    //#unanalyzed(bool getCommentEscapeHtml()): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getBooleanProperty
    //#ConfigModel.java:100: end of method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getCommentEscapeHtml()
    }
    
    public boolean getCommentEmailNotify() {
        return getBooleanProperty("users.comments.emailnotify");
    //#ConfigModel.java:104: method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getCommentEmailNotify()
    //#input(bool getCommentEmailNotify()): this
    //#output(bool getCommentEmailNotify()): return_value
    //#post(bool getCommentEmailNotify()): init'ed(return_value)
    //#unanalyzed(bool getCommentEmailNotify()): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getBooleanProperty
    //#ConfigModel.java:104: end of method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getCommentEmailNotify()
    }
    
    public boolean getTrackbacksEnabled() {
        return getBooleanProperty("users.trackbacks.enabled");
    //#ConfigModel.java:108: method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getTrackbacksEnabled()
    //#input(bool getTrackbacksEnabled()): this
    //#output(bool getTrackbacksEnabled()): return_value
    //#post(bool getTrackbacksEnabled()): init'ed(return_value)
    //#unanalyzed(bool getTrackbacksEnabled()): Effects-of-calling:org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getBooleanProperty
    //#ConfigModel.java:108: end of method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getTrackbacksEnabled()
    }
    
    
    /** Get Roller version string */
    public String getRollerVersion() {
        return WebloggerFactory.getWeblogger().getVersion();
    //#ConfigModel.java:114: method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getRollerVersion()
    //#ConfigModel.java:114: Warning: method not available
    //#    -- call on Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.model.ConfigModel
    //#    method: String getRollerVersion()
    //#    unanalyzed callee: Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#ConfigModel.java:114: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.business.Weblogger:getVersion()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.model.ConfigModel
    //#    method: String getRollerVersion()
    //#    unanalyzed callee: String org.apache.roller.weblogger.business.Weblogger:getVersion()
    //#output(String getRollerVersion()): return_value
    //#presumption(String getRollerVersion()): org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger(...)@114 != null
    //#post(String getRollerVersion()): init'ed(return_value)
    //#ConfigModel.java:114: end of method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getRollerVersion()
    }
    
    
    /** Get timestamp of Roller build */
    public String getRollerBuildTimestamp() {
        return WebloggerFactory.getWeblogger().getBuildTime();
    //#ConfigModel.java:120: method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getRollerBuildTimestamp()
    //#ConfigModel.java:120: Warning: method not available
    //#    -- call on Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.model.ConfigModel
    //#    method: String getRollerBuildTimestamp()
    //#    unanalyzed callee: Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#ConfigModel.java:120: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.business.Weblogger:getBuildTime()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.model.ConfigModel
    //#    method: String getRollerBuildTimestamp()
    //#    unanalyzed callee: String org.apache.roller.weblogger.business.Weblogger:getBuildTime()
    //#output(String getRollerBuildTimestamp()): return_value
    //#presumption(String getRollerBuildTimestamp()): org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger(...)@120 != null
    //#post(String getRollerBuildTimestamp()): init'ed(return_value)
    //#ConfigModel.java:120: end of method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getRollerBuildTimestamp()
    }
    
    
    /** Get username who created Roller build */
    public String getRollerBuildUser() {
        return WebloggerFactory.getWeblogger().getBuildUser();
    //#ConfigModel.java:126: method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getRollerBuildUser()
    //#ConfigModel.java:126: Warning: method not available
    //#    -- call on Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.model.ConfigModel
    //#    method: String getRollerBuildUser()
    //#    unanalyzed callee: Weblogger org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger()
    //#ConfigModel.java:126: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.business.Weblogger:getBuildUser()
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.model.ConfigModel
    //#    method: String getRollerBuildUser()
    //#    unanalyzed callee: String org.apache.roller.weblogger.business.Weblogger:getBuildUser()
    //#output(String getRollerBuildUser()): return_value
    //#presumption(String getRollerBuildUser()): org.apache.roller.weblogger.business.WebloggerFactory:getWeblogger(...)@126 != null
    //#post(String getRollerBuildUser()): init'ed(return_value)
    //#ConfigModel.java:126: end of method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getRollerBuildUser()
    }
    
    
    private String getProperty(String name) {
        return WebloggerRuntimeConfig.getProperty(name);
    //#ConfigModel.java:131: method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getProperty(String)
    //#ConfigModel.java:131: Warning: method not available
    //#    -- call on String org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getProperty(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.model.ConfigModel
    //#    method: String getProperty(String)
    //#    unanalyzed callee: String org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getProperty(String)
    //#input(String getProperty(String)): name
    //#output(String getProperty(String)): return_value
    //#post(String getProperty(String)): init'ed(return_value)
    //#ConfigModel.java:131: end of method: String org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getProperty(String)
    }
    
    
    private int getIntProperty(String name) {
        return WebloggerRuntimeConfig.getIntProperty(name);
    //#ConfigModel.java:136: method: int org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getIntProperty(String)
    //#ConfigModel.java:136: Warning: method not available
    //#    -- call on int org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getIntProperty(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.model.ConfigModel
    //#    method: int getIntProperty(String)
    //#    unanalyzed callee: int org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getIntProperty(String)
    //#input(int getIntProperty(String)): name
    //#output(int getIntProperty(String)): return_value
    //#post(int getIntProperty(String)): init'ed(return_value)
    //#ConfigModel.java:136: end of method: int org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getIntProperty(String)
    }
    
    
    private boolean getBooleanProperty(String name) {
        return WebloggerRuntimeConfig.getBooleanProperty(name);
    //#ConfigModel.java:141: method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getBooleanProperty(String)
    //#ConfigModel.java:141: Warning: method not available
    //#    -- call on bool org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getBooleanProperty(String)
    //#    severity: INFORMATIONAL
    //#    class: org.apache.roller.weblogger.ui.rendering.model.ConfigModel
    //#    method: bool getBooleanProperty(String)
    //#    unanalyzed callee: bool org.apache.roller.weblogger.config.WebloggerRuntimeConfig:getBooleanProperty(String)
    //#input(bool getBooleanProperty(String)): name
    //#output(bool getBooleanProperty(String)): return_value
    //#post(bool getBooleanProperty(String)): init'ed(return_value)
    //#ConfigModel.java:141: end of method: bool org.apache.roller.weblogger.ui.rendering.model.ConfigModel.getBooleanProperty(String)
    }
    
}

    //#ConfigModel.java:: end of class: org.apache.roller.weblogger.ui.rendering.model.ConfigModel
