com.atlassian.jira.web.action.filter
Class ManageFilters

java.lang.Object
  extended byActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.web.action.ProjectActionSupport
                  extended bycom.atlassian.jira.web.action.IssueActionSupport
                      extended bycom.atlassian.jira.web.action.filter.ManageFilters

public class ManageFilters
extends IssueActionSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
savedFilters
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, permissionManager, request
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Constructor Summary
ManageFilters()
           
 
Method Summary
 java.lang.String doDefault()
           
 java.lang.String doDelete()
           
 java.lang.String doView()
           
 java.lang.Long getFilterId()
           
 java.lang.String getFilterName()
           
 java.lang.String getLastSent(GenericValue sub)
           
 java.util.List getMyFilters()
          Return a list of filters that this user is subscribed to, that were created by this user.
 java.lang.String getNextSend(GenericValue sub)
           
 java.util.List getOtherFilters()
          Return a list of filters that this user is subscribed to, that were created by another user.
 java.lang.String getStringFromSecs(GenericValue sub)
           
 java.util.List getSubscriptions()
           
 java.util.List getSubscriptions(GenericValue filter)
           
 boolean isHasPermissionOnFilter(java.lang.String permName, GenericValue searchFilter)
           
 boolean isUsingDefaultColumns(java.lang.Long id)
           
static void separateFilters(User user, java.util.Collection originalList, java.util.List myFilters, java.util.List otherFilters)
           
 void setFilterId(java.lang.Long filterId)
           
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
getActionManager, getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getSelectedProject, getUrlEncoded, getWorkflow, isCustomFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue, setSelectedProject, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSavedFilters
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDefaultAssignee, getField, getLocale, getOutlookDate, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getText, getText, getText, getText, getUserFullName, getUserPreferences, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, isIndexing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManageFilters

public ManageFilters()
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Throws:
java.lang.Exception

doDelete

public java.lang.String doDelete()
                          throws java.lang.Exception
Throws:
java.lang.Exception

doView

public java.lang.String doView()

getFilterId

public java.lang.Long getFilterId()

setFilterId

public void setFilterId(java.lang.Long filterId)

getFilterName

public java.lang.String getFilterName()
                               throws GenericEntityException
Throws:
GenericEntityException

getSubscriptions

public java.util.List getSubscriptions()
                                throws GenericEntityException
Throws:
GenericEntityException

getSubscriptions

public java.util.List getSubscriptions(GenericValue filter)
                                throws GenericEntityException
Throws:
GenericEntityException

getStringFromSecs

public java.lang.String getStringFromSecs(GenericValue sub)
                                   throws SchedulerException
Throws:
SchedulerException

getLastSent

public java.lang.String getLastSent(GenericValue sub)

getNextSend

public java.lang.String getNextSend(GenericValue sub)
                             throws SchedulerException
Throws:
SchedulerException

isHasPermissionOnFilter

public boolean isHasPermissionOnFilter(java.lang.String permName,
                                       GenericValue searchFilter)
                                throws GenericEntityException
Throws:
GenericEntityException

getMyFilters

public java.util.List getMyFilters()
                            throws GenericEntityException
Return a list of filters that this user is subscribed to, that were created by this user.

Throws:
GenericEntityException
See Also:
ProjectActionSupport.getSavedFilters()

getOtherFilters

public java.util.List getOtherFilters()
                               throws GenericEntityException
Return a list of filters that this user is subscribed to, that were created by another user.

Throws:
GenericEntityException
See Also:
ProjectActionSupport.getSavedFilters()

separateFilters

public static void separateFilters(User user,
                                   java.util.Collection originalList,
                                   java.util.List myFilters,
                                   java.util.List otherFilters)

isUsingDefaultColumns

public boolean isUsingDefaultColumns(java.lang.Long id)