public class ConvertIssueBean extends Object implements OperationContext, Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
currentStep |
protected Map<String,Object> |
fieldValuesHolder |
protected String |
issueId |
protected String |
issueType |
protected String |
sessionKey |
protected String |
targetStatusId |
protected String |
version |
Constructor and Description |
---|
ConvertIssueBean() |
Modifier and Type | Method and Description |
---|---|
void |
clearBean()
Clears everything in the bean except id.
|
void |
clearSession(javax.servlet.http.HttpSession session)
Removes itself from the session
|
String |
extraFieldsToString() |
void |
generateNextVersion() |
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<String,Object> |
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() |
protected String issueId
protected String issueType
protected String targetStatusId
protected String version
protected String sessionKey
protected int currentStep
public static ConvertIssueBean getBean(javax.servlet.http.HttpSession session, String issueId)
session
- sessionissueId
- issue idpublic static ConvertIssueBean getBeanFromSession(Class beanClass, String sessionKey, javax.servlet.http.HttpSession session, String issueId)
public void clearBean()
public void clearSession(javax.servlet.http.HttpSession session)
session
- sessionpublic String extraFieldsToString()
public Map<String,Object> getFieldValuesHolder()
getFieldValuesHolder
in interface OperationContext
public IssueOperation getIssueOperation()
getIssueOperation
in interface OperationContext
public String getIssueId()
public void setIssueId(String issueId)
issueId
- issue IDpublic String getIssueType()
public void setIssueType(String issueType)
issueType
- issue typepublic String getTargetStatusId()
public void setTargetStatusId(String targetStatusId)
targetStatusId
- target status idpublic String getVersion()
public void generateNextVersion()
public void setCurrentStep(int step)
public int getCurrentStep()
public String getSessionKey()
public void setSessionKey(String sessionKey)
Copyright © 2002-2015 Atlassian. All Rights Reserved.