|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.issue.AbstractIssueSelectAction com.atlassian.jira.web.action.issue.AbstractViewIssue com.atlassian.jira.web.action.issue.AbstractCommentableIssue com.atlassian.jira.web.action.issue.AddComment com.atlassian.jira.web.action.issue.ViewIssue
Field Summary | |
(package private) String |
actionOrder
|
(package private) List |
actions
|
(package private) List |
components
|
(package private) List |
fixVersions
|
(package private) String |
page
|
(package private) List |
versions
|
(package private) String |
vote
|
(package private) String |
watch
|
Fields inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction |
id |
Fields inherited from class com.atlassian.jira.web.action.IssueActionSupport |
attachmentManager |
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport |
projectManager |
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, savedFilters, selectedProject |
Fields inherited from class com.atlassian.jira.action.JiraActionSupport |
log |
Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
Fields inherited from interface com.atlassian.jira.util.I18nHelper |
DEFAULT_RESOURCE_BUNDLE |
Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
ViewIssue(RepositoryManager repositoryManager,
PermissionManager permissionManager,
TrackbackManager trackbackManager,
ThumbnailManager thumbnailManager,
SubTaskManager subTaskManager,
IssueLinkManager issueLinkManager,
IssueLinkTypeManager issueLinkTypeManager,
VoteManager voteManager,
WatcherManager watcherManager,
com.atlassian.plugin.PluginManager pluginManager,
IssueUtilsBean issueUtilsBean,
FieldManager fieldManager,
FieldScreenRendererFactory fieldScreenRendererFactory,
FieldLayoutManager fieldLayoutManager,
RendererManager rendererManager,
IssueFactory issueFactory)
|
Method Summary | |
protected String |
doExecute()
|
String |
doMoveIssueLink()
|
protected void |
doValidation()
|
String |
getActionOrder()
|
Collection |
getActions()
|
org.ofbiz.core.entity.GenericValue |
getAssignIn()
|
Map |
getAvailableActions()
|
Map |
getAvailableActions(org.ofbiz.core.entity.GenericValue issue)
Deprecated. Use getAvailableActions(com.atlassian.jira.issue.Issue) instead. |
Map |
getAvailableActions(Issue issue)
|
Collection |
getComponents()
|
Long |
getCurrentSubTaskSequence()
|
String |
getCustomFieldHtml(FieldLayoutItem fieldLayoutItem,
CustomField field,
Issue issue)
|
String |
getCustomFieldValue(org.ofbiz.core.entity.GenericValue customfield)
Used for XML view of an issue |
String |
getCustomFieldXML(CustomField field,
Issue issue)
|
String |
getDurationString(Long millis)
Used by the rss view to display time estimates. |
String |
getEstimate()
|
protected FieldScreenRenderer |
getFieldScreenRenderer()
|
List |
getFieldScreenRenderTabs()
|
Collection |
getFileAttachments()
|
Collection |
getFixVersions()
|
Collection |
getImageAttachments()
|
Collection |
getIssueOperations()
|
Collection |
getIssueTabPanels()
|
String |
getIssuetype()
|
String |
getIssueUrl()
|
JiraWorkflow |
getJiraWorkflow()
|
String |
getOldIssueUrl()
|
String |
getPage()
Determine which page of the ViewIssue we're on Options are : comments - brief overview of the issue and all the comments (default) details - detailed view of the issue history - the history log of the issue |
PagerManager |
getPagerManager()
|
org.ofbiz.core.entity.GenericValue |
getParentIssue()
|
String |
getRenderedContent(String fieldName,
String value,
Issue issue)
|
String |
getRenderedContentNoBreaks(String fieldName,
String value,
Issue issue)
|
protected RepositoryManager |
getRepositoryManager()
|
String |
getRssMode()
|
int |
getSelectedTab()
|
SearchSort |
getSorter()
|
SubTaskBean |
getSubTaskBean()
|
Collection |
getSubTaskIssueTypes()
|
SubTaskQuickCreationWebComponent |
getSubTaskQuickCreationWebComponent()
|
Long |
getSubTaskSequence()
|
String |
getSubTaskView()
|
Collection |
getThumbnails()
|
String |
getTimeOriginalEstimate()
|
String |
getTimeSpent()
|
com.atlassian.trackback.Trackback |
getTrackback(Long id)
|
Collection |
getTrackbacks()
|
Set |
getValidCustomFields()
Used for XML view of an issue |
Collection |
getVersions()
|
String |
getView()
Retrieve the value of the view variable. |
List |
getVisibleCustomFields()
|
List |
getVisibleCustomFields(org.ofbiz.core.entity.GenericValue issue)
Deprecated. Use getVisibleCustomFields(com.atlassian.jira.issue.Issue) instead. |
List |
getVisibleCustomFields(Issue issue)
|
Collection |
getWatcherList()
|
boolean |
isAllowedReorderSubTasks()
|
boolean |
isAttachable()
Determine whether the current user can attach files to this issue |
boolean |
isCanViewProjectRepositories()
Check that the user has permission to view repositories and that the project has at least one associated repository |
boolean |
isCanViewVoterWatcherList()
|
boolean |
isCanViewWatcherList()
|
boolean |
isIssueLinkCreatable()
Tests whether linking is enabled and the user has the link issue permission in the issue's project and whether there are any existing (non-system) issue link types. |
boolean |
isIssueReportedByMe()
|
boolean |
isMovable()
Determine whether the current user can Move the issue |
boolean |
isShowIssueDetails(Long projectId,
org.ofbiz.core.entity.GenericValue issue)
Determine if table displaying time tracking, attachments, environment, issue linking, trackbacks is required. |
boolean |
isSubTask()
Determines whether the issue is a sub task - i.e. |
boolean |
isToolkitAvailable()
|
Boolean |
isViewIssue()
Return Boolean.TRUE if this is the ViewIssue page (so the UI can customise itself). |
boolean |
isVotedAlready()
Determine whether the current user has voted already or not |
boolean |
isWatchingAlready()
Determine whether the current user is already watching the issue or not |
boolean |
isWorkable()
Determine whether the current user can work on this issue |
boolean |
isWorkflowAllowsEdit()
|
void |
setActionOrder(String actionOrder)
|
void |
setCurrentSubTaskSequence(Long currentSubTaskSequence)
|
void |
setIssuetype(String issuetypeId)
|
void |
setPage(String page)
|
void |
setResetPager(String resetPager)
|
void |
setRssMode(String rssMode)
|
void |
setSubTaskSequence(Long subTaskSequence)
|
void |
setSubTaskView(String subTaskView)
|
void |
setView(String view)
Set the view, valid value are null or rss |
void |
setVote(String vote)
|
void |
setWatch(String watch)
|
Methods inherited from class com.atlassian.jira.web.action.issue.AddComment |
doDefault, isAbleToComment |
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractCommentableIssue |
createComment, doCommentValidation, getComment, getCommentLevel, getCommentLevels, getCustomFieldValuesHolder, getFieldScreenRendererLayoutItemForField, getFieldScreenRendererWithAllFields, getIssueOperation, setComment, setCommentLevel, setCustomFieldValuesHolder |
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractViewIssue |
getAttachments, getIssueLinkManager, getLinkCollection, getLinkCollection, getPossibleComponents, getPossibleVersions, getPossibleVersionsReleasedFirst, getSubTaskManager, isScreenshotAttachable, isSubTaskCreatable |
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction |
getDefaultSecurityLevel, getId, getIssue, getIssueObject, getIssueObjectNoSecurityCheck, getIssuePath, getKey, getProject, getSecurityLevel, getSecurityLevel, getSecurityLevelName, getSecurityLevels, getSecurityLevels, getViewIssueKey, getViewUrl, isEditable, isEditable, isIssueExists, isWorkflowAllowsEdit, redirectToView, resetIssue, setId, setIssue, setKey, setViewIssueKey |
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport |
getActionManager, getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue |
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport |
getBrowseableProjects, getBrowseableProjectsInCategory, getSelectedProjectId, setSelectedProject |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isStandard, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, 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 com.atlassian.jira.issue.customfields.OperationContext |
getCustomFieldValuesHolder, getIssueOperation |
Methods inherited from interface com.atlassian.jira.util.ErrorCollection |
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages |
Methods inherited from interface webwork.action.CommandDriven |
setCommand |
Field Detail |
String page
String actionOrder
List actions
List versions
List components
List fixVersions
String vote
String watch
Constructor Detail |
public ViewIssue(RepositoryManager repositoryManager, PermissionManager permissionManager, TrackbackManager trackbackManager, ThumbnailManager thumbnailManager, SubTaskManager subTaskManager, IssueLinkManager issueLinkManager, IssueLinkTypeManager issueLinkTypeManager, VoteManager voteManager, WatcherManager watcherManager, com.atlassian.plugin.PluginManager pluginManager, IssueUtilsBean issueUtilsBean, FieldManager fieldManager, FieldScreenRendererFactory fieldScreenRendererFactory, FieldLayoutManager fieldLayoutManager, RendererManager rendererManager, IssueFactory issueFactory)
Method Detail |
protected void doValidation()
doValidation
in class AddComment
protected String doExecute() throws Exception
doExecute
in class AddComment
Exception
public PagerManager getPagerManager()
public Collection getComponents() throws Exception
Exception
public Collection getVersions() throws Exception
Exception
public Collection getFixVersions() throws Exception
Exception
public boolean isMovable() throws Exception
Exception
public boolean isWorkable() throws Exception
Exception
public boolean isWorkflowAllowsEdit()
public boolean isAttachable() throws Exception
Exception
public Boolean isViewIssue()
public boolean isWatchingAlready() throws Exception
Exception
public boolean isIssueReportedByMe() throws Exception
Exception
public String getPage()
public void setPage(String page)
public Collection getActions() throws Exception
Exception
public Collection getIssueTabPanels()
public Collection getIssueOperations()
public Map getAvailableActions() throws Exception
Exception
public Map getAvailableActions(Issue issue) throws Exception
Exception
public Map getAvailableActions(org.ofbiz.core.entity.GenericValue issue) throws Exception
getAvailableActions(com.atlassian.jira.issue.Issue)
instead.
Exception
public String getEstimate() throws Exception
Exception
public String getTimeOriginalEstimate() throws Exception
Exception
public String getTimeSpent() throws Exception
Exception
public void setVote(String vote)
public void setWatch(String watch)
public List getVisibleCustomFields()
public List getVisibleCustomFields(Issue issue)
public List getVisibleCustomFields(org.ofbiz.core.entity.GenericValue issue)
getVisibleCustomFields(com.atlassian.jira.issue.Issue)
instead.
public void setResetPager(String resetPager)
public boolean isCanViewProjectRepositories()
protected RepositoryManager getRepositoryManager()
public String getIssueUrl()
public String getOldIssueUrl()
public Collection getTrackbacks() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public com.atlassian.trackback.Trackback getTrackback(Long id) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public Collection getThumbnails() throws Exception
Exception
public Collection getFileAttachments() throws Exception
Exception
public Collection getImageAttachments() throws Exception
Exception
public boolean isToolkitAvailable()
public Set getValidCustomFields() throws FieldException
FieldException
public String getCustomFieldValue(org.ofbiz.core.entity.GenericValue customfield) throws Exception
Exception
public String getView()
public void setView(String view)
view
- public String getDurationString(Long millis)
millis
- public org.ofbiz.core.entity.GenericValue getParentIssue()
public SubTaskBean getSubTaskBean()
public SearchSort getSorter()
public String doMoveIssueLink() throws Exception
Exception
public boolean isAllowedReorderSubTasks()
public String getSubTaskView()
public void setSubTaskView(String subTaskView)
public Long getCurrentSubTaskSequence()
public void setCurrentSubTaskSequence(Long currentSubTaskSequence)
public Long getSubTaskSequence()
public void setSubTaskSequence(Long subTaskSequence)
public Collection getSubTaskIssueTypes()
public org.ofbiz.core.entity.GenericValue getAssignIn()
public JiraWorkflow getJiraWorkflow() throws WorkflowException
WorkflowException
public boolean isIssueLinkCreatable()
public void setIssuetype(String issuetypeId)
public String getIssuetype()
public boolean isShowIssueDetails(Long projectId, org.ofbiz.core.entity.GenericValue issue) throws Exception
Exception
public boolean isSubTask()
AbstractViewIssue
isSubTask
in class AbstractViewIssue
public boolean isVotedAlready()
public boolean isCanViewVoterWatcherList() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public boolean isCanViewWatcherList() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public Collection getWatcherList()
public String getActionOrder()
public void setActionOrder(String actionOrder)
public List getFieldScreenRenderTabs()
protected FieldScreenRenderer getFieldScreenRenderer()
public SubTaskQuickCreationWebComponent getSubTaskQuickCreationWebComponent()
public int getSelectedTab()
public String getCustomFieldHtml(FieldLayoutItem fieldLayoutItem, CustomField field, Issue issue)
public String getCustomFieldXML(CustomField field, Issue issue) throws FieldLayoutStorageException
FieldLayoutStorageException
public String getRssMode()
public void setRssMode(String rssMode)
public String getRenderedContent(String fieldName, String value, Issue issue) throws FieldLayoutStorageException
FieldLayoutStorageException
public String getRenderedContentNoBreaks(String fieldName, String value, Issue issue) throws FieldLayoutStorageException
FieldLayoutStorageException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |