com.atlassian.greenhopper.manager.rank.instruction
Class InsertParametersCheck

java.lang.Object
  extended by com.atlassian.greenhopper.manager.rank.instruction.Instruction
      extended by com.atlassian.greenhopper.manager.rank.instruction.BaseInstruction
          extended by com.atlassian.greenhopper.manager.rank.instruction.BaseInputParametersCheck
              extended by com.atlassian.greenhopper.manager.rank.instruction.InsertParametersCheck

public class InsertParametersCheck
extends BaseInputParametersCheck

Checks the input parameters for an insert operation. This instruction merely checks some basic assumptions


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.manager.rank.instruction.BaseInstruction
customFieldId, issueId
 
Constructor Summary
InsertParametersCheck(com.atlassian.activeobjects.external.ActiveObjects ao, java.lang.Long customFieldId, java.lang.Long issueId, java.lang.Long newPrevious, java.lang.Long newNext)
           
 
Method Summary
 java.lang.String getBeforeState()
          Get the state of the db before executing this instruction
 java.lang.Long getNewNext()
           
 java.lang.Long getNewPrevious()
           
 
Methods inherited from class com.atlassian.greenhopper.manager.rank.instruction.BaseInputParametersCheck
sanityCheck
 
Methods inherited from class com.atlassian.greenhopper.manager.rank.instruction.BaseInstruction
getCustomFieldId, getIssueId
 
Methods inherited from class com.atlassian.greenhopper.manager.rank.instruction.Instruction
execute, getAfterState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertParametersCheck

public InsertParametersCheck(com.atlassian.activeobjects.external.ActiveObjects ao,
                             java.lang.Long customFieldId,
                             java.lang.Long issueId,
                             java.lang.Long newPrevious,
                             java.lang.Long newNext)
Method Detail

getBeforeState

public java.lang.String getBeforeState()
Description copied from class: Instruction
Get the state of the db before executing this instruction

Overrides:
getBeforeState in class Instruction

getNewPrevious

public java.lang.Long getNewPrevious()

getNewNext

public java.lang.Long getNewNext()


Copyright © 2007-2014 Atlassian. All Rights Reserved.