Interface IPageManager

    • Method Detail

      • supportsVersioning

        boolean supportsVersioning()
        Is versionining of pages supported, see IPageStore.supportsVersioning().
        Returns:
        true if versioning is supported
      • getPage

        IManageablePage getPage​(int pageId)
        Get a page
        Parameters:
        pageId - id of page
        Returns:
        page, may be null
      • removePage

        void removePage​(IManageablePage page)
        Remove a page
        Parameters:
        page - page to remove
      • touchPage

        void touchPage​(IManageablePage page)
        Add a page.
        Parameters:
        page - page to add
      • untouchPage

        void untouchPage​(IManageablePage page)
        Marks page as non-changed. Could be used in Ajax requests to avoid storing the page if no changes have happened.
        Parameters:
        page - the page that should not be stored in the page stores at the end of the request.
      • clear

        void clear()
        Clear all pages.
      • detach

        void detach()
        Detach at end of request.
      • destroy

        void destroy()
        Destroy when application is destroyed.
      • getPageStore

        IPageStore getPageStore()
        Get the storage of pages, optional.
        Returns:
        store or null