Package org.beangle.security.blueprint.restrict

Examples of org.beangle.security.blueprint.restrict.RestrictObject


    entityDao.saveOrUpdate(pattern);
    return redirect("patterns", "info.save.success");
  }

  public String saveObject() {
    RestrictObject group = (RestrictObject) populateEntity(RestrictObject.class, "object");
    entityDao.saveOrUpdate(group);
    logger.info("save restrict object with name {}", group.getName());
    return redirect("index", "info.save.success");
  }
View Full Code Here


  }

  public String removeObject() {
    Long groupId = getLong("objectId");
    if (null != groupId) {
      RestrictObject group = (RestrictObject) entityDao.get(RestrictObject.class, groupId);
      entityDao.remove(group);
      logger.info("remove group with name {}", group.getName());
    }
    return redirect("index", "info.remove.success");
  }
View Full Code Here

TOP

Related Classes of org.beangle.security.blueprint.restrict.RestrictObject

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.