com.atlassian.jira.bulkedit.operation
Class BulkMigrateOperation

java.lang.Object
  extended by com.atlassian.jira.bulkedit.operation.BulkMigrateOperation
All Implemented Interfaces:
BulkOperation, IssueOperation

public class BulkMigrateOperation
extends java.lang.Object
implements BulkOperation

Operation to Move issues from differring contexts to multiple target contexts.


Field Summary
static java.lang.String NAME_KEY
           
static java.lang.String OPERATION_NAME
           
 
Constructor Summary
BulkMigrateOperation(BulkMoveOperation bulkMoveOperation)
           
 
Method Summary
 boolean canPerform(BulkEditBean bulkEditBean, com.opensymphony.user.User remoteUser)
          Determines whether the operation can be performed with the given set of issues
 void chooseContext(BulkEditBean rootBulkEditBean, com.opensymphony.user.User remoteUser, I18nHelper i18nHelper, ErrorCollection errors)
           
 void chooseContextNoValidate(BulkEditBean rootBulkEditBean, com.opensymphony.user.User remoteUser)
           
 BulkMoveOperation getBulkMoveOperation()
           
 java.lang.String getCannotPerformMessageKey()
           
 java.lang.String getDescriptionKey()
           
 java.lang.String getNameKey()
           
 java.lang.String getOperationName()
           
 boolean isStatusValid(BulkEditBean rootBulkEditBean)
           
 void perform(BulkEditBean rootBulkEditBean, com.opensymphony.user.User remoteUser)
          Performs the operation on the given set of issues
 void setStatusFields(BulkEditBean rootBulkEditBean)
           
 void validatePopulateFields(BulkEditBean rootBulkEditBean, I18nHelper i18nHelper, ErrorCollection errors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATION_NAME

public static final java.lang.String OPERATION_NAME
See Also:
Constant Field Values

NAME_KEY

public static final java.lang.String NAME_KEY
See Also:
Constant Field Values
Constructor Detail

BulkMigrateOperation

public BulkMigrateOperation(BulkMoveOperation bulkMoveOperation)
Method Detail

canPerform

public boolean canPerform(BulkEditBean bulkEditBean,
                          com.opensymphony.user.User remoteUser)
Description copied from interface: BulkOperation
Determines whether the operation can be performed with the given set of issues

Specified by:
canPerform in interface BulkOperation

perform

public void perform(BulkEditBean rootBulkEditBean,
                    com.opensymphony.user.User remoteUser)
             throws java.lang.Exception
Description copied from interface: BulkOperation
Performs the operation on the given set of issues

Specified by:
perform in interface BulkOperation
Throws:
java.lang.Exception

chooseContext

public void chooseContext(BulkEditBean rootBulkEditBean,
                          com.opensymphony.user.User remoteUser,
                          I18nHelper i18nHelper,
                          ErrorCollection errors)
                   throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

chooseContextNoValidate

public void chooseContextNoValidate(BulkEditBean rootBulkEditBean,
                                    com.opensymphony.user.User remoteUser)
                             throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

isStatusValid

public boolean isStatusValid(BulkEditBean rootBulkEditBean)

setStatusFields

public void setStatusFields(BulkEditBean rootBulkEditBean)
                     throws WorkflowException
Throws:
WorkflowException

validatePopulateFields

public void validatePopulateFields(BulkEditBean rootBulkEditBean,
                                   I18nHelper i18nHelper,
                                   ErrorCollection errors)
                            throws FieldLayoutStorageException
Throws:
FieldLayoutStorageException

getNameKey

public java.lang.String getNameKey()
Specified by:
getNameKey in interface IssueOperation

getDescriptionKey

public java.lang.String getDescriptionKey()
Specified by:
getDescriptionKey in interface IssueOperation

getOperationName

public java.lang.String getOperationName()
Specified by:
getOperationName in interface BulkOperation

getCannotPerformMessageKey

public java.lang.String getCannotPerformMessageKey()
Specified by:
getCannotPerformMessageKey in interface BulkOperation

getBulkMoveOperation

public BulkMoveOperation getBulkMoveOperation()


Copyright © 2002-2010 Atlassian. All Rights Reserved.