com.atlassian.jira.movesubtask.operation
Class MoveSubTaskTypeOperation

java.lang.Object
  extended by com.atlassian.jira.movesubtask.operation.AbstractMoveSubTaskOperation
      extended by com.atlassian.jira.movesubtask.operation.MoveSubTaskTypeOperation
All Implemented Interfaces:
MoveSubTaskOperation

public class MoveSubTaskTypeOperation
extends AbstractMoveSubTaskOperation


Field Summary
static String NAME
           
static String NAME_KEY
           
 
Constructor Summary
MoveSubTaskTypeOperation(IssueManager issueManager, IssueTypeSchemeManager issueTypeSchemeManager, ConstantsManager constantsManager)
           
 
Method Summary
 boolean canPerform(MoveIssueBean moveIssueBean, User remoteUser)
          Determines whether the operation can be performed with the given issue
 boolean equals(Object o)
           
 String getCannotPerformMessageKey(MoveIssueBean moveIssueBean)
          Gets the i18n key for why the operation can't be displayed
 String getDescriptionKey()
           
 String getNameKey()
           
 String getOperationName()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

NAME_KEY

public static final String NAME_KEY
See Also:
Constant Field Values
Constructor Detail

MoveSubTaskTypeOperation

public MoveSubTaskTypeOperation(IssueManager issueManager,
                                IssueTypeSchemeManager issueTypeSchemeManager,
                                ConstantsManager constantsManager)
Method Detail

canPerform

public boolean canPerform(MoveIssueBean moveIssueBean,
                          User remoteUser)
Description copied from interface: MoveSubTaskOperation
Determines whether the operation can be performed with the given issue

Specified by:
canPerform in interface MoveSubTaskOperation
Overrides:
canPerform in class AbstractMoveSubTaskOperation

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(MoveIssueBean moveIssueBean)
Description copied from interface: MoveSubTaskOperation
Gets the i18n key for why the operation can't be displayed

Parameters:
moveIssueBean - bean containing information about the move
Returns:
the i18n key stating the reason why this operation can't be performed on the issue


Copyright © 2002-2008 Atlassian. All Rights Reserved.