⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cmssetup.java

📁 java 编写的程序
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
    }
    else  {
      return "";
    }
  }

  /** Enables/Disables channel opencms_cache in the log messages */
  public void setLoggingChannelOpencms_cache(String loggingChannelOpencms_cache)  {
    setProperties("log.channel.opencms_cache",loggingChannelOpencms_cache);
  }

  /** Indicates if channel opencms_cache is enabled in the log messages */
  public String getLoggingChannelOpencms_cache()  {
    Object temp =  m_extProp.get("log.channel.opencms_cache");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }

  /** Enables/Disables channel opencms_info in the log messages */
  public void setLoggingChannelOpencms_info(String loggingChannelOpencms_info)  {
    setProperties("log.channel.opencms_info",loggingChannelOpencms_info);
  }

  /** Indicates if channel opencms_info is enabled in the log messages */
  public String getLoggingChannelOpencms_info()  {
    Object temp =  m_extProp.get("log.channel.opencms_info");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }

  /** Enables/Disables channel opencms_pool in the log messages */
  public void setLoggingChannelOpencms_pool(String loggingChannelOpencms_pool)  {
    setProperties("log.channel.opencms_pool",loggingChannelOpencms_pool);
  }

  /** Indicates if channel opencms_pool is enabled in the log messages */
  public String getLoggingChannelOpencms_pool()  {
    Object temp =  m_extProp.get("log.channel.opencms_pool");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }

  /** Enables/Disables channel opencms_streaming in the log messages */
  public void setLoggingChannelOpencms_streaming(String loggingChannelOpencms_streaming)  {
    setProperties("log.channel.opencms_streaming",loggingChannelOpencms_streaming);
  }

  /** Indicates if channel opencms_streaming is enabled in the log messages */
  public String getLoggingChannelOpencms_streaming()  {
    Object temp =  m_extProp.get("log.channel.opencms_streaming");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }

  /** Enables/Disables channel opencms_critical in the log messages */
  public void setLoggingChannelOpencms_critical(String loggingChannelOpencms_critical)  {
    setProperties("log.channel.opencms_critical",loggingChannelOpencms_critical);
  }

  /** Indicates if channel opencms_critical is enabled in the log messages */
  public String getLoggingChannelOpencms_critical()  {
    Object temp =  m_extProp.get("log.channel.opencms_critical");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }

  /** Enables/Disables channel opencms_elementcache in the log messages */
  public void setLoggingChannelOpencms_elementcache(String loggingChannelOpencms_elementcache)  {
    setProperties("log.channel.opencms_elementcache",loggingChannelOpencms_elementcache);
  }

  /** Indicates if channel opencms_elementcache is enabled in the log messages */
  public String getLoggingChannelOpencms_elementcache()  {
    Object temp =  m_extProp.get("log.channel.opencms_elementcache");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }



  /** Enables/Disables channel modules_debug in the log messages */
  public void setLoggingChannelModules_debug(String loggingChannelModules_debug)  {
    setProperties("log.channel.modules_debug",loggingChannelModules_debug);
  }

  /** Indicates if channel modules_debug is enabled in the log messages */
  public String getLoggingChannelModules_debug()  {
    Object temp =  m_extProp.get("log.channel.modules_debug");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }

  /** Enables/Disables channel modules_info in the log messages */
  public void setLoggingChannelModules_info(String loggingChannelModules_info)  {
    setProperties("log.channel.modules_info",loggingChannelModules_info);
  }

  /** Indicates if channel modules_info is enabled in the log messages */
  public String getLoggingChannelModules_info()  {
    Object temp =  m_extProp.get("log.channel.modules_info");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }

  /** Enables/Disables channel modules_critical in the log messages */
  public void setLoggingChannelModules_critical(String loggingChannelModules_critical)  {
    setProperties("log.channel.modules_critical",loggingChannelModules_critical);
  }

  /** Indicates if channel modules_critical is enabled in the log messages */
  public String getLoggingChannelModules_critical()  {
    Object temp =  m_extProp.get("log.channel.modules_critical");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }


  public void setElementCache(String elementCache)  {
      setProperties("elementcache.enabled",elementCache);
  }

  public String getElementCache() {
      Object temp = m_extProp.get("elementcache.enabled");
      if(temp!=null)  {
          return temp.toString();
      }
      else  {
         return "";
      }
  }

  public void setElementCacheURI(String elementCacheURI)  {
      setProperties("elementcache.uri",elementCacheURI);
  }

  public String getElementCacheURI() {
      Object temp = m_extProp.get("elementcache.uri");
      if(temp!=null)  {
          return temp.toString();
      }
      else  {
         return "";
      }
  }

  public void setElementCacheElements(String elementCacheElements)  {
      setProperties("elementcache.elements",elementCacheElements);
  }

  public String getElementCacheElements() {
      Object temp = m_extProp.get("elementcache.elements");
      if(temp!=null)  {
          return temp.toString();
      }
      else  {
         return "";
      }
  }

  public void setElementCacheVariants(String elementCacheVariants)  {
      setProperties("elementcache.variants",elementCacheVariants);
  }

  public String getElementCacheVariants() {
      Object temp = m_extProp.get("elementcache.variants");
      if(temp!=null)  {
          return temp.toString();
      }
      else  {
         return "";
      }
  }

  public String getDbCreateConStr()   {
      Object constr = m_dbSetupProps.get(getResourceBroker()+".constr");
      if(constr != null)  {
          return constr.toString();
      }
      else  {
          return "";
      }
  }

  public void setDbCreateConStr(String dbCreateConStr)  {
      m_dbSetupProps.put(getResourceBroker()+".constr",dbCreateConStr);
  }

  public String getDbCreateUser()   {
      Object constr = m_dbSetupProps.get(getResourceBroker()+".user");
      if(constr != null)  {
          return constr.toString();
      }
      else  {
          return "";
      }
  }

  public void setDbCreateUser(String dbCreateUser)  {
      m_dbSetupProps.put(getResourceBroker()+".user",dbCreateUser);
  }

  public String getDbCreatePwd()   {
      if(m_dbCreatePwd != null)  {
          return m_dbCreatePwd;
      }
      else  {
          return "";
      }
  }

  public void setDbCreatePwd(String dbCreatePwd)  {
      m_dbCreatePwd = dbCreatePwd;
  }


  public boolean getWizardEnabled()  {
      Object temp =  m_extProp.get("wizard.enabled");
      if(temp != null)  {
          if(temp.toString().equals("true"))  {
              return true;
          }
          else  {
              return false;
          }
      }
      else  {
        return true;
      }
  }

  public void lockWizard()  {
      setProperties("wizard.enabled","false");
  }

  public Properties getDbSetupProps()  {
      return m_dbSetupProps;
  }

  public String getDb() {
    return m_database;
  }

  public void setDb(String db)  {
    m_database = db;
  }

  public Hashtable getReplacer() {
      return m_replacer;
  }

  public void setReplacer(Hashtable replacer)  {
      m_replacer = replacer;
  }

  public String getStaticExport() {
    Object temp = m_extProp.get("staticexport.enabled");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }

  public void setStaticExport(String staticExport)  {
    setProperties("staticexport.enabled",staticExport);
  }


  public String getStaticExportPath() {
    Object temp = m_extProp.get("staticexport.path");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }

  public void setStaticExportPath(String staticExportPath)  {
    setProperties("staticexport.path",staticExportPath);
  }


  public String getUrlPrefixExport() {
    Object temp = m_extProp.get("url_prefix_export");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }

  public void setUrlPrefixExport(String urlPrefixExport)  {
    setProperties("url_prefix_export",urlPrefixExport);
  }


  public String getUrlPrefixHttp() {
    Object temp = m_extProp.get("url_prefix_http");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }

  public void setUrlPrefixHttp(String urlPrefixHttp)  {
    setProperties("url_prefix_http",urlPrefixHttp);
  }


  public String getUrlPrefixHttps() {
    Object temp = m_extProp.get("url_prefix_https");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }

  public void setUrlPrefixHttps(String urlPrefixHttps)  {
    setProperties("url_prefix_https",urlPrefixHttps);
  }


  public String getUrlPrefixServername() {
    Object temp = m_extProp.get("url_prefix_servername");
    if(temp != null)  {
      return temp.toString();
    }
    else  {
      return "";
    }
  }

  public void setUrlPrefixServername(String urlPrefixServername)  {
    setProperties("url_prefix_servername",urlPrefixServername);
  }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -