类 ExPageHelper

  • 所有已实现的接口:
    com.github.pagehelper.BoundSqlInterceptor.Chain, com.github.pagehelper.Dialect

    public class ExPageHelper
    extends com.github.pagehelper.PageHelper
    继承pagehelper 加强分页能力
    从以下版本开始:
    1.3.12.RELEASE
    作者:
    王老实
    • 字段概要

      • 从类继承的字段 com.github.pagehelper.page.PageMethod

        DEFAULT_COUNT, LOCAL_PAGE
      • 从接口继承的字段 com.github.pagehelper.BoundSqlInterceptor.Chain

        DO_NOTHING
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void afterAll()  
      boolean afterCount​(long count, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds)  
      Object afterPage​(List pageList, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds)  
      boolean beforeCount​(org.apache.ibatis.mapping.MappedStatement ms, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds)  
      boolean beforePage​(org.apache.ibatis.mapping.MappedStatement ms, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds)  
      String getCountSql​(org.apache.ibatis.mapping.MappedStatement ms, org.apache.ibatis.mapping.BoundSql boundSql, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.cache.CacheKey countKey)  
      String getPageSql​(String sql, com.github.pagehelper.Page page, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.cache.CacheKey pageKey)  
      String getPageSql​(org.apache.ibatis.mapping.MappedStatement ms, org.apache.ibatis.mapping.BoundSql boundSql, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds, org.apache.ibatis.cache.CacheKey pageKey)  
      Object processParameterObject​(org.apache.ibatis.mapping.MappedStatement ms, Object parameterObject, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.cache.CacheKey pageKey)  
      void setProperties​(Properties properties)  
      boolean skip​(org.apache.ibatis.mapping.MappedStatement ms, Object parameterObject, org.apache.ibatis.session.RowBounds rowBounds)  
      • 从类继承的方法 com.github.pagehelper.PageHelper

        doBoundSql
      • 从类继承的方法 com.github.pagehelper.page.PageMethod

        clearPage, count, getLocalPage, offsetPage, offsetPage, orderBy, setLocalPage, setStaticProperties, startPage, startPage, startPage, startPage, startPage
    • 构造器详细资料

      • ExPageHelper

        public ExPageHelper()
    • 方法详细资料

      • skip

        public boolean skip​(org.apache.ibatis.mapping.MappedStatement ms,
                            Object parameterObject,
                            org.apache.ibatis.session.RowBounds rowBounds)
        指定者:
        skip 在接口中 com.github.pagehelper.Dialect
        覆盖:
        skip 在类中 com.github.pagehelper.PageHelper
      • beforeCount

        public boolean beforeCount​(org.apache.ibatis.mapping.MappedStatement ms,
                                   Object parameterObject,
                                   org.apache.ibatis.session.RowBounds rowBounds)
        指定者:
        beforeCount 在接口中 com.github.pagehelper.Dialect
        覆盖:
        beforeCount 在类中 com.github.pagehelper.PageHelper
      • getCountSql

        public String getCountSql​(org.apache.ibatis.mapping.MappedStatement ms,
                                  org.apache.ibatis.mapping.BoundSql boundSql,
                                  Object parameterObject,
                                  org.apache.ibatis.session.RowBounds rowBounds,
                                  org.apache.ibatis.cache.CacheKey countKey)
        指定者:
        getCountSql 在接口中 com.github.pagehelper.Dialect
        覆盖:
        getCountSql 在类中 com.github.pagehelper.PageHelper
      • afterCount

        public boolean afterCount​(long count,
                                  Object parameterObject,
                                  org.apache.ibatis.session.RowBounds rowBounds)
        指定者:
        afterCount 在接口中 com.github.pagehelper.Dialect
        覆盖:
        afterCount 在类中 com.github.pagehelper.PageHelper
      • processParameterObject

        public Object processParameterObject​(org.apache.ibatis.mapping.MappedStatement ms,
                                             Object parameterObject,
                                             org.apache.ibatis.mapping.BoundSql boundSql,
                                             org.apache.ibatis.cache.CacheKey pageKey)
        指定者:
        processParameterObject 在接口中 com.github.pagehelper.Dialect
        覆盖:
        processParameterObject 在类中 com.github.pagehelper.PageHelper
      • beforePage

        public boolean beforePage​(org.apache.ibatis.mapping.MappedStatement ms,
                                  Object parameterObject,
                                  org.apache.ibatis.session.RowBounds rowBounds)
        指定者:
        beforePage 在接口中 com.github.pagehelper.Dialect
        覆盖:
        beforePage 在类中 com.github.pagehelper.PageHelper
      • getPageSql

        public String getPageSql​(org.apache.ibatis.mapping.MappedStatement ms,
                                 org.apache.ibatis.mapping.BoundSql boundSql,
                                 Object parameterObject,
                                 org.apache.ibatis.session.RowBounds rowBounds,
                                 org.apache.ibatis.cache.CacheKey pageKey)
        指定者:
        getPageSql 在接口中 com.github.pagehelper.Dialect
        覆盖:
        getPageSql 在类中 com.github.pagehelper.PageHelper
      • getPageSql

        public String getPageSql​(String sql,
                                 com.github.pagehelper.Page page,
                                 org.apache.ibatis.session.RowBounds rowBounds,
                                 org.apache.ibatis.cache.CacheKey pageKey)
        覆盖:
        getPageSql 在类中 com.github.pagehelper.PageHelper
      • afterPage

        public Object afterPage​(List pageList,
                                Object parameterObject,
                                org.apache.ibatis.session.RowBounds rowBounds)
        指定者:
        afterPage 在接口中 com.github.pagehelper.Dialect
        覆盖:
        afterPage 在类中 com.github.pagehelper.PageHelper
      • afterAll

        public void afterAll()
        指定者:
        afterAll 在接口中 com.github.pagehelper.Dialect
        覆盖:
        afterAll 在类中 com.github.pagehelper.PageHelper
      • setProperties

        public void setProperties​(Properties properties)
        指定者:
        setProperties 在接口中 com.github.pagehelper.Dialect
        覆盖:
        setProperties 在类中 com.github.pagehelper.PageHelper