Package com.atlassian.jira.web.bean
Interface MultiBulkMoveBean
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
MultiBulkMoveBeanImpl
A bean that stores multiple
BulkEditBean-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.collections.map.ListOrderedMapintorg.apache.commons.collections.map.ListOrderedMapintgetNumberOfStatusChangeRequired(BulkMoveOperation bulkMoveOperation) intvoidinitFromIssues(List issues, BulkEditBean parentBulkEditBean) Initialises this MultiBulkMoveBean given a list of issues.voidinitOptionIds(Collection optionIds) booleanvoidvoidvoidThis method will remap the currentBulkEditBeanMap to be keyed by the targetIssueContextrather than the originatingIssueContext.voidsetExecutableAction(ExecutableAction executableAction) voidsetFinalLocation(String finalLocation) voidsetParentIssueKey(String key) Sets parent issue key on each containedBulkEditBean.voidsetTargetProject(Project targetProject) voidvalidate(ErrorCollection errors, BulkMoveOperation bulkMoveOperation, ApplicationUser applicationUser)
-
Method Details
-
initOptionIds
-
initFromIssues
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.
-
remapBulkEditBeansByTargetContext
void remapBulkEditBeansByTargetContext()This method will remap the currentBulkEditBeanMap to be keyed by the targetIssueContextrather than the originatingIssueContext. -
validate
void validate(ErrorCollection errors, BulkMoveOperation bulkMoveOperation, ApplicationUser applicationUser) -
getIssuesInContext
org.apache.commons.collections.map.ListOrderedMap getIssuesInContext() -
getBulkEditBeans
org.apache.commons.collections.map.ListOrderedMap getBulkEditBeans() -
getExecutableAction
ExecutableAction getExecutableAction() -
setExecutableAction
-
getFinalLocation
String getFinalLocation() -
setFinalLocation
-
getSelectedOptions
Collection getSelectedOptions() -
getRegularOptions
List getRegularOptions() -
getSubTaskOptions
List getSubTaskOptions() -
getSubTasksDiscarded
int getSubTasksDiscarded() -
getNumberOfStatusChangeRequired
-
getCurrentBulkEditBean
BulkEditBean getCurrentBulkEditBean() -
progressToNextBulkEditBean
void progressToNextBulkEditBean() -
progressToPreviousBulkEditBean
void progressToPreviousBulkEditBean() -
isLastBulkEditBean
boolean isLastBulkEditBean() -
getCurrentIssueContext
IssueContext getCurrentIssueContext() -
getCurrentBulkEditBeanIndex
int getCurrentBulkEditBeanIndex() -
setTargetProject
-
setParentIssueKey
Sets parent issue key on each containedBulkEditBean.- Parameters:
key- Parent issue key
-