Class ProjectPageRenderer

java.lang.Object
com.atlassian.jira.projects.page.ProjectPageRenderer

@Component public class ProjectPageRenderer extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • renderWithSidebar

      public io.atlassian.fugue.Either<ErrorCollection,String> renderWithSidebar(String projectKey, String selectedItemId)
      Renders the page for the selected item, including the sidebar.
      Parameters:
      projectKey - The key of the project
      selectedItemId - The item to be rendered
      Returns:
      Either a collection of errors or the html of the page for the selected item
    • renderWithoutSidebar

      public io.atlassian.fugue.Either<ErrorCollection,String> renderWithoutSidebar(String projectKey, String selectedItemId)
      Renders the page for the selected item, without the sidebar.
      Parameters:
      projectKey - The key of the project
      selectedItemId - The item to be rendered
      Returns:
      Either a collection of errors or the html of the page for the selected item