Class FilterPickerPopup
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.filter.FilterPickerPopup
- All Implemented Interfaces:
ErrorCollection,I18nHelper,SharedEntitySearchAction,HttpServletVariables,AuthorizationSupport,Serializable,webwork.action.Action,webwork.action.CommandDriven,webwork.action.IllegalArgumentAware
Action implementation for the Filter Picker popup.
- Since:
- v3.13
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
JiraWebActionSupport.MessageTypeNested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.ReasonNested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactoryNested classes/interfaces inherited from interface com.atlassian.jira.web.action.util.sharing.SharedEntitySearchAction
SharedEntitySearchAction.FieldNameMapper, SharedEntitySearchAction.QueryValidator -
Field Summary
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, log, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULTFields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessagesFields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS -
Constructor Summary
ConstructorsConstructorDescriptionFilterPickerPopup(SearchRequestService searchRequestService, ShareTypeFactory shareTypeFactory, JiraAuthenticationContext authCtx, ProjectManager projectManager, SearchRequestDisplayBean.Factory beanFactory, ProjectDescriptionRenderer projectDescriptionRenderer, FeatureManager featureManager, JiraAuthenticationContext authenticationContext, UserManager userManager, InternalProjectPermissionHelper projectPermissionHelper) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringintgetField()com.atlassian.jira.web.action.filter.FilterPickerPopup.FilterPickerPopupViewHelpergetProjectsInCategory(ProjectCategory projectCategory) getRenderedProjectDescription(Project project) Returns the key for a message to be used in the case when there are no search results.intintbooleanbooleanbooleanbooleanbooleanbooleanisTabShowing(String tab) booleanvoidvoidsetFilterView(String filterView) voidsetGroupShare(String groupShare) voidsetPagingOffset(Long pagingOffset) voidsetProjectShare(String projectShare) voidsetRoleShare(String roleShare) voidsetSearchName(String searchName) voidsetSearchOwnerUserName(String searchOwnerUserName) voidsetSearchShareType(String searchShareType) voidsetShowFilters(boolean showFilters) voidsetShowProjects(boolean showProjects) voidsetSortAscending(boolean sortAscending) voidsetSortColumn(String sortColumn) voidsetUserShare(String userShare) booleanDetermines whether or not the list of projects should be shown grouped by categories.Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, addMessageToResponse, addReason, addReasons, checkIfUrlIsAllowed, execute, forceRedirect, getActionName, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getComponentInstanceOfType, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDefaultResourceBundle, getDescTranslation, getDescTranslation, getDmyDateFormatter, getEmptyResponse, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getI18nHelper, getJiraContactHelper, getJiraServiceContext, getKeysForPrefix, getLanguage, getLocale, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getNameTranslation, getOfBizDelegator, getOutboundWhitelistProvider, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getRequestSourceType, getResourceBundle, getResult, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTimeFormat, getUnescapedText, getUntransformedRawText, getUriValidator, getUserFullName, getUserManager, getUserPreferences, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasAnyErrors, hasErrorMessage, hasErrorMessageByKey, hasGlobalPermission, hasGlobalPermission, hasIssuePermission, hasIssuePermission, hasIssuePermission, hasPermission, hasProjectPermission, hasProjectPermission, htmlEncode, insertContextPath, isAdministrator, isIndexing, isInlineDialogMode, isKeyDefined, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, removeKeyOrAddError, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, tagMauEventWithApplication, tagMauEventWithProject, urlEncodeMethods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doDefault, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface webwork.action.CommandDriven
getCommandName, setCommandMethods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, setErrorMessages
-
Constructor Details
-
Method Details
-
getSearchName
- Specified by:
getSearchNamein interfaceSharedEntitySearchAction
-
setSearchName
- Specified by:
setSearchNamein interfaceSharedEntitySearchAction
-
getSearchOwnerUserName
- Specified by:
getSearchOwnerUserNamein interfaceSharedEntitySearchAction
-
setSearchOwnerUserName
- Specified by:
setSearchOwnerUserNamein interfaceSharedEntitySearchAction
-
getPagingOffset
- Specified by:
getPagingOffsetin interfaceSharedEntitySearchAction
-
setPagingOffset
- Specified by:
setPagingOffsetin interfaceSharedEntitySearchAction
-
getSortColumn
- Specified by:
getSortColumnin interfaceSharedEntitySearchAction
-
setSortColumn
- Specified by:
setSortColumnin interfaceSharedEntitySearchAction
-
isSortAscending
public boolean isSortAscending()- Specified by:
isSortAscendingin interfaceSharedEntitySearchAction
-
setSortAscending
public void setSortAscending(boolean sortAscending) - Specified by:
setSortAscendingin interfaceSharedEntitySearchAction
-
getFilterView
-
setFilterView
-
isShowFilters
public boolean isShowFilters() -
setShowFilters
public void setShowFilters(boolean showFilters) -
isShowProjects
public boolean isShowProjects() -
setShowProjects
public void setShowProjects(boolean showProjects) -
getField
-
setField
-
getFilters
-
isSearchRequested
public boolean isSearchRequested() -
getNextUrl
-
getPreviousUrl
-
getStartPosition
public int getStartPosition() -
getEndPosition
public int getEndPosition() -
getTotalResultCount
public int getTotalResultCount() -
getFiltersViewHelper
public com.atlassian.jira.web.action.filter.FilterPickerPopup.FilterPickerPopupViewHelper getFiltersViewHelper() -
getSearchUnsuccessfulMessage
Returns the key for a message to be used in the case when there are no search results. Either there was no search requested, or the search returned errors or no results- Returns:
- the message informing of reasons for the search being unsuccessful
-
isErrorMessage
public boolean isErrorMessage() -
isTabShowing
-
getFilterLinkRenderer
-
showCategories
public boolean showCategories()Determines whether or not the list of projects should be shown grouped by categories. Standard edition doesn't have categories.- Returns:
- true only if the front-end should display projects in categories.
-
getCategories
-
doExecute
- Overrides:
doExecutein classwebwork.action.ActionSupport
-
getProjectsInCategory
-
getProjectsInNoCategory
-
projectsExist
public boolean projectsExist() -
getRenderedProjectDescription
-