Examples of proceedToOffset()


Examples of de.innovationgate.wgpublisher.webtml.utils.ResultIterator.proceedToOffset()

        int realResultSize = objectIterator.getResultSize();
        if (status.intPageSize > 0 && stringToBoolean(getFilllastpage())) {
            int pageOffset = status.offset - status.baseOffset;
            int goBack = (pageOffset >= status.intPageSize ? status.intPageSize : pageOffset);
            int newOffset = status.offset - goBack;
            objectIterator.proceedToOffset(newOffset, stringToBoolean(getLinear()));
           
            List results = new ArrayList<Object>();
            for (int docsToFetch = 1; docsToFetch <= goBack + status.intPageSize; docsToFetch++) {
                if (!objectIterator.hasNext()) {
                    realResultSize = newOffset + (docsToFetch - 1);
View Full Code Here

Examples of de.innovationgate.wgpublisher.webtml.utils.ResultIterator.proceedToOffset()

            objectIterator = new ResultIterator(subList.iterator(), realResultSize);
        }
       
        // Else proceed directly to offset
        else {
            objectIterator.proceedToOffset(status.offset, stringToBoolean(getLinear()));
        }
       
        status.resultIterator = objectIterator;
        status.resultSize = realResultSize;
    if (status.intPageSize > 0) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.