protected static class

ConfigurePortalPages.PortalPageViewHelper

extends SharedEntitySearchViewHelper<E extends SharedEntity>
java.lang.Object
   ↳ com.atlassian.jira.web.action.util.sharing.SharedEntitySearchViewHelper<E extends com.atlassian.jira.sharing.SharedEntity>
     ↳ com.atlassian.jira.web.action.user.ConfigurePortalPages.PortalPageViewHelper

Class Overview

Class to help executing and displaying the results of PortalPage searches.

Summary

Public Constructors
ConfigurePortalPages.PortalPageViewHelper(ShareTypeFactory shareTypeFactory, JiraAuthenticationContext authCtx, String applicationContext, String actionUrlPrefix, PortalPageService portalPageService)
Public Methods
SharedEntitySearchContext getEntitySearchContext()
Protected Methods
SharedEntitySearchResult<PortalPage> doExecuteSearch(JiraServiceContext ctx, SharedEntitySearchParameters searchParameters, int pageOffset, int pageWidth)
Execute the search for the passed parameters.
boolean validateSearchParameters(JiraServiceContext ctx, SharedEntitySearchParameters searchParameters, int pageOffset, int pageWidth)
Ensure that it is possible to execute a search with the passed parameters.
[Expand]
Inherited Methods
From class com.atlassian.jira.web.action.util.sharing.SharedEntitySearchViewHelper
From class java.lang.Object

Public Constructors

public ConfigurePortalPages.PortalPageViewHelper (ShareTypeFactory shareTypeFactory, JiraAuthenticationContext authCtx, String applicationContext, String actionUrlPrefix, PortalPageService portalPageService)

Public Methods

public SharedEntitySearchContext getEntitySearchContext ()

Protected Methods

protected SharedEntitySearchResult<PortalPage> doExecuteSearch (JiraServiceContext ctx, SharedEntitySearchParameters searchParameters, int pageOffset, int pageWidth)

Execute the search for the passed parameters.

Parameters
ctx the context to execute the search under.
searchParameters the parameters for the search.
pageOffset the offset of the search result page to return.
pageWidth the width of a search result page.
Returns
  • the result of the search or null if an error occurred.

protected boolean validateSearchParameters (JiraServiceContext ctx, SharedEntitySearchParameters searchParameters, int pageOffset, int pageWidth)

Ensure that it is possible to execute a search with the passed parameters.

Parameters
ctx the context to execute the search under.
searchParameters the parameters for the search.
pageOffset the offset of the search result page to return.
pageWidth the width of a search result page.
Returns
  • true iff the search can be performed.