类 DepartmentController

  • 所有已实现的接口:
    net.guerlab.smart.platform.server.controller.FindController<net.guerlab.smart.platform.user.core.domain.DepartmentDTO,​Department,​DepartmentService,​net.guerlab.smart.platform.user.core.searchparams.DepartmentSearchParams,​Long>, net.guerlab.smart.platform.server.controller.IController<Department,​DepartmentService,​Long>

    @RestController("/commons/department")
    @RequestMapping("/commons/department")
    public class DepartmentController
    extends net.guerlab.smart.platform.server.controller.BaseFindController<net.guerlab.smart.platform.user.core.domain.DepartmentDTO,​Department,​DepartmentService,​net.guerlab.smart.platform.user.core.searchparams.DepartmentSearchParams,​Long>
    部门
    作者:
    guer
    • 字段概要

      • 从类继承的字段 net.guerlab.smart.platform.server.controller.AbstractControllerImpl

        service
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      protected net.guerlab.commons.exception.ApplicationException nullPointException()  
      Collection<net.guerlab.smart.platform.user.core.domain.DepartmentDTO> tree()  
      • 从类继承的方法 net.guerlab.smart.platform.server.controller.AbstractControllerImpl

        findOne0, getService, newEntity, setService
      • 从接口继承的方法 net.guerlab.smart.platform.server.controller.FindController

        beforeFind, findAll, findList, findOne
      • 从接口继承的方法 net.guerlab.smart.platform.server.controller.IController

        findOne0, getService, newEntity
    • 构造器详细资料

      • DepartmentController

        public DepartmentController()
    • 方法详细资料

      • nullPointException

        protected net.guerlab.commons.exception.ApplicationException nullPointException()
        覆盖:
        nullPointException 在类中 net.guerlab.smart.platform.server.controller.AbstractControllerImpl<net.guerlab.smart.platform.user.core.domain.DepartmentDTO,​Department,​DepartmentService,​Long>
      • tree

        @GetMapping("/tree")
        public Collection<net.guerlab.smart.platform.user.core.domain.DepartmentDTO> tree()