|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.bulkedit.operation.BulkWatchOperation
public class BulkWatchOperation
Represents an operation able to make an user the watcher on the list of selected issues in a
BulkEditBean.
| Field Summary | |
|---|---|
static String |
NAME
|
static String |
NAME_KEY
|
| Constructor Summary | |
|---|---|
BulkWatchOperation(WatcherService watcherService)
|
|
| Method Summary | |
|---|---|
boolean |
canPerform(BulkEditBean bulkEditBean,
com.atlassian.crowd.embedded.api.User remoteUser)
Determines whether the operation can be performed with the given set of issues |
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". |
void |
perform(BulkEditBean bulkEditBean,
com.atlassian.crowd.embedded.api.User remoteUser)
Performs the operation on the given set of issues |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
public static final String NAME_KEY
| Constructor Detail |
|---|
public BulkWatchOperation(WatcherService watcherService)
| Method Detail |
|---|
public boolean canPerform(BulkEditBean bulkEditBean,
com.atlassian.crowd.embedded.api.User remoteUser)
BulkOperation
canPerform in interface BulkOperationBulkEditBean.getSelectedIssues()
public void perform(BulkEditBean bulkEditBean,
com.atlassian.crowd.embedded.api.User remoteUser)
throws Exception
BulkOperation
perform in interface BulkOperationExceptionpublic String getOperationName()
BulkOperationThis 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 BulkOperationpublic String getCannotPerformMessageKey()
BulkOperation
getCannotPerformMessageKey in interface BulkOperationpublic String getNameKey()
IssueOperation
getNameKey in interface IssueOperationpublic String getDescriptionKey()
getDescriptionKey in interface IssueOperation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||