Package org.beangle.security.blueprint.model

Examples of org.beangle.security.blueprint.model.UserCategoryBean


   */
  public String admin() {
    String newCategory = get("newCategory");
    if (StringUtils.isNotBlank(newCategory)) {
      if (entityDao.get(UserCategory.class, "name", newCategory).isEmpty()) {
        UserCategoryBean category = new UserCategoryBean();
        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.security.blueprint.model.UserCategoryBean

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.