Package org.beangle.ems.security.model

Examples of org.beangle.ems.security.model.CategoryBean


      return redirect("admin", "info.save.success");
    }
    String newCategory = get("newCategory");
    if (StringUtils.isNotBlank(newCategory)) {
      if (entityDao.get(Category.class, "name", newCategory).isEmpty()) {
        CategoryBean category = new CategoryBean();
        category.setName(newCategory);
        entityDao.saveOrUpdate(category);
        return redirect("admin", "info.save.success");
      } else {
        return redirect("admin", "info.save.failure");
      }
View Full Code Here

TOP

Related Classes of org.beangle.ems.security.model.CategoryBean

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.