com.atlassian.jira.web.action.filter
Class ManageFilters
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.ProjectActionSupport
com.atlassian.jira.web.action.IssueActionSupport
com.atlassian.jira.web.action.issue.SearchDescriptionEnabledAction
com.atlassian.jira.web.action.filter.ManageFilters
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, SharedEntitySearchAction, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
public class ManageFilters
- extends SearchDescriptionEnabledAction
- implements SharedEntitySearchAction
Action class for managing filters. Also used by delete filter.
- See Also:
- Serialized Form
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport |
getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue, setSearchRequest, updateSearchRequest |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSearchSortReverseDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, isUserExists, setReturnUrl, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, doValidation, getErrorMessages, getErrors, 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 |
setCommand |
ManageFilters
public ManageFilters(JiraAuthenticationContext authCtx,
IssueSearcherManager issueSearcherManager,
SearchRequestService searchRequestService,
FavouritesService favouriteService,
FilterSubscriptionService subscriptionService,
ShareTypeFactory shareTypeFactory,
SearchRequestDisplayBean.Factory beanFactory,
com.atlassian.mail.server.MailServerManager mailServerManager)
getSearchName
public String getSearchName()
- Specified by:
getSearchName
in interface SharedEntitySearchAction
setSearchName
public void setSearchName(String searchName)
- Specified by:
setSearchName
in interface SharedEntitySearchAction
getSearchOwnerUserName
public String getSearchOwnerUserName()
- Specified by:
getSearchOwnerUserName
in interface SharedEntitySearchAction
setSearchOwnerUserName
public void setSearchOwnerUserName(String searchOwnerUserName)
- Specified by:
setSearchOwnerUserName
in interface SharedEntitySearchAction
getSearchShareType
public String getSearchShareType()
- Specified by:
getSearchShareType
in interface SharedEntitySearchAction
setSearchShareType
public void setSearchShareType(String searchShareType)
- Specified by:
setSearchShareType
in interface SharedEntitySearchAction
setGroupShare
public void setGroupShare(String groupShare)
- Specified by:
setGroupShare
in interface SharedEntitySearchAction
getGroupShare
public String getGroupShare()
- Specified by:
getGroupShare
in interface SharedEntitySearchAction
getPagingOffset
public Long getPagingOffset()
- Specified by:
getPagingOffset
in interface SharedEntitySearchAction
setProjectShare
public void setProjectShare(String projectShare)
- Specified by:
setProjectShare
in interface SharedEntitySearchAction
getProjectShare
public String getProjectShare()
- Specified by:
getProjectShare
in interface SharedEntitySearchAction
setRoleShare
public void setRoleShare(String roleShare)
- Specified by:
setRoleShare
in interface SharedEntitySearchAction
getRoleShare
public String getRoleShare()
- Specified by:
getRoleShare
in interface SharedEntitySearchAction
setPagingOffset
public void setPagingOffset(Long pagingOffset)
- Specified by:
setPagingOffset
in interface SharedEntitySearchAction
getSortColumn
public String getSortColumn()
- Specified by:
getSortColumn
in interface SharedEntitySearchAction
setSortColumn
public void setSortColumn(String sortColumn)
- Specified by:
setSortColumn
in interface SharedEntitySearchAction
isSortAscending
public boolean isSortAscending()
- Specified by:
isSortAscending
in interface SharedEntitySearchAction
setSortAscending
public void setSortAscending(boolean sortAscending)
- Specified by:
setSortAscending
in interface SharedEntitySearchAction
getFilterView
public String getFilterView()
setFilterView
public void setFilterView(String filterView)
getFilterId
public Long getFilterId()
setFilterId
public void setFilterId(Long filterId)
getFilters
public List getFilters()
getNextUrl
public String getNextUrl()
getPreviousUrl
public String getPreviousUrl()
getStartPosition
public int getStartPosition()
getEndPosition
public int getEndPosition()
getTotalResultCount
public int getTotalResultCount()
getFiltersViewHelper
public FilterViewHelper getFiltersViewHelper()
getOtherFavouriteCount
public int getOtherFavouriteCount()
getSubscriptionCount
public int getSubscriptionCount()
getSubscriptions
public Collection getSubscriptions()
getFilterName
public String getFilterName()
throws org.ofbiz.core.entity.GenericEntityException
- Throws:
org.ofbiz.core.entity.GenericEntityException
canDelete
public boolean canDelete()
canShowFavourite
public boolean canShowFavourite()
- Can we display the favourite column? Determined by if there is a user in the current session.
- Returns:
- true if there is a logged in user, else false
canShowShares
public boolean canShowShares()
- Can we display the share column.
- Returns:
- true if there we are in Enterprise or Professional (not Standard)
isUserLoggedIn
public boolean isUserLoggedIn()
- Is there a user associated with the session.
- Returns:
- true if a user is associated with the action or false otherwise.
isSearchRequested
public boolean isSearchRequested()
isMailConfigured
public boolean isMailConfigured()
getSearchEmptyMessageKey
public String getSearchEmptyMessageKey()
isTabShowing
public boolean isTabShowing(String tab)
doDefault
public String doDefault()
throws Exception
- Overrides:
doDefault
in class webwork.action.ActionSupport
- Throws:
Exception
doExecute
protected String doExecute()
- Overrides:
doExecute
in class webwork.action.ActionSupport
doDelete
public String doDelete()
throws Exception
- Throws:
Exception
doView
public String doView()
getFiltersWithSubscriptions
public List getFiltersWithSubscriptions()
getFiltersWithSubscriptionsCount
public int getFiltersWithSubscriptionsCount()
getFilterLinkRenderer
public FilterLinkRenderer getFilterLinkRenderer()
Copyright © 2002-2009 Atlassian. All Rights Reserved.