Interface IRequestablePage

    • Method Detail

      • isBookmarkable

        boolean isBookmarkable()
        Bookmarkable page can be instantiated using a bookmarkable URL.
        Returns:
        Returns true if the page is bookmarkable.
      • getRenderCount

        int getRenderCount()
        Returns the number of times this page has been rendered. The number will be appended to request listener links in order to prevent invoking listeners from staled page version.

        For example, the same page might have been rendered in two separate tabs. Page render doesn't change page id, but it can modify component hierarchy. Request listeners on such page should only work in tab where the page was rendered most recently.

        Returns:
        render count
      • wasCreatedBookmarkable

        boolean wasCreatedBookmarkable()
        Returns whether the page instance was created by a bookmarkable URL. Non mounted pages have to be created using bookmarkable URL in order to have hybrid URLs later. Otherwise it would be a potential security risk.
        Returns:
        true if this page has been created by a bookmarkable URL, false otherwise.
      • getPageParameters

        PageParameters getPageParameters()
        Returns the PageParameters for the page. Each bookmarkable page instance should have PageParameters associated with it. The page parameters are initialized from URL when page is created and are updated on every page render request.
        Returns:
        page parameters or null