Class SysTenantDataSourceController

java.lang.Object
cn.herodotus.engine.web.api.servlet.AbstractReadableController<E,ID,S>
cn.herodotus.engine.web.api.servlet.AbstractWriteableController<E,ID,cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<E,ID>>
cn.herodotus.engine.web.api.servlet.AbstractJpaWriteableController<SysTenantDataSource,String>
cn.herodotus.engine.oauth2.authentication.autoconfigure.tenant.SysTenantDataSourceController
All Implemented Interfaces:
cn.herodotus.engine.core.definition.domain.BaseDomain, cn.herodotus.engine.core.definition.domain.Pagination, cn.herodotus.engine.web.api.servlet.BindingController<SysTenantDataSource,String,cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<SysTenantDataSource,String>>, cn.herodotus.engine.web.api.servlet.PageController<SysTenantDataSource,String,cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<SysTenantDataSource,String>>, cn.herodotus.engine.web.api.servlet.PaginationController, cn.herodotus.engine.web.core.definition.Controller, Serializable

@RestController @RequestMapping("/security/tenant/datasource") public class SysTenantDataSourceController extends cn.herodotus.engine.web.api.servlet.AbstractJpaWriteableController<SysTenantDataSource,String>

Description: 多租户数据源接口

Author:
: gengwei.zheng
See Also:
Date:
: 2023/3/29 21:23
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    cn.herodotus.engine.core.definition.domain.Result<SysTenantDataSource>
     
    cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<SysTenantDataSource,String>
     

    Methods inherited from class cn.herodotus.engine.web.api.servlet.AbstractJpaWriteableController

    save

    Methods inherited from class cn.herodotus.engine.web.api.servlet.AbstractWriteableController

    delete

    Methods inherited from class cn.herodotus.engine.web.api.servlet.AbstractReadableController

    findByPage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface cn.herodotus.engine.web.api.servlet.BindingController

    findAll, findById

    Methods inherited from interface cn.herodotus.engine.web.core.definition.Controller

    result, result, result, result, result, result, result

    Methods inherited from interface cn.herodotus.engine.web.api.servlet.PageController

    findByPage, findByPage

    Methods inherited from interface cn.herodotus.engine.core.definition.domain.Pagination

    with, with

    Methods inherited from interface cn.herodotus.engine.web.api.servlet.PaginationController

    fromPage, fromSlice, resultFromPage, resultFromSlice
  • Constructor Details

  • Method Details

    • getService

      public cn.herodotus.engine.data.core.jpa.service.BaseJpaWriteableService<SysTenantDataSource,String> getService()
    • findByRoleCode

      @AccessLimited @GetMapping("/{tenantId}") public cn.herodotus.engine.core.definition.domain.Result<SysTenantDataSource> findByRoleCode(@PathVariable("tenantId") String tenantId)