com.atlassian.jira.bulkedit.operation
Class BulkEditOperation

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

public class BulkEditOperation
extends AbstractBulkOperation


Field Summary
static java.lang.String NAME
           
static java.lang.String NAME_KEY
           
 
Constructor Summary
BulkEditOperation(PermissionManager permissionManager, ProjectManager projectManager, FieldManager fieldManager, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 boolean canPerform(BulkEditBean bulkEditBean, com.opensymphony.user.User remoteUser)
          Determines whether the operation can be performed with the given set of issues
 boolean equals(java.lang.Object o)
           
 java.util.Map getActions(BulkEditBean bulkEditBean, com.opensymphony.user.User remoteUser)
          Initialises all the bulk edit actions and returns them.
 java.lang.String getCannotPerformMessageKey()
           
 java.util.Map getCustomFieldActions(BulkEditBean bulkEditBean, com.opensymphony.user.User remoteUser)
           
 java.lang.String getDescriptionKey()
           
 java.lang.String getNameKey()
           
 java.lang.String getOperationName()
           
 void perform(BulkEditBean bulkEditBean, com.opensymphony.user.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

NAME_KEY

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

NAME

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

BulkEditOperation

public BulkEditOperation(PermissionManager permissionManager,
                         ProjectManager projectManager,
                         FieldManager fieldManager,
                         JiraAuthenticationContext authenticationContext)
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


getActions

public java.util.Map getActions(BulkEditBean bulkEditBean,
                                com.opensymphony.user.User remoteUser)
Initialises all the bulk edit actions and returns them.

Parameters:
bulkEditBean - bean used for actions retrieval
remoteUser - remote user
Returns:
bulk edit actions

getCustomFieldActions

public java.util.Map getCustomFieldActions(BulkEditBean bulkEditBean,
                                           com.opensymphony.user.User remoteUser)

perform

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

Throws:
java.lang.Exception

getNameKey

public java.lang.String getNameKey()

getDescriptionKey

public java.lang.String getDescriptionKey()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

getOperationName

public java.lang.String getOperationName()

getCannotPerformMessageKey

public java.lang.String getCannotPerformMessageKey()


Copyright © 2002-2010 Atlassian. All Rights Reserved.