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.MessageType
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
ErrorCollection.Reason
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
I18nHelper.BeanFactory
Nested 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_RESULT
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
Fields 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 String
int
getField()
com.atlassian.jira.web.action.filter.FilterPickerPopup.FilterPickerPopupViewHelper
getProjectsInCategory
(ProjectCategory projectCategory) getRenderedProjectDescription
(Project project) Returns the key for a message to be used in the case when there are no search results.int
int
boolean
boolean
boolean
boolean
boolean
boolean
isTabShowing
(String tab) boolean
void
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
Determines 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, urlEncode
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doDefault, doValidation, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface webwork.action.CommandDriven
getCommandName, setCommand
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, setErrorMessages
-
Constructor Details
-
Method Details
-
getSearchName
- Specified by:
getSearchName
in interfaceSharedEntitySearchAction
-
setSearchName
- Specified by:
setSearchName
in interfaceSharedEntitySearchAction
-
getSearchOwnerUserName
- Specified by:
getSearchOwnerUserName
in interfaceSharedEntitySearchAction
-
setSearchOwnerUserName
- Specified by:
setSearchOwnerUserName
in interfaceSharedEntitySearchAction
-
getPagingOffset
- Specified by:
getPagingOffset
in interfaceSharedEntitySearchAction
-
setPagingOffset
- Specified by:
setPagingOffset
in interfaceSharedEntitySearchAction
-
getSortColumn
- Specified by:
getSortColumn
in interfaceSharedEntitySearchAction
-
setSortColumn
- Specified by:
setSortColumn
in interfaceSharedEntitySearchAction
-
isSortAscending
public boolean isSortAscending()- Specified by:
isSortAscending
in interfaceSharedEntitySearchAction
-
setSortAscending
public void setSortAscending(boolean sortAscending) - Specified by:
setSortAscending
in 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:
doExecute
in classwebwork.action.ActionSupport
-
getProjectsInCategory
-
getProjectsInNoCategory
-
projectsExist
public boolean projectsExist() -
getRenderedProjectDescription
-