Interface IPageStore

    • Method Detail

      • supportsVersioning

        boolean supportsVersioning()
        Is versioning of pages supported, i.e. when an altered page instance has been stored in this store, can the previous state of that page still be retrieved under its former page id. Most implementations achieve this by keeping a copy of the page instance, e.g. by means of serialization.
      • removeAllPages

        void removeAllPages​(IPageContext context)
        All pages should be removed from storage for the given context.
        Parameters:
        context - the context of the pages
      • getPage

        IManageablePage getPage​(IPageContext context,
                                int id)
        Restores a page from storage.
        Parameters:
        context - the context of the page
        id - the id of the page.
        Returns:
        the page
      • end

        default void end​(IPageContext context)
        End the current context.
        Parameters:
        context -
      • detach

        default void detach​(IPageContext context)
        Detach from the current context.
        Parameters:
        context - the context of the pages
      • destroy

        default void destroy()
        Destroy the store.