Class Paging


  • public final class Paging
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <ElementType,​ExceptionType extends com.lexmark.saperion.exceptions.EcmException>
      java.lang.Iterable<ElementType>
      iterate​(int pageSize, EcmSearchFunction<ElementType,​ExceptionType> supplier)  
      static <ElementType,​ExceptionType extends com.lexmark.saperion.exceptions.EcmException>
      PagedIterator<ElementType,​ExceptionType>
      iterator​(int pageSize, EcmSearchFunction<ElementType,​ExceptionType> supplier)  
      static <ElementType,​ExceptionType extends com.lexmark.saperion.exceptions.EcmException>
      java.util.stream.Stream<ElementType>
      stream​(int pageSize, EcmSearchFunction<ElementType,​ExceptionType> supplier)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • iterate

        public static <ElementType,​ExceptionType extends com.lexmark.saperion.exceptions.EcmException> java.lang.Iterable<ElementType> iterate​(int pageSize,
                                                                                                                                                     EcmSearchFunction<ElementType,​ExceptionType> supplier)
      • iterator

        public static <ElementType,​ExceptionType extends com.lexmark.saperion.exceptions.EcmException> PagedIterator<ElementType,​ExceptionType> iterator​(int pageSize,
                                                                                                                                                                     EcmSearchFunction<ElementType,​ExceptionType> supplier)
      • stream

        public static <ElementType,​ExceptionType extends com.lexmark.saperion.exceptions.EcmException> java.util.stream.Stream<ElementType> stream​(int pageSize,
                                                                                                                                                         EcmSearchFunction<ElementType,​ExceptionType> supplier)