public class

MultiBulkMoveBeanImpl

extends Object
implements MultiBulkMoveBean
java.lang.Object
   ↳ com.atlassian.jira.web.bean.MultiBulkMoveBeanImpl

Class Overview

Implementation of MultiBulkMoveBean.

Summary

Public Constructors
MultiBulkMoveBeanImpl(String operationName, IssueManager issueManager)
Public Methods
ListOrderedMap getBulkEditBeans()
BulkEditBean getCurrentBulkEditBean()
int getCurrentBulkEditBeanIndex()
IssueContext getCurrentIssueContext()
ExecutableAction getExecutableAction()
String getFinalLocation()
ListOrderedMap getIssuesInContext()
int getNumberOfStatusChangeRequired(BulkMoveOperation bulkMoveOperation)
List getRegularOptions()
Collection getSelectedOptions()
List getSubTaskOptions()
int getSubTasksDiscarded()
void initFromIssues(List issues, BulkEditBean parentBulkEditBean)
Initialises this MultiBulkMoveBean given a list of issues.
void initOptionIds(Collection optionIds)
boolean isLastBulkEditBean()
void progressToNextBulkEditBean()
void progressToPreviousBulkEditBean()
void remapBulkEditBeansByTargetContext()
This method will remap the current BulkEditBean Map to be keyed by the target IssueContext rather than the originating IssueContext.
void setExecutableAction(ExecutableAction executableAction)
void setFinalLocation(String finalLocation)
void setParentIssueKey(String key)
Sets parent issue key on each contained BulkEditBean.
void setTargetProject(GenericValue targetProjectGV)
void setTargetProject(Project targetProject)
void validate(ErrorCollection errors, BulkMoveOperation bulkMoveOperation, ApplicationUser applicationUser)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.web.bean.MultiBulkMoveBean

Public Constructors

public MultiBulkMoveBeanImpl (String operationName, IssueManager issueManager)

Public Methods

public ListOrderedMap getBulkEditBeans ()

public BulkEditBean getCurrentBulkEditBean ()

public int getCurrentBulkEditBeanIndex ()

public IssueContext getCurrentIssueContext ()

public ExecutableAction getExecutableAction ()

public String getFinalLocation ()

public ListOrderedMap getIssuesInContext ()

public int getNumberOfStatusChangeRequired (BulkMoveOperation bulkMoveOperation)

public List getRegularOptions ()

public Collection getSelectedOptions ()

public List getSubTaskOptions ()

public int getSubTasksDiscarded ()

public void initFromIssues (List issues, BulkEditBean parentBulkEditBean)

Initialises this MultiBulkMoveBean given a list of issues.

If this MultiBulkMoveBean links a BulkEditBean with parent issues to BulkEditBeans with subtasks, then include the parent BulkEditBean in the parentBulkEditBean parameter. Otherwise you can pass null.

Parameters
issues Issues for this MultiBulkMoveBean.
parentBulkEditBean If this MultiBulkMoveBean represents subtasks, then this is the BulkEditBean that contains the parents of the subtasks, otherwise null.

public void initOptionIds (Collection optionIds)

public boolean isLastBulkEditBean ()

public void progressToNextBulkEditBean ()

public void progressToPreviousBulkEditBean ()

public void remapBulkEditBeansByTargetContext ()

This method will remap the current BulkEditBean Map to be keyed by the target IssueContext rather than the originating IssueContext.

public void setExecutableAction (ExecutableAction executableAction)

public void setFinalLocation (String finalLocation)

public void setParentIssueKey (String key)

Sets parent issue key on each contained BulkEditBean.

Parameters
key Parent issue key

public void setTargetProject (GenericValue targetProjectGV)

public void setTargetProject (Project targetProject)

public void validate (ErrorCollection errors, BulkMoveOperation bulkMoveOperation, ApplicationUser applicationUser)