com.tibbo.aggregate.common.context.loader

## Class PageableLoadedContexts

- java.lang.Object
- - com.tibbo.aggregate.common.context.loader.PageableLoadedContexts

- All Implemented Interfaces:
    LoadedContexts

      @Immutable
      public class PageableLoadedContexts
      extends java.lang.Object
      implements LoadedContexts

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PageableLoadedContexts(java.util.List<Context> contexts, int count)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `DataTable` | `asDataTable()`
    `java.util.List<Context>` | `getContexts()`
    `LoadedContexts` | `getPage(int offset, int count)`
    `int` | `getTotalCount()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PageableLoadedContexts

          public PageableLoadedContexts(@Nonnull
                                        java.util.List<Context> contexts,
                                        int count)

  - ### Method Detail

    - #### getPage

          public LoadedContexts getPage(int offset,
                                        int count)
                                 throws ContextException

      Specified by:
        `getPage` in interface `LoadedContexts`
      Throws:
        `ContextException`

    - #### asDataTable

          public DataTable asDataTable()

      Specified by:
        `asDataTable` in interface `LoadedContexts`

    - #### getTotalCount

          public int getTotalCount()

      Specified by:
        `getTotalCount` in interface `LoadedContexts`

    - #### getContexts

          public java.util.List<Context> getContexts()

      Specified by:
        `getContexts` in interface `LoadedContexts`