Interface IPageManager

All Known Implementing Classes:
MockPageManager, PageManager

public interface IPageManager
A manager of pages - facade between Pages and IPageStores they are stored in.
See Also:
  • Method Details

    • supportsVersioning

      Is versioning 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

      Remove a page
      Parameters:
      page - page to remove
    • touchPage

      Add a page.
      Parameters:
      page - page to add
    • untouchPage

      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.
    • end

      default void end()
      End the request.
    • detach

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

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

      Get the storage of pages, optional.
      Returns:
      store or null