|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
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 | |
IssueActionSupport()
|
|
IssueActionSupport(IssueManager issueManager,
CustomFieldManager customFieldManager,
ActionManager actionManager,
AttachmentManager attachmentManager,
ProjectManager projectManager)
|
Method Summary | |
ActionManager |
getActionManager()
|
AttachmentManager |
getAttachmentManager()
|
CustomFieldManager |
getCustomFieldManager()
|
protected int |
getDaysPerWeek()
|
protected int |
getHoursPerDay()
|
IssueManager |
getIssueManager()
|
java.util.List |
getPossibleVersions(GenericValue project)
Returns a list of versions applicable to this issue (unreleased first). |
java.util.List |
getPossibleVersionsReleasedFirst(GenericValue project)
Returns a list of versions applicable to this issue (released first). |
java.lang.String |
getPrettyDuration(java.lang.Long v)
this formatting function is shared by the full view for navigator as well as view issue. |
SearchRequest |
getSearchRequest()
This method will return the one in the current search request, or return null if one does not exist |
GenericValue |
getSelectedProject()
|
java.lang.String |
getUrlEncoded(java.lang.String s)
|
Workflow |
getWorkflow()
|
boolean |
isCustomFieldHidden(java.lang.Long projectId,
java.lang.Long customFieldId)
Checks if the custom field is hidden in the project with id of projectId. |
boolean |
isFieldHidden(java.lang.Long projectId,
java.lang.String id)
Checks if the field is hidden in the project with id of projectId. |
boolean |
isFieldHidden(java.lang.String id)
Checks if the field is hidden or visible across all the projects that the user can see (has the Permissions.BROWSE permission). |
void |
setCurrentIssue(GenericValue issue)
Sets the current issue. |
void |
setSelectedProject(GenericValue project)
|
void |
setSelectedProjectId(java.lang.Long id)
|
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport |
getBrowseableProjects, getBrowseableProjectsInCategory, getSavedFilters |
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 |
public IssueActionSupport(IssueManager issueManager, CustomFieldManager customFieldManager, ActionManager actionManager, AttachmentManager attachmentManager, ProjectManager projectManager)
public IssueActionSupport()
Method Detail |
public IssueManager getIssueManager()
public CustomFieldManager getCustomFieldManager()
public ActionManager getActionManager()
public AttachmentManager getAttachmentManager()
public SearchRequest getSearchRequest()
public GenericValue getSelectedProject() throws PermissionException
PermissionException
public void setSelectedProject(GenericValue project)
public void setSelectedProjectId(java.lang.Long id)
public void setCurrentIssue(GenericValue issue)
At the moment - the only use is for the user history popup.
issue
- The issue that you are currently viewing.public java.util.List getPossibleVersions(GenericValue project) throws java.lang.Exception
java.lang.Exception
public java.util.List getPossibleVersionsReleasedFirst(GenericValue project) throws java.lang.Exception
java.lang.Exception
public java.lang.String getUrlEncoded(java.lang.String s)
public Workflow getWorkflow()
protected int getHoursPerDay()
protected int getDaysPerWeek()
public java.lang.String getPrettyDuration(java.lang.Long v)
v
- duration in seconds
public boolean isFieldHidden(java.lang.String id) throws FieldLayoutStorageException
Permissions.BROWSE
permission).
id
- id of the FieldConfiguration
FieldLayoutStorageException
public boolean isCustomFieldHidden(java.lang.Long projectId, java.lang.Long customFieldId)
projectId
- customFieldId
- the data store id of the custom field
public boolean isFieldHidden(java.lang.Long projectId, java.lang.String id)
projectId
- id
- fieldId
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |