Package com.iisigroup.cap.auth.service.impl.MenuServiceImpl

Examples of com.iisigroup.cap.auth.service.impl.MenuServiceImpl.MenuItem


  @Resource
  private MenuService menuSrv;

  public IResult queryMenu(IRequest request) {

    MenuItem menu = menuSrv.getMenuByRoles(CapSecurityContext.getRoleIds());
    if (menu != null) {
      return new AjaxFormResult(JSONSerializer.toJSON(menu).toString());
    }
    return new AjaxFormResult();
  }
View Full Code Here

TOP

Related Classes of com.iisigroup.cap.auth.service.impl.MenuServiceImpl.MenuItem

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.