com.atlassian.jira.web.action
Class IssueActionSupport
java.lang.Object
ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.ProjectActionSupport
com.atlassian.jira.web.action.IssueActionSupport
- Direct Known Subclasses:
- AbstractBrowser, AbstractIssueSelectAction, Browser, BulkEdit, Dashboard, DeleteComment, DeleteGroup, DeleteProject, DeleteProjectEntity, ManageFilters, QuickSearch, RenameFilter, SaveAsFilter, SaveFilter, ShareFilter, TimeTrackingReport, ViewProfile, ViewUser
- public class IssueActionSupport
- extends ProjectActionSupport
- See Also:
- Serialized Form
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
getCachedGroups, getConstantsManager, getGlobalColumns, getPropertySet, getRedirect, getRemoteUser, getUserPreferences, isHasIssuePermission, isHasPermission, isHasPermission, isHasProjectPermission |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueActionSupport
public IssueActionSupport()
getIssueManager
public IssueManager getIssueManager()
getCustomFieldManager
public CustomFieldManager getCustomFieldManager()
getActionManager
public ActionManager getActionManager()
getAttachmentManager
public AttachmentManager getAttachmentManager()
getSearchRequest
public SearchRequest getSearchRequest()
- This method will return the one in the current search request, or return null if one does not exist
getSelectedProject
public GenericValue getSelectedProject()
throws PermissionException
- Throws:
PermissionException
setSelectedProject
public void setSelectedProject(GenericValue project)
setSelectedProjectId
public void setSelectedProjectId(java.lang.Long id)
getAssignableUsers
public java.util.Collection getAssignableUsers(GenericValue entity)
throws java.lang.Exception
- Throws:
java.lang.Exception
setCurrentIssue
public void setCurrentIssue(GenericValue issue)
- Sets the current issue. This is similar to setting the current project - so that we can
make things more convenient for users.
At the moment - the only use is for the user history popup.
- Parameters:
issue
- The issue that you are currently viewing.
getPossibleVersions
public java.util.List getPossibleVersions(GenericValue project)
throws java.lang.Exception
- Throws:
java.lang.Exception
getUrlEncoded
public java.lang.String getUrlEncoded(java.lang.String s)
getWorkflow
public Workflow getWorkflow()
getHoursPerDay
protected int getHoursPerDay()
getDaysPerWeek
protected int getDaysPerWeek()
getPrettyDuration
public java.lang.String getPrettyDuration(java.lang.Long v)
- this formatting function is shared by the full view for navigator
as well as view issue.
- Parameters:
v
- duration in seconds
- Returns:
getVisibleFields
public java.util.List getVisibleFields()
- retrieves the field configuration for the create issue and edit issue forms.
this configuration consists of a list of FieldConfigurations and basically
specifies the order in which these fields appear as well as whether they are hidden or visible
- Returns:
getVisibleCustomFields
public java.util.List getVisibleCustomFields()
isFieldHidden
public boolean isFieldHidden(java.lang.String id)
- checks if the field configuration is hidden or visible
- Parameters:
id
- id of the FieldConfiguration
- Returns: