类 AbstractRegionController

  • 所有已实现的接口:
    net.guerlab.smart.platform.server.controller.FindController<net.guerlab.smart.region.core.domain.RegionDTO,​Region,​RegionService,​net.guerlab.smart.region.core.searchparams.RegionSearchParams,​Long>, net.guerlab.smart.platform.server.controller.IController<Region,​RegionService,​Long>
    直接已知子类:
    RegionController, RegionController

    public class AbstractRegionController
    extends net.guerlab.smart.platform.server.controller.BaseFindController<net.guerlab.smart.region.core.domain.RegionDTO,​Region,​RegionService,​net.guerlab.smart.region.core.searchparams.RegionSearchParams,​Long>
    树形地区
    作者:
    guer
    • 字段概要

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

        service
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      Collection<net.guerlab.smart.region.core.domain.RegionDTO> findDepthList​(Long id)  
      Collection<net.guerlab.smart.region.core.domain.RegionDTO> getTree()  
      protected net.guerlab.commons.exception.ApplicationException nullPointException()  
      • 从类继承的方法 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
    • 构造器详细资料

      • AbstractRegionController

        public AbstractRegionController()
    • 方法详细资料

      • getTree

        @Cacheable(value="region",
                   key="\'tree\'")
        @GetMapping("/tree")
        public Collection<net.guerlab.smart.region.core.domain.RegionDTO> getTree()
      • findDepthList

        @GetMapping("/{id}/depth")
        public Collection<net.guerlab.smart.region.core.domain.RegionDTO> findDepthList​(@PathVariable
                                                                                        Long id)
      • nullPointException

        protected net.guerlab.commons.exception.ApplicationException nullPointException()
        覆盖:
        nullPointException 在类中 net.guerlab.smart.platform.server.controller.AbstractControllerImpl<net.guerlab.smart.region.core.domain.RegionDTO,​Region,​RegionService,​Long>