com.atlassian.jira.web.action.project
Class EditVersionReleases

java.lang.Object
  extended byActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.web.action.ProjectActionSupport
                  extended bycom.atlassian.jira.web.action.project.AbstractProjectAction
                      extended bycom.atlassian.jira.web.action.project.ViewProject
                          extended bycom.atlassian.jira.web.action.project.EditVersionReleases

public class EditVersionReleases
extends ViewProject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
savedFilters
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, permissionManager, request
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Constructor Summary
EditVersionReleases()
           
 
Method Summary
 java.lang.String doConfirm()
          When we are releasing, this checks to see whether we can just do the release immediately, or need to check if users wish to move unresolved issues to other versions or not.
 java.lang.String doDefault()
           
protected  java.lang.String doExecute()
           
 java.lang.String doRelease()
           
 java.lang.String doUnrelease()
           
protected  void doValidation()
           
 java.lang.String getAffectsAction()
           
 java.lang.Long getAffectsSwapVersionId()
           
 java.lang.String getIdToRelease()
           
 java.lang.String getOperation()
           
 java.util.Collection getOtherVersions()
          Return all versions except the one being released
 java.util.Collection getReleased()
           
 java.util.Collection getUnreleased()
           
 java.util.List getUnresolvedIssues()
          Return a list of issues that have not been resolved for the current fix for version selected for release
 java.util.Collection getVersionsToUnrelease()
           
 GenericValue getVersionToRelease()
           
 java.lang.String getVid()
           
 void setAffectsAction(java.lang.String affectsAction)
           
 void setAffectsSwapVersionId(java.lang.Long affectsSwapVersionId)
           
 void setCommit(boolean commit)
           
 void setIdsToUnrelease(java.lang.String[] idsToUnrelease)
           
 void setIdToRelease(java.lang.String idToRelease)
           
 void setOperation(java.lang.String operation)
           
 
Methods inherited from class com.atlassian.jira.web.action.project.ViewProject
getFieldLayoutSchemes, getIssueSecuritySchemes, getPermissionSchemes, getPid, getProject, getProjectCategory, getProjectEmail, getRepositories, getSchemes, getStringSet, hasAdminPermission, hasProjectAdminPermission, isEnterprise, isHasDefaultSMTPMailServer, isVersionArchived, setPid
 
Methods inherited from class com.atlassian.jira.web.action.project.AbstractProjectAction
getAssigneeType, getAssigneeTypes, getDescription, getIssueSecurityScheme, getKey, getLead, getName, getNotificationScheme, getPermissionScheme, getPrettyAssigneeType, getUrl, setAssigneeType, setDescription, setIssueSecurityScheme, setKey, setLead, setName, setNotificationScheme, setPermissionScheme, setUrl
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSavedFilters
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDefaultAssignee, getField, getLocale, getOutlookDate, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getText, getText, getText, getText, getUserFullName, getUserPreferences, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, isIndexing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditVersionReleases

public EditVersionReleases()
Method Detail

doDefault

public java.lang.String doDefault()
                           throws java.lang.Exception
Overrides:
doDefault in class ViewProject
Throws:
java.lang.Exception

doValidation

protected void doValidation()
Overrides:
doValidation in class ViewProject

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Overrides:
doExecute in class ViewProject
Throws:
java.lang.Exception

doConfirm

public java.lang.String doConfirm()
                           throws java.lang.Exception
When we are releasing, this checks to see whether we can just do the release immediately, or need to check if users wish to move unresolved issues to other versions or not.

Throws:
java.lang.Exception

doRelease

public java.lang.String doRelease()
                           throws java.lang.Exception
Throws:
java.lang.Exception

doUnrelease

public java.lang.String doUnrelease()
                             throws GenericEntityException
Throws:
GenericEntityException

getVersionsToUnrelease

public java.util.Collection getVersionsToUnrelease()
                                            throws GenericEntityException
Throws:
GenericEntityException

getVersionToRelease

public GenericValue getVersionToRelease()
                                 throws GenericEntityException
Throws:
GenericEntityException

getUnreleased

public java.util.Collection getUnreleased()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

getReleased

public java.util.Collection getReleased()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

getUnresolvedIssues

public java.util.List getUnresolvedIssues()
Return a list of issues that have not been resolved for the current fix for version selected for release


getOtherVersions

public java.util.Collection getOtherVersions()
                                      throws java.lang.Exception
Return all versions except the one being released

Throws:
java.lang.Exception

getIdToRelease

public java.lang.String getIdToRelease()

setIdToRelease

public void setIdToRelease(java.lang.String idToRelease)

setIdsToUnrelease

public void setIdsToUnrelease(java.lang.String[] idsToUnrelease)

getOperation

public java.lang.String getOperation()

setOperation

public void setOperation(java.lang.String operation)

getVid

public java.lang.String getVid()

getAffectsAction

public java.lang.String getAffectsAction()

setAffectsAction

public void setAffectsAction(java.lang.String affectsAction)

getAffectsSwapVersionId

public java.lang.Long getAffectsSwapVersionId()

setAffectsSwapVersionId

public void setAffectsSwapVersionId(java.lang.Long affectsSwapVersionId)

setCommit

public void setCommit(boolean commit)