com.atlassian.jira.web.bean
Class MultiBulkMoveBeanImpl

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

public class MultiBulkMoveBeanImpl
extends MultiBulkMoveBean

Implementation of MultiBulkMoveBean.

Since:
v4.3
See Also:
Serialized Form

Constructor Summary
MultiBulkMoveBeanImpl(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

MultiBulkMoveBeanImpl

public MultiBulkMoveBeanImpl(String operationName,
                             IssueManager issueManager)
Method Detail

initOptionIds

public void initOptionIds(Collection optionIds)
Specified by:
initOptionIds in class MultiBulkMoveBean

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.

Specified by:
initFromIssues in class MultiBulkMoveBean
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.

Specified by:
remapBulkEditBeansByTargetContext in class MultiBulkMoveBean

validate

public void validate(ErrorCollection errors,
                     BulkMoveOperation bulkMoveOperation,
                     User user)
Specified by:
validate in class MultiBulkMoveBean

getIssuesInContext

public org.apache.commons.collections.map.ListOrderedMap getIssuesInContext()
Specified by:
getIssuesInContext in class MultiBulkMoveBean

getBulkEditBeans

public org.apache.commons.collections.map.ListOrderedMap getBulkEditBeans()
Specified by:
getBulkEditBeans in class MultiBulkMoveBean

getExecutableAction

public ExecutableAction getExecutableAction()
Specified by:
getExecutableAction in class MultiBulkMoveBean

setExecutableAction

public void setExecutableAction(ExecutableAction executableAction)
Specified by:
setExecutableAction in class MultiBulkMoveBean

getFinalLocation

public String getFinalLocation()
Specified by:
getFinalLocation in class MultiBulkMoveBean

setFinalLocation

public void setFinalLocation(String finalLocation)
Specified by:
setFinalLocation in class MultiBulkMoveBean

getSelectedOptions

public Collection getSelectedOptions()
Specified by:
getSelectedOptions in class MultiBulkMoveBean

getRegularOptions

public List getRegularOptions()
Specified by:
getRegularOptions in class MultiBulkMoveBean

getSubTaskOptions

public List getSubTaskOptions()
Specified by:
getSubTaskOptions in class MultiBulkMoveBean

getSubTasksDiscarded

public int getSubTasksDiscarded()
Specified by:
getSubTasksDiscarded in class MultiBulkMoveBean

getNumberOfStatusChangeRequired

public int getNumberOfStatusChangeRequired(BulkMoveOperation bulkMoveOperation)
Specified by:
getNumberOfStatusChangeRequired in class MultiBulkMoveBean

getCurrentBulkEditBean

public BulkEditBean getCurrentBulkEditBean()
Specified by:
getCurrentBulkEditBean in class MultiBulkMoveBean

progressToNextBulkEditBean

public void progressToNextBulkEditBean()
Specified by:
progressToNextBulkEditBean in class MultiBulkMoveBean

progressToPreviousBulkEditBean

public void progressToPreviousBulkEditBean()
Specified by:
progressToPreviousBulkEditBean in class MultiBulkMoveBean

isLastBulkEditBean

public boolean isLastBulkEditBean()
Specified by:
isLastBulkEditBean in class MultiBulkMoveBean

getCurrentIssueContext

public IssueContext getCurrentIssueContext()
Specified by:
getCurrentIssueContext in class MultiBulkMoveBean

getCurrentBulkEditBeanIndex

public int getCurrentBulkEditBeanIndex()
Specified by:
getCurrentBulkEditBeanIndex in class MultiBulkMoveBean

setTargetProject

public void setTargetProject(org.ofbiz.core.entity.GenericValue targetProjectGV)
Specified by:
setTargetProject in class MultiBulkMoveBean


Copyright © 2002-2011 Atlassian. All Rights Reserved.