|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.bulkedit.operation.AbstractBulkOperation com.atlassian.jira.bulkedit.operation.BulkEditOperation
public class BulkEditOperation
Field Summary | |
---|---|
static String |
NAME
|
static String |
NAME_KEY
|
Constructor Summary | |
---|---|
BulkEditOperation(IssueManager issueManager,
PermissionManager permissionManager,
ProjectManager projectManager,
FieldManager fieldManager,
JiraAuthenticationContext authenticationContext)
|
Method Summary | |
---|---|
boolean |
canPerform(BulkEditBean bulkEditBean,
ApplicationUser remoteUser)
|
boolean |
canPerform(BulkEditBean bulkEditBean,
com.atlassian.crowd.embedded.api.User remoteUser)
Determines whether the operation can be performed with the given set of issues |
boolean |
equals(Object o)
|
Map |
getActions(BulkEditBean bulkEditBean,
ApplicationUser applicationUser)
Initialises all the bulk edit actions and returns them. |
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. |
Map |
getCustomFieldActions(BulkEditBean bulkEditBean,
ApplicationUser applicationUser)
|
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,
ApplicationUser applicationUser)
|
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAME_KEY
public static final String NAME
Constructor Detail |
---|
public BulkEditOperation(IssueManager issueManager, PermissionManager permissionManager, ProjectManager projectManager, FieldManager fieldManager, JiraAuthenticationContext authenticationContext)
Method Detail |
---|
public boolean canPerform(BulkEditBean bulkEditBean, com.atlassian.crowd.embedded.api.User remoteUser)
BulkOperation
BulkEditBean.getSelectedIssues()
public boolean canPerform(BulkEditBean bulkEditBean, ApplicationUser remoteUser)
public Map getActions(BulkEditBean bulkEditBean, ApplicationUser applicationUser)
bulkEditBean
- bean used for actions retrievalapplicationUser
- remote user
public Map getCustomFieldActions(BulkEditBean bulkEditBean, ApplicationUser applicationUser)
public void perform(BulkEditBean bulkEditBean, com.atlassian.crowd.embedded.api.User remoteUser) throws Exception
BulkOperation
Exception
public void perform(BulkEditBean bulkEditBean, ApplicationUser applicationUser) throws Exception
Exception
public String getNameKey()
IssueOperation
public String getDescriptionKey()
public boolean equals(Object o)
equals
in class Object
public String getOperationName()
BulkOperation
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
public String getCannotPerformMessageKey()
BulkOperation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |