com.atlassian.jira.web.action.issue
Class ManageLinks

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.atlassian.jira.web.action.ProjectActionSupport
                  extended by com.atlassian.jira.web.action.IssueActionSupport
                      extended by com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
                          extended by com.atlassian.jira.web.action.issue.ManageLinks
All Implemented Interfaces:
ErrorCollection, I18nHelper, IssueSummaryAware, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware

public class ManageLinks
extends AbstractIssueSelectAction

See Also:
Serialized Form

Field Summary
 
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
ManageLinks(IssueLinkManager issueLinkManager)
           
 
Method Summary
 String doDelete()
           
protected  String doExecute()
           
protected  void doValidation()
           
 Collection getAffectedVersions()
           
 Collection getComponents()
           
 ColumnLayoutItem getDeleteColumnLayoutItem(IssueLinkType issueLinkType, boolean isOutward)
           
 Long getDestId()
           
 String getDirectionName()
           
 Collection getFixVersions()
           
 IssueLink getLink()
           
 LinkCollection getLinkCollection()
           
 Long getLinkType()
           
 PagerManager getPagerManager()
           
 Issue getParentIssueObject()
          Returns the parent of the current Issue
 Long getSourceId()
           
 String getTargetIssueKey()
           
 boolean isCanAddLink()
           
 boolean isConfirm()
           
 boolean isSubTask()
          Checks if the issue is a subtask.
 void setConfirm(boolean confirm)
           
 void setDestId(Long destId)
           
 void setLinkType(Long linkType)
           
 void setSourceId(Long sourceId)
           
 
Methods inherited from class com.atlassian.jira.web.action.issue.AbstractIssueSelectAction
getDefaultSecurityLevel, getId, getIssue, getIssueObject, getIssueObjectNoSecurityCheck, getIssuePath, getKey, getLayoutBean, getProject, getSecurityLevel, getSecurityLevel, getSecurityLevelName, getSecurityLevels, getSecurityLevels, getSummaryIssue, getViewIssueKey, getViewUrl, isEditable, isEditable, isHasEditIssuePermission, isIssueExists, isWorkflowAllowsEdit, redirectToView, resetIssue, setId, setIssue, setKey, setViewIssueKey
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue, setSearchRequest, updateSearchRequest
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSelectedProjectId, setSelectedProject, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSearchSortReverseDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, isUserExists, setReturnUrl, setSelectedProjectId
 
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, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doDefault, 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.web.action.issue.IssueSummaryAware
getRemoteUser
 
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
 

Constructor Detail

ManageLinks

public ManageLinks(IssueLinkManager issueLinkManager)
Method Detail

doValidation

protected void doValidation()
Overrides:
doValidation in class webwork.action.ActionSupport

doExecute

protected String doExecute()
                    throws Exception
Overrides:
doExecute in class webwork.action.ActionSupport
Throws:
Exception

doDelete

public String doDelete()
                throws Exception
Throws:
Exception

getDirectionName

public String getDirectionName()
                        throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getTargetIssueKey

public String getTargetIssueKey()

getLink

public IssueLink getLink()
                  throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getDestId

public Long getDestId()

setDestId

public void setDestId(Long destId)

getSourceId

public Long getSourceId()

setSourceId

public void setSourceId(Long sourceId)

getLinkType

public Long getLinkType()

setLinkType

public void setLinkType(Long linkType)

isConfirm

public boolean isConfirm()

setConfirm

public void setConfirm(boolean confirm)

getDeleteColumnLayoutItem

public ColumnLayoutItem getDeleteColumnLayoutItem(IssueLinkType issueLinkType,
                                                  boolean isOutward)

getLinkCollection

public LinkCollection getLinkCollection()
                                 throws Exception
Throws:
Exception

isCanAddLink

public boolean isCanAddLink()

isSubTask

public boolean isSubTask()
Checks if the issue is a subtask. This is used by issue_headertable.jsp

Returns:
true if issue is a subtask, false otherwise

getParentIssueObject

public Issue getParentIssueObject()
Returns the parent of the current Issue

Returns:
the parent issue object

getComponents

public Collection getComponents()
                         throws Exception
Throws:
Exception

getAffectedVersions

public Collection getAffectedVersions()
                               throws Exception
Throws:
Exception

getFixVersions

public Collection getFixVersions()
                          throws Exception
Throws:
Exception

getPagerManager

public PagerManager getPagerManager()


Copyright © 2002-2009 Atlassian. All Rights Reserved.