类 MenuController
- java.lang.Object
-
- net.guerlab.smart.platform.server.controller.AbstractControllerImpl<D,E,S,PK>
-
- net.guerlab.smart.platform.server.controller.BaseFindController<D,E,S,SP,PK>
-
- net.guerlab.smart.platform.server.controller.BaseController<net.guerlab.smart.platform.user.core.domain.MenuDTO,Menu,MenuService,net.guerlab.smart.platform.user.core.searchparams.MenuSearchParams,Long>
-
- net.guerlab.smart.platform.user.web.controller.user.MenuController
-
- 所有已实现的接口:
net.guerlab.smart.platform.server.controller.DeleteController<net.guerlab.smart.platform.user.core.domain.MenuDTO,Menu,MenuService,Long>,net.guerlab.smart.platform.server.controller.FindController<net.guerlab.smart.platform.user.core.domain.MenuDTO,Menu,MenuService,net.guerlab.smart.platform.user.core.searchparams.MenuSearchParams,Long>,net.guerlab.smart.platform.server.controller.IController<Menu,MenuService,Long>,net.guerlab.smart.platform.server.controller.ModifyControllerWrapper<net.guerlab.smart.platform.user.core.domain.MenuDTO,Menu,Long>,net.guerlab.smart.platform.server.controller.SaveController<net.guerlab.smart.platform.user.core.domain.MenuDTO,Menu,MenuService,Long>,net.guerlab.smart.platform.server.controller.UpdateController<net.guerlab.smart.platform.user.core.domain.MenuDTO,Menu,MenuService,Long>
@RestController("/user/menu") @RequestMapping("/user/menu") public class MenuController extends net.guerlab.smart.platform.server.controller.BaseController<net.guerlab.smart.platform.user.core.domain.MenuDTO,Menu,MenuService,net.guerlab.smart.platform.user.core.searchparams.MenuSearchParams,Long>菜单- 作者:
- guer
-
-
构造器概要
构造器 构造器 说明 MenuController()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidcopyProperties(net.guerlab.smart.platform.user.core.domain.MenuDTO dto, Menu entity, Long id)voiddelete(Long id, Boolean force)net.guerlab.smart.platform.user.core.domain.MenuDTOsave(net.guerlab.smart.platform.user.core.domain.MenuDTO dto)Collection<net.guerlab.smart.platform.user.core.domain.MenuDTO>tree()net.guerlab.smart.platform.user.core.domain.MenuDTOupdate(Long id, net.guerlab.smart.platform.user.core.domain.MenuDTO dto)-
从类继承的方法 net.guerlab.smart.platform.server.controller.AbstractControllerImpl
findOne0, getService, newEntity, nullPointException, setService
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
方法详细资料
-
copyProperties
public void copyProperties(net.guerlab.smart.platform.user.core.domain.MenuDTO dto, Menu entity, Long id)
-
save
@NeedTwoFactorAuthentication public net.guerlab.smart.platform.user.core.domain.MenuDTO save(@RequestBody net.guerlab.smart.platform.user.core.domain.MenuDTO dto)
-
update
@NeedTwoFactorAuthentication public net.guerlab.smart.platform.user.core.domain.MenuDTO update(@PathVariable Long id, @RequestBody net.guerlab.smart.platform.user.core.domain.MenuDTO dto)
-
delete
@NeedTwoFactorAuthentication public void delete(@PathVariable Long id, @RequestParam(required=false) Boolean force)
-
tree
@GetMapping("/tree") public Collection<net.guerlab.smart.platform.user.core.domain.MenuDTO> tree()
-
-