public class

BulkMigrateOperation

extends Object
implements BulkOperation
java.lang.Object
   ↳ com.atlassian.jira.bulkedit.operation.BulkMigrateOperation

Class Overview

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

Summary

Constants
String NAME_KEY
String OPERATION_NAME
Public Constructors
BulkMigrateOperation(BulkMoveOperation bulkMoveOperation)
Public Methods
boolean canPerform(BulkEditBean bulkEditBean, ApplicationUser applicationUser)
boolean canPerform(BulkEditBean bulkEditBean, User remoteUser)
Determines whether the operation can be performed with the given set of issues
void chooseContext(BulkEditBean rootBulkEditBean, ApplicationUser applicationUser, I18nHelper i18nHelper, ErrorCollection errors)
void chooseContextNoValidate(BulkEditBean rootBulkEditBean, ApplicationUser applicationUser)
BulkMoveOperation getBulkMoveOperation()
String getCannotPerformMessageKey()
An i18n key to be used to render the error message to be displayed when the user can not perform this bulk operation.
String getDescriptionKey()
String getNameKey()
An i18n key used to display a short description of this operation in the UI.
String getOperationName()
Returns the "operation name".
boolean isStatusValid(BulkEditBean rootBulkEditBean)
void perform(BulkEditBean rootBulkEditBean, ApplicationUser applicationUser)
@Deprecated void perform(BulkEditBean rootBulkEditBean, User remoteUser)
Performs the operation on the given set of issues
void setStatusFields(BulkEditBean rootBulkEditBean)
void validatePopulateFields(BulkEditBean rootBulkEditBean, I18nHelper i18nHelper, ErrorCollection errors)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.bulkedit.operation.BulkOperation
From interface com.atlassian.jira.issue.operation.IssueOperation

Constants

public static final String NAME_KEY

Constant Value: "bulk.move.operation.name"

public static final String OPERATION_NAME

Constant Value: "BulkMigrate"

Public Constructors

public BulkMigrateOperation (BulkMoveOperation bulkMoveOperation)

Public Methods

public boolean canPerform (BulkEditBean bulkEditBean, ApplicationUser applicationUser)

public boolean canPerform (BulkEditBean bulkEditBean, User remoteUser)

Determines whether the operation can be performed with the given set of issues

public void chooseContext (BulkEditBean rootBulkEditBean, ApplicationUser applicationUser, I18nHelper i18nHelper, ErrorCollection errors)

public void chooseContextNoValidate (BulkEditBean rootBulkEditBean, ApplicationUser applicationUser)

public BulkMoveOperation getBulkMoveOperation ()

public String getCannotPerformMessageKey ()

An i18n key to be used to render the error message to be displayed when the user can not perform this bulk operation.

Returns
  • An i18n key to be used to render the error message to be displayed when the user can not perform this bulk operation.

public String getDescriptionKey ()

public String getNameKey ()

An i18n key used to display a short description of this operation in the UI. e.g " Watch Issues "

Returns
  • An i18n key used to display a short description of this operation in the UI

public String getOperationName ()

Returns the "operation name".

This is used to build up the name of the action used to render the details screen in the bulk change UI.

The action name that is generated as operationName + "Details.jspa". See BulkChooseOperation for details

Returns
  • The "operation name"

public boolean isStatusValid (BulkEditBean rootBulkEditBean)

public void perform (BulkEditBean rootBulkEditBean, ApplicationUser applicationUser)

Throws
Exception

@Deprecated public void perform (BulkEditBean rootBulkEditBean, User remoteUser)

Performs the operation on the given set of issues

Throws
Exception

public void setStatusFields (BulkEditBean rootBulkEditBean)

public void validatePopulateFields (BulkEditBean rootBulkEditBean, I18nHelper i18nHelper, ErrorCollection errors)