程序包net.qimooc.commons.repository的分层结构

程序包分层结构:

类分层结构

  • java.lang.Object
    • org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport<T,​S,​ID> (implements org.springframework.context.ApplicationEventPublisherAware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<T>, org.springframework.beans.factory.InitializingBean, org.springframework.data.repository.core.support.RepositoryFactoryInformation<T,​ID>)
      • org.springframework.data.repository.core.support.TransactionalRepositoryFactoryBeanSupport<T,​S,​ID> (implements org.springframework.beans.factory.BeanFactoryAware)
        • org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean<T,​S,​ID>
    • net.qimooc.commons.repository.SecurityPostProcessor (implements org.springframework.data.repository.core.support.RepositoryProxyPostProcessor)

接口分层结构

  • org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>
    • net.qimooc.commons.repository.SupportRepository<T,​ID> (并 extends org.springframework.data.jpa.repository.JpaRepository<T,​ID>, org.springframework.data.querydsl.QuerydslPredicateExecutor<T>)
  • org.springframework.data.repository.query.QueryByExampleExecutor<T>
    • org.springframework.data.jpa.repository.JpaRepository<T,​ID> (并 extends org.springframework.data.repository.PagingAndSortingRepository<T,​ID>)
      • net.qimooc.commons.repository.SupportRepository<T,​ID> (并 extends org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>, org.springframework.data.querydsl.QuerydslPredicateExecutor<T>)
  • org.springframework.data.querydsl.QuerydslPredicateExecutor<T>
    • net.qimooc.commons.repository.SupportRepository<T,​ID> (并 extends org.springframework.data.jpa.repository.JpaRepository<T,​ID>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>)
  • org.springframework.data.repository.Repository<T,​ID>
    • org.springframework.data.repository.CrudRepository<T,​ID>
      • org.springframework.data.repository.PagingAndSortingRepository<T,​ID>
        • org.springframework.data.jpa.repository.JpaRepository<T,​ID> (并 extends org.springframework.data.repository.query.QueryByExampleExecutor<T>)
          • net.qimooc.commons.repository.SupportRepository<T,​ID> (并 extends org.springframework.data.jpa.repository.JpaSpecificationExecutor<T>, org.springframework.data.querydsl.QuerydslPredicateExecutor<T>)