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

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.RemoveRowInstruction

public class RemoveRowInstruction
extends BaseInstruction

Delete row instruction


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.manager.rank.instruction.BaseInstruction
customFieldId, issueId
 
Constructor Summary
RemoveRowInstruction(com.atlassian.activeobjects.external.ActiveObjects ao, java.lang.Long customFieldId, java.lang.Long issueId, java.lang.Long oldNextIssueId)
           
 
Method Summary
 void execute()
          Executes a delete row instruction
 java.lang.String getAfterState()
          Get the state of the db after executing this instruction
 java.lang.String getBeforeState()
          Get the state of the db before executing this instruction
 java.lang.Long getOldNextIssueId()
           
 void sanityCheck()
          Sanity check for delete row instruction The row either exists and still points to nextId or it is deleted
 
Methods inherited from class com.atlassian.greenhopper.manager.rank.instruction.BaseInstruction
getCustomFieldId, getIssueId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoveRowInstruction

public RemoveRowInstruction(com.atlassian.activeobjects.external.ActiveObjects ao,
                            java.lang.Long customFieldId,
                            java.lang.Long issueId,
                            java.lang.Long oldNextIssueId)
Method Detail

sanityCheck

public void sanityCheck()
Sanity check for delete row instruction The row either exists and still points to nextId or it is deleted

Overrides:
sanityCheck in class Instruction

execute

public void execute()
Executes a delete row instruction

Overrides:
execute in class Instruction

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

getAfterState

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

Overrides:
getAfterState in class Instruction

getOldNextIssueId

public java.lang.Long getOldNextIssueId()


Copyright © 2007-2014 Atlassian. All Rights Reserved.