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

NAME

public static final 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,
                          User remoteUser)
Description copied from interface: BulkOperation
Determines whether the operation can be performed with the given set of issues


getActions

public Map getActions(BulkEditBean bulkEditBean,
                      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 Map getCustomFieldActions(BulkEditBean bulkEditBean,
                                 User remoteUser)

perform

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

Throws:
Exception

getNameKey

public String getNameKey()

getDescriptionKey

public String getDescriptionKey()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

getOperationName

public String getOperationName()

getCannotPerformMessageKey

public String getCannotPerformMessageKey()


Copyright © 2002-2009 Atlassian. All Rights Reserved.