|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.bulkedit.operation.BulkMigrateOperation
public class BulkMigrateOperation
Operation to Move issues from differing contexts to multiple target contexts.
Field Summary | |
---|---|
static String |
NAME_KEY
|
static String |
OPERATION_NAME
|
Constructor Summary | |
---|---|
BulkMigrateOperation(BulkMoveOperation bulkMoveOperation)
|
Method Summary | |
---|---|
boolean |
canPerform(BulkEditBean bulkEditBean,
ApplicationUser 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. |
int |
getNumberOfTasks(BulkEditBean rootBulkEditBean)
Returns number of tasks/stages to be executed as part of this bulk operation. |
String |
getOperationName()
Returns the "operation name". |
boolean |
isStatusValid(BulkEditBean rootBulkEditBean)
|
void |
perform(BulkEditBean rootBulkEditBean,
ApplicationUser applicationUser,
Context taskContext)
Performs the operation on the given set of issues and updates the progress. |
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 |
---|
public static final String OPERATION_NAME
public static final String NAME_KEY
Constructor Detail |
---|
public BulkMigrateOperation(BulkMoveOperation bulkMoveOperation)
Method Detail |
---|
public boolean canPerform(BulkEditBean bulkEditBean, ApplicationUser remoteUser)
ProgressAwareBulkOperation
canPerform
in interface ProgressAwareBulkOperation
BulkEditBean.getSelectedIssues()
public void perform(BulkEditBean rootBulkEditBean, ApplicationUser applicationUser, Context taskContext) throws BulkOperationException
ProgressAwareBulkOperation
Context.start(object);
on the context passed to get a task object, and subsequently call
Context.Task.complete();
on the the task object to indicate task has finished.
perform
in interface ProgressAwareBulkOperation
BulkOperationException
public int getNumberOfTasks(BulkEditBean rootBulkEditBean)
ProgressAwareBulkOperation
ProgressAwareBulkOperation.perform(com.atlassian.jira.web.bean.BulkEditBean, com.atlassian.jira.user.ApplicationUser,
com.atlassian.jira.task.context.Context)
.
getNumberOfTasks
in interface ProgressAwareBulkOperation
public void chooseContext(BulkEditBean rootBulkEditBean, ApplicationUser applicationUser, I18nHelper i18nHelper, ErrorCollection errors)
public void chooseContextNoValidate(BulkEditBean rootBulkEditBean, ApplicationUser applicationUser)
public boolean isStatusValid(BulkEditBean rootBulkEditBean)
public void setStatusFields(BulkEditBean rootBulkEditBean) throws WorkflowException
WorkflowException
public void validatePopulateFields(BulkEditBean rootBulkEditBean, I18nHelper i18nHelper, ErrorCollection errors)
public String getNameKey()
IssueOperation
getNameKey
in interface IssueOperation
public String getDescriptionKey()
getDescriptionKey
in interface IssueOperation
public String getOperationName()
ProgressAwareBulkOperation
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
getOperationName
in interface ProgressAwareBulkOperation
public String getCannotPerformMessageKey()
ProgressAwareBulkOperation
getCannotPerformMessageKey
in interface ProgressAwareBulkOperation
public BulkMoveOperation getBulkMoveOperation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |