com.atlassian.jira.bulkedit
Class DefaultBulkOperationManager

java.lang.Object
  extended by com.atlassian.jira.bulkedit.DefaultBulkOperationManager
All Implemented Interfaces:
BulkOperationManager

public class DefaultBulkOperationManager
extends Object
implements BulkOperationManager


Constructor Summary
DefaultBulkOperationManager()
           
 
Method Summary
 void addBulkOperation(String operationName, Class componentClass)
          Add a new operation using the JiraUtils.loadComponent(java.lang.String, java.lang.Class) to load the class
 Collection getBulkOperations()
          Returns all available BulkOperation objects
protected  Map getBulkOperationsMap()
           
 BulkOperation getOperation(String operationName)
          Returns a BulkOperation object registered with corresponding name
 boolean isValidOperation(String operationName)
          Returns true if the operation name is of an existing registered BulkOperation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultBulkOperationManager

public DefaultBulkOperationManager()
Method Detail

getBulkOperations

public Collection getBulkOperations()
Description copied from interface: BulkOperationManager
Returns all available BulkOperation objects

Specified by:
getBulkOperations in interface BulkOperationManager
Returns:
Collection of BulkOperation objects

getOperation

public BulkOperation getOperation(String operationName)
Description copied from interface: BulkOperationManager
Returns a BulkOperation object registered with corresponding name

Specified by:
getOperation in interface BulkOperationManager
Returns:
BulkOperation object. Null if doesn't exist

isValidOperation

public boolean isValidOperation(String operationName)
Description copied from interface: BulkOperationManager
Returns true if the operation name is of an existing registered BulkOperation

Specified by:
isValidOperation in interface BulkOperationManager
Returns:
true if the operation name is of an existing BulkOperation else false

addBulkOperation

public void addBulkOperation(String operationName,
                             Class componentClass)
Description copied from interface: BulkOperationManager
Add a new operation using the JiraUtils.loadComponent(java.lang.String, java.lang.Class) to load the class

Specified by:
addBulkOperation in interface BulkOperationManager
Parameters:
operationName - - name to register the loaded class under
componentClass - - class to load

getBulkOperationsMap

protected Map getBulkOperationsMap()


Copyright © 2002-2009 Atlassian. All Rights Reserved.