类 AbstractRegionController
- java.lang.Object
-
- net.guerlab.smart.platform.server.controller.AbstractControllerImpl<D,E,S,PK>
-
- net.guerlab.smart.platform.server.controller.BaseFindController<net.guerlab.smart.region.core.domain.RegionDTO,Region,RegionService,net.guerlab.smart.region.core.searchparams.RegionSearchParams,Long>
-
- net.guerlab.smart.region.web.controller.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
-
-
构造器概要
构造器 构造器 说明 AbstractRegionController()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.ApplicationExceptionnullPointException()-
从类继承的方法 net.guerlab.smart.platform.server.controller.AbstractControllerImpl
findOne0, getService, newEntity, setService
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
方法详细资料
-
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>
-
-