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

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.ShareFilter

public class ShareFilter
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
ShareFilter()
           
 
Method Summary
 java.lang.String doDefault()
           
protected  java.lang.String doExecute()
           
protected  void doValidation()
           
 java.lang.String getGroup()
           
 java.util.Collection getGroups()
          Get the groups that this filter can be shared with.
 java.lang.String getOption()
           
 java.lang.String[] getOptions()
           
 java.lang.Long getRequestId()
           
 java.lang.String[] getSingleOption(int position)
           
 void setGroup(java.lang.String group)
           
 void setOption(java.lang.String option)
           
 void setRequestId(java.lang.Long requestId)
           
 
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

ShareFilter

public ShareFilter()
Method Detail

doDefault

public java.lang.String doDefault()

doValidation

protected void doValidation()

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Throws:
java.lang.Exception

getRequestId

public java.lang.Long getRequestId()

setRequestId

public void setRequestId(java.lang.Long requestId)

setGroup

public void setGroup(java.lang.String group)

getGroups

public java.util.Collection getGroups()
Get the groups that this filter can be shared with. If this is a regular user, this will be the user's groups. If the user is an admin, it will return all groups.


getGroup

public java.lang.String getGroup()

getOption

public java.lang.String getOption()

setOption

public void setOption(java.lang.String option)

getOptions

public java.lang.String[] getOptions()

getSingleOption

public java.lang.String[] getSingleOption(int position)