Class AbstractMongoController<E extends AbstractAuditEntity,ID extends Serializable>
java.lang.Object
cn.herodotus.engine.web.api.servlet.AbstractReadableController<E,ID,S>
cn.herodotus.engine.web.api.servlet.AbstractWriteableController<E,ID,BaseMongoService<E,ID>>
cn.herodotus.engine.web.api.servlet.AbstractMongoController<E,ID>
- Type Parameters:
E- 实体ID- 实体 ID
- All Implemented Interfaces:
cn.herodotus.engine.core.definition.domain.BaseDomain,cn.herodotus.engine.core.definition.domain.Pagination,BindingController<E,,ID, BaseMongoService<E, ID>> PageController<E,,ID, BaseMongoService<E, ID>> PaginationController,Controller,Serializable
public abstract class AbstractMongoController<E extends AbstractAuditEntity,ID extends Serializable>
extends AbstractWriteableController<E,ID,BaseMongoService<E,ID>>
Description: Spring Data Mongo 基础 controller
多定义一层抽象类,用于指定 BaseMongoService 类型,方便子类更加精确的定位类型。
- Author:
- : gengwei.zheng
- See Also:
- Date:
- : 2023/2/26 19:56
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class cn.herodotus.engine.web.api.servlet.AbstractWriteableController
delete, saveMethods inherited from class cn.herodotus.engine.web.api.servlet.AbstractReadableController
findByPageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cn.herodotus.engine.web.api.servlet.BindingController
findAll, findById, getServiceMethods inherited from interface cn.herodotus.engine.web.core.definition.Controller
result, result, result, result, result, result, resultMethods inherited from interface cn.herodotus.engine.web.api.servlet.PageController
findByPage, findByPageMethods inherited from interface cn.herodotus.engine.core.definition.domain.Pagination
with, withMethods inherited from interface cn.herodotus.engine.web.api.servlet.PaginationController
fromPage, fromSlice, resultFromPage, resultFromSlice
-
Constructor Details
-
AbstractMongoController
public AbstractMongoController()
-