com.atlassian.jira.web.bean
Interface MultiBulkMoveBean

All Superinterfaces:
Serializable
All Known Implementing Classes:
MultiBulkMoveBeanImpl

public interface MultiBulkMoveBean
extends Serializable

A bean that stores multiple BulkEditBean


Method Summary
 org.apache.commons.collections.map.ListOrderedMap getBulkEditBeans()
           
 BulkEditBean getCurrentBulkEditBean()
           
 int getCurrentBulkEditBeanIndex()
           
 IssueContext getCurrentIssueContext()
           
 ExecutableAction getExecutableAction()
           
 String getFinalLocation()
           
 org.apache.commons.collections.map.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 setTargetProject(org.ofbiz.core.entity.GenericValue targetProjectGV)
           
 void validate(ErrorCollection errors, BulkMoveOperation bulkMoveOperation, com.atlassian.crowd.embedded.api.User user)
           
 

Method Detail

initOptionIds

void initOptionIds(Collection optionIds)

initFromIssues

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.

remapBulkEditBeansByTargetContext

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


validate

void validate(ErrorCollection errors,
              BulkMoveOperation bulkMoveOperation,
              com.atlassian.crowd.embedded.api.User user)

getIssuesInContext

org.apache.commons.collections.map.ListOrderedMap getIssuesInContext()

getBulkEditBeans

org.apache.commons.collections.map.ListOrderedMap getBulkEditBeans()

getExecutableAction

ExecutableAction getExecutableAction()

setExecutableAction

void setExecutableAction(ExecutableAction executableAction)

getFinalLocation

String getFinalLocation()

setFinalLocation

void setFinalLocation(String finalLocation)

getSelectedOptions

Collection getSelectedOptions()

getRegularOptions

List getRegularOptions()

getSubTaskOptions

List getSubTaskOptions()

getSubTasksDiscarded

int getSubTasksDiscarded()

getNumberOfStatusChangeRequired

int getNumberOfStatusChangeRequired(BulkMoveOperation bulkMoveOperation)

getCurrentBulkEditBean

BulkEditBean getCurrentBulkEditBean()

progressToNextBulkEditBean

void progressToNextBulkEditBean()

progressToPreviousBulkEditBean

void progressToPreviousBulkEditBean()

isLastBulkEditBean

boolean isLastBulkEditBean()

getCurrentIssueContext

IssueContext getCurrentIssueContext()

getCurrentBulkEditBeanIndex

int getCurrentBulkEditBeanIndex()

setTargetProject

void setTargetProject(org.ofbiz.core.entity.GenericValue targetProjectGV)


Copyright © 2002-2012 Atlassian. All Rights Reserved.