类 SuperSimpleController<S extends SuperService<Id,Entity>,Id extends Serializable,Entity extends SuperEntity<Id>>
java.lang.Object
top.tangyh.basic.base.controller.SuperSimpleController<S,Id,Entity>
- 类型参数:
S- ServiceEntity- 实体
- 所有已实现的接口:
BaseController<Id,Entity>
public abstract class SuperSimpleController<S extends SuperService<Id,Entity>,Id extends Serializable,Entity extends SuperEntity<Id>>
extends Object
implements BaseController<Id,Entity>
简单的实现了BaseController,为了获取注入 Service 和 实体类型
基类该类后,没有任何方法。 可以让业务Controller继承 SuperSimpleController 后,按需实现 *Controller 接口
- 作者:
- zuihou
-
字段详细资料
-
superService
-
entityClass
-
-
构造器详细资料
-
SuperSimpleController
public SuperSimpleController()
-
-
方法详细资料
-
currentModelClass
-
getEntityClass
从接口复制的说明:BaseController获取实体的类型- 指定者:
getEntityClass在接口中BaseController<S extends SuperService<Id,Entity>, Id extends Serializable> - 返回:
- 实体的类型
-
getSuperService
从接口复制的说明:BaseController获取Service- 指定者:
getSuperService在接口中BaseController<S extends SuperService<Id,Entity>, Id extends Serializable> - 返回:
- Service
-