Package org.beangle.collection.page

Examples of org.beangle.collection.page.SinglePage


      criteria.setFirstResult((limit.getPageNo() - 1) * limit.getPageSize()).setMaxResults(
          limit.getPageSize());
      targetList = criteria.list();
    }
    // 返回结果
    return new SinglePage(limit.getPageNo(), limit.getPageSize(), totalCount, targetList);
  }
View Full Code Here

TOP

Related Classes of org.beangle.collection.page.SinglePage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.