public class ManageFilters extends SearchDescriptionEnabledAction implements SharedEntitySearchAction, FilterOperationsAction, DropDownModelProvider<SearchRequestDisplayBean>
JiraWebActionSupport.MessageType
SharedEntitySearchAction.FieldNameMapper, SharedEntitySearchAction.QueryValidator
ErrorCollection.Reason
I18nHelper.BeanFactory
Modifier and Type | Field and Description |
---|---|
protected SearchRequestDisplayBean.Factory |
beanFactory |
protected static String |
CONTENTONLY |
fieldValuesHolder, issueSearcherManager
attachmentManager
projectManager
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters, SECURITY_BREACH_RESULT
Constructor and Description |
---|
ManageFilters(JiraAuthenticationContext authCtx,
IssueSearcherManager issueSearcherManager,
SearchRequestService searchRequestService,
ShareTypeFactory shareTypeFactory,
SearchRequestDisplayBean.Factory beanFactory,
SearchService searchService,
com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService,
FilterDeletionWarningViewProvider filterDeletionWarningViewProvider,
UserPreferencesManager userPreferencesManager,
FeatureManager featureManager,
UserManager userManager,
GlobalPermissionManager permissionManager) |
createFilterOperationsBean, getActionParams, getFilterOperationsBean, getSearchContext, getSearchers, isFilterValid, isShown, validateSearchFilterIsSavedFilter
addIssueToHistory, getAttachmentManager, getCurrentDateTimeInUsersTimezone, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getFormToken, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setFormToken, setSearchRequest, setSelectedIssueId, updateSearchRequest
getBrowsableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject
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, isAdministrator, 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
getFilterOperationsBean, isFilterValid
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
protected static final String CONTENTONLY
protected final SearchRequestDisplayBean.Factory beanFactory
public ManageFilters(JiraAuthenticationContext authCtx, IssueSearcherManager issueSearcherManager, SearchRequestService searchRequestService, ShareTypeFactory shareTypeFactory, SearchRequestDisplayBean.Factory beanFactory, SearchService searchService, com.atlassian.webresource.api.assembler.PageBuilderService pageBuilderService, FilterDeletionWarningViewProvider filterDeletionWarningViewProvider, UserPreferencesManager userPreferencesManager, FeatureManager featureManager, UserManager userManager, GlobalPermissionManager permissionManager)
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 List getFilters()
protected void setFilters(List<SearchRequestDisplayBean> filters)
public String getNextUrl()
public String getPreviousUrl()
public int getStartPosition()
public int getEndPosition()
public int getTotalResultCount()
public FilterViewHelper getFiltersViewHelper()
protected void setSearchResults(SharedEntitySearchViewHelper.SearchResult<SearchRequest> searchResults)
public DropDownModel getDropDownModel(SearchRequestDisplayBean displayBean, int listIndex)
getDropDownModel
in interface DropDownModelProvider<SearchRequestDisplayBean>
displayBean
- some domain objectlistIndex
- this parameter indicates the position in of the domain object in a list of domain objects.
Often generated markup uses position in the list to generate ids and the likeprotected String toUrl(SearchRequestDisplayBean filter, String page, boolean includeReturnUrl)
public boolean canShowFavourite()
public boolean isUserLoggedIn()
public boolean canShowOwner()
public boolean isSearchRequested()
public String getSearchEmptyMessageKey()
public boolean isTabShowing(String tab)
public boolean isFirstTab(String tab)
protected String doExecute()
doExecute
in class webwork.action.ActionSupport
public String doView()
public void setContentOnly(boolean contentOnly)
public boolean isContentOnly()
public void setSearchContentOnly(boolean searchContentOnly)
public boolean isSearchContentOnly()
public List<SearchRequestDisplayBean> getFiltersWithSubscriptions()
public int getFiltersWithSubscriptionsCount()
protected String executeSearchView()
public FilterLinkRenderer getFilterLinkRenderer()
protected FilterViewHelper getFilterHelper()
protected void requireDeleteDialogResources()
Copyright © 2002-2022 Atlassian. All Rights Reserved.