com.atlassian.jira.bulkedit
Class DefaultBulkOperationManager

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

public class DefaultBulkOperationManager
extends java.lang.Object
implements BulkOperationManager


Constructor Summary
DefaultBulkOperationManager()
           
 
Method Summary
 void addBulkOperation(java.lang.String operationName, java.lang.Class componentClass)
          Add a new operation using the JiraUtils.loadComponent(java.lang.String, java.lang.Class) to load the class
 java.util.Collection getBulkOperations()
          Returns all available BulkOperation objects
protected  java.util.Map getBulkOperationsMap()
           
 BulkOperation getOperation(java.lang.String operationName)
          Returns a BulkOperation object registered with corresponding name
 boolean isValidOperation(java.lang.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 java.util.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(java.lang.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(java.lang.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(java.lang.String operationName,
                             java.lang.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 java.util.Map getBulkOperationsMap()


Copyright © 2002-2010 Atlassian. All Rights Reserved.