com.atlassian.jira.web.bean
Class ConvertIssueToSubTaskBean

java.lang.Object
  extended by com.atlassian.jira.web.bean.ConvertIssueBean
      extended by com.atlassian.jira.web.bean.ConvertIssueToSubTaskBean
All Implemented Interfaces:
OperationContext, java.io.Serializable

public class ConvertIssueToSubTaskBean
extends ConvertIssueBean

Convert issue to sub-task bean

See Also:
Serialized Form

Field Summary
protected  java.lang.String parentIssueKey
           
static java.lang.String SESSION_KEY
           
 
Fields inherited from class com.atlassian.jira.web.bean.ConvertIssueBean
currentStep, fieldValuesHolder, guid, issueId, issueType, sessionKey, targetStatusId
 
Constructor Summary
protected ConvertIssueToSubTaskBean()
          Creates a new blank instance
 
Method Summary
 void clearBean()
          Clears everything in the bean except id.
 java.lang.String extraFieldsToString()
           
static ConvertIssueToSubTaskBean getConvertIssueToSubTaskBean(javax.servlet.http.HttpSession session, java.lang.String issueId)
          Retrieves itself from the session.
 IssueOperation getIssueOperation()
          Returns the issue operation of this bean
 java.lang.String getParentIssueKey()
          Returns parent issue key
 void setParentIssueKey(java.lang.String parentIssueKey)
          Sets parent issue key
 
Methods inherited from class com.atlassian.jira.web.bean.ConvertIssueBean
clearSession, getBean, getBeanFromSession, getCurrentStep, getFieldValuesHolder, getGuid, getIssueId, getIssueType, getSessionKey, getTargetStatusId, setCurrentStep, setGuid, setIssueId, setIssueType, setSessionKey, setTargetStatusId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SESSION_KEY

public static final java.lang.String SESSION_KEY
See Also:
Constant Field Values

parentIssueKey

protected java.lang.String parentIssueKey
Constructor Detail

ConvertIssueToSubTaskBean

protected ConvertIssueToSubTaskBean()
Creates a new blank instance

Method Detail

getConvertIssueToSubTaskBean

public static ConvertIssueToSubTaskBean getConvertIssueToSubTaskBean(javax.servlet.http.HttpSession session,
                                                                     java.lang.String issueId)
Retrieves itself from the session. If not found in the session, a new instance is created and stored in the session.

Parameters:
session - session
issueId - issue id
Returns:
bean

getIssueOperation

public IssueOperation getIssueOperation()
Returns the issue operation of this bean

Specified by:
getIssueOperation in interface OperationContext
Overrides:
getIssueOperation in class ConvertIssueBean
Returns:
the issue operation of this bean

clearBean

public void clearBean()
Description copied from class: ConvertIssueBean
Clears everything in the bean except id.

Overrides:
clearBean in class ConvertIssueBean

extraFieldsToString

public java.lang.String extraFieldsToString()
Overrides:
extraFieldsToString in class ConvertIssueBean

getParentIssueKey

public java.lang.String getParentIssueKey()
Returns parent issue key

Returns:
parent issue key

setParentIssueKey

public void setParentIssueKey(java.lang.String parentIssueKey)
Sets parent issue key

Parameters:
parentIssueKey - parrnt issue key


Copyright © 2002-2010 Atlassian. All Rights Reserved.