Package com.atlassian.jira.web.bean
Class ConvertIssueBean
java.lang.Object
com.atlassian.jira.web.bean.ConvertIssueBean
- All Implemented Interfaces:
OperationContext
,Serializable
- Direct Known Subclasses:
ConvertIssueToSubTaskBean
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears everything in the bean except id.void
clearSession
(javax.servlet.http.HttpSession session) Removes itself from the sessionvoid
static ConvertIssueBean
Retrieves itself from the session.static ConvertIssueBean
getBeanFromSession
(Class beanClass, String sessionKey, javax.servlet.http.HttpSession session, String issueId) int
Returns a custom values holderReturns issue IDReturns the issue operation of this beanReturns issue typeReturns target status idvoid
setCurrentStep
(int step) void
setIssueId
(String issueId) Sets the issue IDvoid
setIssueType
(String issueType) Sets issue typevoid
setSessionKey
(String sessionKey) void
setTargetStatusId
(String targetStatusId) Sets target status idtoString()
-
Field Details
-
issueId
-
fieldValuesHolder
-
issueType
-
targetStatusId
-
version
-
sessionKey
-
currentStep
protected int currentStep
-
-
Constructor Details
-
ConvertIssueBean
public ConvertIssueBean()
-
-
Method Details
-
getBean
Retrieves itself from the session. If not found in the session, a new instance is created and stored in the session.- Parameters:
session
- sessionissueId
- 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
-
extraFieldsToString
-
getFieldValuesHolder
Returns a custom values holder- Specified by:
getFieldValuesHolder
in interfaceOperationContext
- Returns:
- a custom values holder
-
getIssueOperation
Returns the issue operation of this bean- Specified by:
getIssueOperation
in interfaceOperationContext
- Returns:
- the issue operation of this bean
-
getIssueId
Returns issue ID- Returns:
- issue ID
-
setIssueId
Sets the issue ID- Parameters:
issueId
- issue ID
-
getIssueType
Returns issue type- Returns:
- issue type
-
setIssueType
Sets issue type- Parameters:
issueType
- issue type
-
getTargetStatusId
Returns target status id- Returns:
- target status id
-
setTargetStatusId
Sets target status id- Parameters:
targetStatusId
- target status id
-
getVersion
-
generateNextVersion
public void generateNextVersion() -
setCurrentStep
public void setCurrentStep(int step) -
getCurrentStep
public int getCurrentStep() -
getSessionKey
-
setSessionKey
-