Пример #1
0
  public List getAdminConfig(String companyId, String type) throws SystemException {

    Map configsPool = _getConfigsPool();

    List configs = (List) configsPool.get(companyId + "." + type);

    if (configs == null) {
      configs = AdminConfigUtil.findByC_T(companyId, type, 0, 1);

      configsPool.put(companyId + "." + type, configs);
    }

    return configs;
  }