public class

ConvertIssueBean

extends Object
implements OperationContext Serializable
java.lang.Object
   ↳ com.atlassian.jira.web.bean.ConvertIssueBean
Known Direct Subclasses

Summary

Fields
protected int currentStep
protected Map<StringObject> fieldValuesHolder
protected String issueId
protected String issueType
protected String sessionKey
protected String targetStatusId
protected String version
Public Constructors
ConvertIssueBean()
Public Methods
void clearBean()
Clears everything in the bean except id.
void clearSession(HttpSession session)
Removes itself from the session
String extraFieldsToString()
void generateNextVersion()
static ConvertIssueBean getBean(HttpSession session, String issueId)
Retrieves itself from the session.
static ConvertIssueBean getBeanFromSession(Class beanClass, String sessionKey, HttpSession session, String issueId)
int getCurrentStep()
Map<StringObject> getFieldValuesHolder()
Returns a custom values holder
String getIssueId()
Returns issue ID
IssueOperation getIssueOperation()
Returns the issue operation of this bean
String getIssueType()
Returns issue type
String getSessionKey()
String getTargetStatusId()
Returns target status id
String getVersion()
void setCurrentStep(int step)
void setIssueId(String issueId)
Sets the issue ID
void setIssueType(String issueType)
Sets issue type
void setSessionKey(String sessionKey)
void setTargetStatusId(String targetStatusId)
Sets target status id
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.customfields.OperationContext

Fields

protected int currentStep

protected Map<StringObject> fieldValuesHolder

protected String issueId

protected String issueType

protected String sessionKey

protected String targetStatusId

protected String version

Public Constructors

public ConvertIssueBean ()

Public Methods

public void clearBean ()

Clears everything in the bean except id.

public void clearSession (HttpSession session)

Removes itself from the session

Parameters
session session

public String extraFieldsToString ()

public void generateNextVersion ()

public static ConvertIssueBean getBean (HttpSession session, 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

public static ConvertIssueBean getBeanFromSession (Class beanClass, String sessionKey, HttpSession session, String issueId)

public int getCurrentStep ()

public Map<StringObject> getFieldValuesHolder ()

Returns a custom values holder

Returns
  • a custom values holder

public String getIssueId ()

Returns issue ID

Returns
  • issue ID

public IssueOperation getIssueOperation ()

Returns the issue operation of this bean

Returns
  • the issue operation of this bean

public String getIssueType ()

Returns issue type

Returns
  • issue type

public String getSessionKey ()

public String getTargetStatusId ()

Returns target status id

Returns
  • target status id

public String getVersion ()

public void setCurrentStep (int step)

public void setIssueId (String issueId)

Sets the issue ID

Parameters
issueId issue ID

public void setIssueType (String issueType)

Sets issue type

Parameters
issueType issue type

public void setSessionKey (String sessionKey)

public void setTargetStatusId (String targetStatusId)

Sets target status id

Parameters
targetStatusId target status id

public String toString ()