public class FilterPickerPopup extends JiraWebActionSupport implements SharedEntitySearchAction
JiraWebActionSupport.MessageType
SharedEntitySearchAction.FieldNameMapper, SharedEntitySearchAction.QueryValidator
ErrorCollection.Reason
I18nHelper.BeanFactory
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
log
Constructor and Description |
---|
FilterPickerPopup(SearchRequestService searchRequestService,
ShareTypeFactory shareTypeFactory,
PermissionManager permissionManager,
JiraAuthenticationContext authCtx,
ProjectManager projectManager,
SearchRequestDisplayBean.Factory beanFactory,
ProjectDescriptionRenderer projectDescriptionRenderer,
FeatureManager featureManager,
JiraAuthenticationContext authenticationContext,
UserManager userManager) |
Modifier and Type | Method and Description |
---|---|
protected String |
doExecute() |
Collection<ProjectCategory> |
getCategories() |
int |
getEndPosition() |
String |
getField() |
FilterLinkRenderer |
getFilterLinkRenderer() |
List |
getFilters() |
com.atlassian.jira.web.action.filter.FilterPickerPopup.FilterPickerPopupViewHelper |
getFiltersViewHelper() |
String |
getFilterView() |
String |
getGroupShare() |
String |
getNextUrl() |
Long |
getPagingOffset() |
String |
getPreviousUrl() |
String |
getProjectShare() |
Collection<Project> |
getProjectsInCategory(ProjectCategory projectCategory)
Returns the projects which are in the given category.
|
Collection<Project> |
getProjectsInNoCategory()
Returns the projects which are not in a category.
|
String |
getRenderedProjectDescription(Project project) |
String |
getRoleShare() |
String |
getSearchName() |
String |
getSearchOwnerUserName() |
String |
getSearchShareType() |
String |
getSearchUnsuccessfulMessage()
Returns the key for a message to be used in the case when there are no search results.
|
String |
getSortColumn() |
int |
getStartPosition() |
int |
getTotalResultCount() |
String |
getUserShare() |
boolean |
isErrorMessage() |
boolean |
isSearchRequested() |
boolean |
isShowFilters() |
boolean |
isShowProjects() |
boolean |
isSortAscending() |
boolean |
isTabShowing(String tab) |
boolean |
projectsExist()
Returns true if there is at least one project somewhere.
|
void |
setField(String field) |
void |
setFilterView(String filterView) |
void |
setGroupShare(String groupShare) |
void |
setPagingOffset(Long pagingOffset) |
void |
setProjectShare(String projectShare) |
void |
setRoleShare(String roleShare) |
void |
setSearchName(String searchName) |
void |
setSearchOwnerUserName(String searchOwnerUserName) |
void |
setSearchShareType(String searchShareType) |
void |
setShowFilters(boolean showFilters) |
void |
setShowProjects(boolean showProjects) |
void |
setSortAscending(boolean sortAscending) |
void |
setSortColumn(String sortColumn) |
void |
setUserShare(String userShare) |
boolean |
showCategories()
Determines whether or not the list of projects should be shown grouped by categories.
|
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncode
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
addError, addErrorMessage, doDefault, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
public FilterPickerPopup(SearchRequestService searchRequestService, ShareTypeFactory shareTypeFactory, PermissionManager permissionManager, JiraAuthenticationContext authCtx, ProjectManager projectManager, SearchRequestDisplayBean.Factory beanFactory, ProjectDescriptionRenderer projectDescriptionRenderer, FeatureManager featureManager, JiraAuthenticationContext authenticationContext, UserManager userManager)
public String getSearchName()
getSearchName
in interface SharedEntitySearchAction
public void setSearchName(String searchName)
setSearchName
in interface SharedEntitySearchAction
public String getSearchOwnerUserName()
getSearchOwnerUserName
in interface SharedEntitySearchAction
public void setSearchOwnerUserName(String searchOwnerUserName)
setSearchOwnerUserName
in interface SharedEntitySearchAction
public String getSearchShareType()
getSearchShareType
in interface SharedEntitySearchAction
public void setSearchShareType(String searchShareType)
setSearchShareType
in interface SharedEntitySearchAction
public void setGroupShare(String groupShare)
setGroupShare
in interface SharedEntitySearchAction
public String getGroupShare()
getGroupShare
in interface SharedEntitySearchAction
public void setUserShare(String userShare)
setUserShare
in interface SharedEntitySearchAction
public String getUserShare()
getUserShare
in interface SharedEntitySearchAction
public Long getPagingOffset()
getPagingOffset
in interface SharedEntitySearchAction
public void setProjectShare(String projectShare)
setProjectShare
in interface SharedEntitySearchAction
public String getProjectShare()
getProjectShare
in interface SharedEntitySearchAction
public void setRoleShare(String roleShare)
setRoleShare
in interface SharedEntitySearchAction
public String getRoleShare()
getRoleShare
in interface SharedEntitySearchAction
public void setPagingOffset(Long pagingOffset)
setPagingOffset
in interface SharedEntitySearchAction
public String getSortColumn()
getSortColumn
in interface SharedEntitySearchAction
public void setSortColumn(String sortColumn)
setSortColumn
in interface SharedEntitySearchAction
public boolean isSortAscending()
isSortAscending
in interface SharedEntitySearchAction
public void setSortAscending(boolean sortAscending)
setSortAscending
in interface SharedEntitySearchAction
public String getFilterView()
public void setFilterView(String filterView)
public boolean isShowFilters()
public void setShowFilters(boolean showFilters)
public boolean isShowProjects()
public void setShowProjects(boolean showProjects)
public String getField()
public void setField(String field)
public List getFilters()
public boolean isSearchRequested()
public String getNextUrl()
public String getPreviousUrl()
public int getStartPosition()
public int getEndPosition()
public int getTotalResultCount()
public com.atlassian.jira.web.action.filter.FilterPickerPopup.FilterPickerPopupViewHelper getFiltersViewHelper()
public String getSearchUnsuccessfulMessage()
public boolean isErrorMessage()
public boolean isTabShowing(String tab)
public FilterLinkRenderer getFilterLinkRenderer()
public boolean showCategories()
public Collection<ProjectCategory> getCategories()
protected String doExecute()
doExecute
in class webwork.action.ActionSupport
public Collection<Project> getProjectsInCategory(ProjectCategory projectCategory)
projectCategory
- the category or null for those projects in no category.public Collection<Project> getProjectsInNoCategory()
public boolean projectsExist()
Copyright © 2002-2019 Atlassian. All Rights Reserved.