Class DelegatingPageStore

    • Constructor Detail

      • DelegatingPageStore

        protected DelegatingPageStore​(IPageStore delegate)
    • Method Detail

      • supportsVersioning

        public boolean supportsVersioning()
        Versioning is supported depending on the delegate.
        Specified by:
        supportsVersioning in interface IPageStore
      • removeAllPages

        public void removeAllPages​(IPageContext context)
        Description copied from interface: IPageStore
        All pages should be removed from storage for the given context.
        Specified by:
        removeAllPages in interface IPageStore
        Parameters:
        context - the context of the pages
      • getPage

        public IManageablePage getPage​(IPageContext context,
                                       int id)
        Description copied from interface: IPageStore
        Restores a page from storage.
        Specified by:
        getPage in interface IPageStore
        Parameters:
        context - the context of the page
        id - the id of the page.
        Returns:
        the page
      • detach

        public void detach​(IPageContext context)
        Description copied from interface: IPageStore
        Detach from the current context.
        Specified by:
        detach in interface IPageStore
        Parameters:
        context - the context of the pages
      • destroy

        public void destroy()
        Description copied from interface: IPageStore
        Destroy the store.
        Specified by:
        destroy in interface IPageStore