Class PageState

  • All Implemented Interfaces:

    public class PageState
    extends Object
    implements Serializable
    A page state hold a process state along with its current page counter. This is used to save the report state to allow faster pagination later on.
    Thomas Morgner
    See Also:
    Serialized Form
    • Constructor Detail

      • PageState

        public PageState​(ProcessState reportState,
                         int pageCursor)
    • Method Detail

      • getPageCursor

        public int getPageCursor()
      • prepareStorage

        public void prepareStorage()
      • isSafeToStoreEarly

        public boolean isSafeToStoreEarly()
        Tests whether this state can be saved during the pagination stage. This only returns true if there are no inline-subreports processed in the current state.
        true, if this is a valid safe-state, false otherwise.