com.atlassian.jira.web.bean
Class MultiBulkMoveBean

java.lang.Object
  extended by com.atlassian.jira.web.bean.MultiBulkMoveBean
All Implemented Interfaces:
Serializable

public class MultiBulkMoveBean
extends Object
implements Serializable

A bean that stores multiple BulkEditBean

See Also:
Serialized Form

Constructor Summary
MultiBulkMoveBean(String operationName, IssueManager issueManager)
           
 
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, User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiBulkMoveBean

public MultiBulkMoveBean(String operationName,
                         IssueManager issueManager)
Method Detail

initOptionIds

public void initOptionIds(Collection optionIds)

initFromIssues

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.

remapBulkEditBeansByTargetContext

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


validate

public void validate(ErrorCollection errors,
                     BulkMoveOperation bulkMoveOperation,
                     User user)

getIssuesInContext

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

getBulkEditBeans

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

getExecutableAction

public ExecutableAction getExecutableAction()

setExecutableAction

public void setExecutableAction(ExecutableAction executableAction)

getFinalLocation

public String getFinalLocation()

setFinalLocation

public void setFinalLocation(String finalLocation)

getSelectedOptions

public Collection getSelectedOptions()

getRegularOptions

public List getRegularOptions()

getSubTaskOptions

public List getSubTaskOptions()

getSubTasksDiscarded

public int getSubTasksDiscarded()

getNumberOfStatusChangeRequired

public int getNumberOfStatusChangeRequired(BulkMoveOperation bulkMoveOperation)

getCurrentBulkEditBean

public BulkEditBean getCurrentBulkEditBean()

progressToNextBulkEditBean

public void progressToNextBulkEditBean()

progressToPreviousBulkEditBean

public void progressToPreviousBulkEditBean()

isLastBulkEditBean

public boolean isLastBulkEditBean()

getCurrentIssueContext

public IssueContext getCurrentIssueContext()

getCurrentBulkEditBeanIndex

public int getCurrentBulkEditBeanIndex()

setTargetProject

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


Copyright © 2002-2009 Atlassian. All Rights Reserved.