Class PagingConfig

  • All Implemented Interfaces:

    
    public final class PagingConfig
    
                        

    Defines how results should be paginated when fetching data.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getIndex() Zero-based page index, indicating which page of results to load.
      final Integer getSize() Number of items to include in a single page.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getIndex

         final Integer getIndex()

        Zero-based page index, indicating which page of results to load.

      • getSize

         final Integer getSize()

        Number of items to include in a single page.

        Validation rules:

        • index must be >= 0

        • size must be 0

        Used by repository or service methods to control data retrieval and limit result sizes for performance.