com.atlassian.jira.web.bean
Class ConvertIssueBean

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

public class ConvertIssueBean
extends Object
implements OperationContext, Serializable

See Also:
Serialized Form

Field Summary
protected  int currentStep
           
protected  Map customFieldValuesHolder
           
protected  String guid
           
protected  String issueId
           
protected  String issueType
           
protected  String sessionKey
           
protected  String targetStatusId
           
 
Constructor Summary
ConvertIssueBean()
           
 
Method Summary
 void clearBean()
          Clears everything in the bean except id.
 void clearSession(javax.servlet.http.HttpSession session)
          Removes itself from the session
 String extraFieldsToString()
           
static ConvertIssueBean getBean(javax.servlet.http.HttpSession session, String issueId)
          Retrieves itself from the session.
static ConvertIssueBean getBeanFromSession(Class beanClass, String sessionKey, javax.servlet.http.HttpSession session, String issueId)
           
 int getCurrentStep()
           
 Map getCustomFieldValuesHolder()
          Returns a custom values holder
 String getGuid()
           
 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
 void setCurrentStep(int step)
           
 void setGuid(String guid)
           
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

issueId

protected String issueId

customFieldValuesHolder

protected Map customFieldValuesHolder

issueType

protected String issueType

targetStatusId

protected String targetStatusId

guid

protected String guid

sessionKey

protected String sessionKey

currentStep

protected int currentStep
Constructor Detail

ConvertIssueBean

public ConvertIssueBean()
Method Detail

getBean

public static ConvertIssueBean getBean(javax.servlet.http.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

getBeanFromSession

public static ConvertIssueBean getBeanFromSession(Class beanClass,
                                                  String sessionKey,
                                                  javax.servlet.http.HttpSession session,
                                                  String issueId)

clearBean

public void clearBean()
Clears everything in the bean except id.


clearSession

public void clearSession(javax.servlet.http.HttpSession session)
Removes itself from the session

Parameters:
session - session

toString

public String toString()
Overrides:
toString in class Object

extraFieldsToString

public String extraFieldsToString()

getCustomFieldValuesHolder

public Map getCustomFieldValuesHolder()
Returns a custom values holder

Specified by:
getCustomFieldValuesHolder in interface OperationContext
Returns:
a custom values holder

getIssueOperation

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

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

getIssueId

public String getIssueId()
Returns issue ID

Returns:
issue ID

setIssueId

public void setIssueId(String issueId)
Sets the issue ID

Parameters:
issueId - issue ID

getIssueType

public String getIssueType()
Returns issue type

Returns:
issue type

setIssueType

public void setIssueType(String issueType)
Sets issue type

Parameters:
issueType - issue type

getTargetStatusId

public String getTargetStatusId()
Returns target status id

Returns:
target status id

setTargetStatusId

public void setTargetStatusId(String targetStatusId)
Sets target status id

Parameters:
targetStatusId - target status id

getGuid

public String getGuid()

setGuid

public void setGuid(String guid)

setCurrentStep

public void setCurrentStep(int step)

getCurrentStep

public int getCurrentStep()

getSessionKey

public String getSessionKey()

setSessionKey

public void setSessionKey(String sessionKey)


Copyright © 2002-2008 Atlassian. All Rights Reserved.