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 java.lang.String NAME
           
static java.lang.String NAME_KEY
           
 
Constructor Summary
MoveSubTaskTypeOperation(IssueManager issueManager, IssueTypeSchemeManager issueTypeSchemeManager, ConstantsManager constantsManager)
           
 
Method Summary
 boolean canPerform(MoveIssueBean moveIssueBean, com.opensymphony.user.User remoteUser)
          Determines whether the operation can be performed with the given issue
 boolean equals(java.lang.Object o)
           
 java.lang.String getCannotPerformMessageKey(MoveIssueBean moveIssueBean)
          Gets the i18n key for why the operation can't be displayed
 java.lang.String getDescriptionKey()
           
 java.lang.String getNameKey()
           
 java.lang.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 java.lang.String NAME
See Also:
Constant Field Values

NAME_KEY

public static final java.lang.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,
                          com.opensymphony.user.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 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(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-2010 Atlassian. All Rights Reserved.