类 ConfigComponent

java.lang.Object
com.publiccms.logic.component.config.ConfigComponent

@Component public class ConfigComponent extends Object
ConfigComponent 配置组件
  • 字段详细资料

    • siteComponent

      private SiteComponent siteComponent
    • configPluginList

      @Autowired(required=false) private List<Config> configPluginList
  • 构造器详细资料

    • ConfigComponent

      public ConfigComponent()
  • 方法详细资料

    • getConfig

      public ConfigInfo getConfig(short siteId, String code, Locale locale)
      参数:
      siteId -
      code -
      locale -
      返回:
      config
    • getExportableConfigCodeList

      public Set<String> getExportableConfigCodeList(short siteId)
      参数:
      siteId -
      返回:
      config list
    • getConfigList

      public List<ConfigInfo> getConfigList(short siteId, Locale locale, boolean showAll)
      参数:
      siteId -
      locale -
      showAll -
      返回:
      config list
    • getFieldList

      public List<SysExtendField> getFieldList(SysSite site, String code, Boolean customed, Locale locale)
      参数:
      site -
      code -
      customed -
      locale -
      返回:
      field list
    • getMap

      public Map<String,SysConfig> getMap(short siteId)
      参数:
      siteId -
      返回:
      config map
    • save

      public boolean save(short siteId, Map<String,SysConfig> modelMap)
      保存配置
      参数:
      siteId -
      modelMap -
      返回:
      whether to save successfully