类 AbstractIQRSController<E extends win.doyto.query.entity.Persistable<I>,I extends java.io.Serializable,Q extends win.doyto.query.core.PageQuery,R,S>
- java.lang.Object
-
- win.doyto.query.service.AbstractDynamicService<E,I,Q>
-
- win.doyto.query.service.AbstractCrudService<E,I,Q>
-
- win.doyto.query.web.controller.AbstractIQRSController<E,I,Q,R,S>
-
- 所有已实现的接口:
win.doyto.query.service.CrudService<E,I,Q>,win.doyto.query.service.DynamicService<E,I,Q>,win.doyto.query.service.QueryService<E,I,Q>
- 直接已知子类:
AbstractIQEEController
@JsonBody public abstract class AbstractIQRSController<E extends win.doyto.query.entity.Persistable<I>,I extends java.io.Serializable,Q extends win.doyto.query.core.PageQuery,R,S> extends win.doyto.query.service.AbstractCrudService<E,I,Q>
AbstractIQRSController- 作者:
- f0rb on 2020-01-29
-
-
构造器概要
构造器 构造器 说明 AbstractIQRSController()AbstractIQRSController(int sTypeIndex)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidadd(java.util.List<R> requests)voidadd(R request)protected EbuildEntity(E e, R r)protected EbuildEntity(R r)protected SbuildResponse(E e)protected EcheckResult(I id, E e)SdeleteById(I id)SgetById(I id)protected win.doyto.query.service.PageList<S>paging(Q q)voidpatch(I id, R request)voidupdate(I id, R request)-
从类继承的方法 win.doyto.query.service.AbstractDynamicService
caching, clearCache, count, create, create, delete, delete, evictCache, fetch, get, getCacheName, getRowMapper, patch, patch, query, queryColumns, queryIds, resolveCacheKey, setCacheList, setCacheManager, setJdbcOperations, setTransactionManager, update
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
方法详细资料
-
paging
@GetMapping protected win.doyto.query.service.PageList<S> paging(@Validated(win.doyto.query.validation.PageGroup.class) Q q)
-
add
public void add(R request)
-
add
@PostMapping public void add(@RequestBody @Validated(win.doyto.query.validation.CreateGroup.class) java.util.List<R> requests)
-
update
@PutMapping("{id}") public void update(@PathVariable I id, @RequestBody @Validated(win.doyto.query.validation.UpdateGroup.class) R request)
-
-