Class AuthorUtils


public final class AuthorUtils extends Object
Author processing utilities.
  • Method Details

    • findAuthors

      public static Set<Author> findAuthors(ServletContext servletContext, HttpServletRequest request, HttpServletResponse response, Page page) throws ServletException, IOException

      Finds all the authors for the given page.

      When no authors provided, will use the author(s) of any parent page that is within the same book. If there are no parent pages in this same book, uses the book's authors.

      When inheriting authorship from multiple parent pages, the authors must be in exact agreement. This means exactly the same order and all values matching precisely. Any mismatch in authors will result in an exception.