类 AbstractIQRSController<E extends win.doyto.query.entity.Persistable<I>,​I extends java.io.Serializable,​Q extends win.doyto.query.core.PageQuery,​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
    • 字段概要

      • 从类继承的字段 win.doyto.query.service.AbstractDynamicService

        dataAccess, entityAspects, entityCacheWrapper, entityClass, queryCacheWrapper, transactionOperations
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void add​(java.util.List<R> requests)  
      void add​(R request)  
      protected E buildEntity​(E e, R r)  
      protected E buildEntity​(R r)  
      protected S buildResponse​(E e)  
      protected E checkResult​(I id, E e)  
      S deleteById​(I id)  
      S getById​(I id)  
      protected win.doyto.query.service.PageList<S> paging​(Q q)  
      void patch​(I id, R request)  
      void update​(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
      • 从接口继承的方法 win.doyto.query.service.CrudService

        delete, fetch, get
      • 从接口继承的方法 win.doyto.query.service.DynamicService

        batchInsert, create, create, delete, delete, fetch, get, isNewEntity, patch, patch, save, update
      • 从接口继承的方法 win.doyto.query.service.QueryService

        count, exists, get, get, notExists, page, page, query, query, queryColumns, queryIds
    • 构造器详细资料

      • AbstractIQRSController

        public AbstractIQRSController()
      • AbstractIQRSController

        public AbstractIQRSController​(int sTypeIndex)
    • 方法详细资料

      • checkResult

        protected E checkResult​(I id,
                                E e)
      • buildResponse

        protected S buildResponse​(E e)
      • buildEntity

        protected E buildEntity​(R r)
      • buildEntity

        protected E buildEntity​(E e,
                                R r)
      • paging

        @GetMapping
        protected win.doyto.query.service.PageList<S> paging​(@Validated(win.doyto.query.validation.PageGroup.class)
                                                             Q q)
      • getById

        @GetMapping("{id}")
        public S getById​(@PathVariable
                         I id)
      • deleteById

        @DeleteMapping("{id}")
        public S deleteById​(@PathVariable
                            I id)
      • 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)
      • patch

        @PatchMapping("{id}")
        public void patch​(@PathVariable
                          I id,
                          @RequestBody @Validated(win.doyto.query.validation.PatchGroup.class)
                          R request)