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.filter.ManageFilters
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware, java.io.Serializable

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
PERMISSION_VIOLATION_RESULT, request
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
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(org.ofbiz.core.entity.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(org.ofbiz.core.entity.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(org.ofbiz.core.entity.GenericValue sub)
           
 java.util.List getSubscriptions()
           
 java.util.List getSubscriptions(org.ofbiz.core.entity.GenericValue filter)
           
 boolean isHasPermissionOnFilter(java.lang.String permName, org.ofbiz.core.entity.GenericValue searchFilter)
           
static void separateFilters(com.opensymphony.module.user.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, getAssignableUsers, getAttachmentManager, getCustomFieldManager, getIssueManager, getPossibleVersions, getSearchRequest, getSelectedProject, getUrlEncoded, getWorkflow, setCurrentIssue, setSelectedProject, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getProjectManager, getSavedFilters
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
getCachedGroups, getConstantsManager, getGlobalColumns, getPropertySet, getRedirect, getRemoteUser, getUserPreferences, isHasPermission, isHasPermission
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getResult, isIndexing
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doExecute, doValidation, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getText, getTexts, getTexts, 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
 

Constructor Detail

ManageFilters

public ManageFilters()
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Overrides:
doDefault in class webwork.action.ActionSupport
java.lang.Exception

doDelete

public java.lang.String doDelete()
                          throws java.lang.Exception
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 org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getSubscriptions

public java.util.List getSubscriptions()
                                throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getSubscriptions

public java.util.List getSubscriptions(org.ofbiz.core.entity.GenericValue filter)
                                throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getStringFromSecs

public java.lang.String getStringFromSecs(org.ofbiz.core.entity.GenericValue sub)
                                   throws org.quartz.SchedulerException
org.quartz.SchedulerException

getLastSent

public java.lang.String getLastSent(org.ofbiz.core.entity.GenericValue sub)

getNextSend

public java.lang.String getNextSend(org.ofbiz.core.entity.GenericValue sub)
                             throws org.quartz.SchedulerException
org.quartz.SchedulerException

isHasPermissionOnFilter

public boolean isHasPermissionOnFilter(java.lang.String permName,
                                       org.ofbiz.core.entity.GenericValue searchFilter)
                                throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException

getMyFilters

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

org.ofbiz.core.entity.GenericEntityException
See Also:
ProjectActionSupport.getSavedFilters()

getOtherFilters

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

org.ofbiz.core.entity.GenericEntityException
See Also:
ProjectActionSupport.getSavedFilters()

separateFilters

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


Copyright © 2002-2003 Atlassian. All Rights Reserved.