Class PageUtil


  • public abstract class PageUtil
    extends java.lang.Object
    Utility methods for dealing with pages.
    Since:
    10.3.0
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void changePageId​(PageWebResource pageWebResource, PageConfig newPage)
      Change pageId parameter from pageWebResource
      static int normalizeCachePageValue​(int pageCache)
      Normalize the given page cache configuration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • normalizeCachePageValue

        public static int normalizeCachePageValue​(int pageCache)
        Normalize the given page cache configuration.
        Parameters:
        pageCache - the page cache configuration.
        Returns:
        the normalized page cache configuration.
        Since:
        10.3.0
      • changePageId

        public static void changePageId​(PageWebResource pageWebResource,
                                        PageConfig newPage)
                                 throws java.net.URISyntaxException
        Change pageId parameter from pageWebResource
        Parameters:
        pageWebResource - the page webresource
        newPage - the new page
        Throws:
        java.net.URISyntaxException
        Since:
        17.0.0