@RestController
@RequestMapping(value="${hsweb.web.mappings.menu:menu}")
@Authorize(permission="menu",
description="\u83dc\u5355\u7ba1\u7406")
public class MenuController
extends Object
implements SimpleGenericEntityController<MenuEntity,String,org.hswebframework.web.commons.entity.param.QueryParamEntity>
| 构造器和说明 |
|---|
MenuController() |
| 限定符和类型 | 方法和说明 |
|---|---|
MenuService |
getService() |
ResponseMessage<List<UserMenuEntity>> |
getUserMenuAsList(org.hswebframework.web.authorization.Authentication authentication) |
ResponseMessage<List<UserMenuEntity>> |
getUserMenuAsTree(org.hswebframework.web.authorization.Authentication authentication) |
void |
setMenuService(MenuService menuService) |
void |
setUserMenuManagerService(UserMenuManagerService userMenuManagerService) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmodelToEntityassertNotNull, count, getByPrimaryKey, getByPrimaryKey, list, listNoPagingsaveOrUpdate, updateByPrimaryKeyadddeleteByPrimaryKey@Autowired public void setMenuService(MenuService menuService)
@Autowired public void setUserMenuManagerService(UserMenuManagerService userMenuManagerService)
public MenuService getService()
getService 在接口中 CreateController<MenuEntity,String,MenuEntity>getService 在接口中 DeleteController<MenuEntity,String>getService 在接口中 QueryController<MenuEntity,String,org.hswebframework.web.commons.entity.param.QueryParamEntity>getService 在接口中 SimpleCrudController<MenuEntity,String,org.hswebframework.web.commons.entity.param.QueryParamEntity>getService 在接口中 SimpleGenericEntityController<MenuEntity,String,org.hswebframework.web.commons.entity.param.QueryParamEntity>getService 在接口中 UpdateController<MenuEntity,String,MenuEntity>@GetMapping(value="/user-own/list") @Authorize(merge=false) public ResponseMessage<List<UserMenuEntity>> getUserMenuAsList(org.hswebframework.web.authorization.Authentication authentication)
@GetMapping(value="/user-own/tree") @Authorize(merge=false) public ResponseMessage<List<UserMenuEntity>> getUserMenuAsTree(org.hswebframework.web.authorization.Authentication authentication)
Copyright © 2016–2019. All rights reserved.