Package org.beangle.webapp.system.model

Examples of org.beangle.webapp.system.model.PropertyConfig


      names.add(config.getName());
    }
    entityDao.saveOrUpdate(configs);

    String msg = "info.save.success";
    PropertyConfig newConfig = populate(PropertyConfig.class, "configNew");
    if (StringUtils.isNotBlank(newConfig.getName())
        && StringUtils.isNotBlank(newConfig.getValue())
        && !names.contains(newConfig.getName())) {
      entityDao.saveOrUpdate(newConfig);
    }
    configFactory.reload();
    configFactory.multicast();
    return redirect("index", msg);
View Full Code Here


    configFactory.multicast();
    return redirect("index", msg);
  }

  public String remove() {
    PropertyConfig config = entityDao.get(PropertyConfig.class, getLong("config.id"));
    if (null != config) entityDao.remove(config);
    return redirect("index", "info.save.success");
  }
View Full Code Here

TOP

Related Classes of org.beangle.webapp.system.model.PropertyConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.