Class RemoveRowInstruction
java.lang.Object
com.atlassian.greenhopper.manager.rank.instruction.Instruction
com.atlassian.greenhopper.manager.rank.instruction.BaseInstruction
com.atlassian.greenhopper.manager.rank.instruction.RemoveRowInstruction
Delete row instruction
-
Field Summary
Fields inherited from class com.atlassian.greenhopper.manager.rank.instruction.BaseInstruction
customFieldId, issueId
-
Constructor Summary
ConstructorsConstructorDescriptionRemoveRowInstruction
(com.atlassian.activeobjects.external.ActiveObjects ao, Long customFieldId, Long issueId, Long oldNextIssueId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Executes a delete row instructionGet the state of the db after executing this instructionGet the state of the db before executing this instructionvoid
Sanity check for delete row instruction The row either exists and still points to nextId or it is deletedMethods inherited from class com.atlassian.greenhopper.manager.rank.instruction.BaseInstruction
getCustomFieldId, getIssueId
-
Constructor Details
-
RemoveRowInstruction
-
-
Method Details
-
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 classInstruction
-
execute
public void execute()Executes a delete row instruction- Overrides:
execute
in classInstruction
-
getBeforeState
Description copied from class:Instruction
Get the state of the db before executing this instruction- Overrides:
getBeforeState
in classInstruction
-
getAfterState
Description copied from class:Instruction
Get the state of the db after executing this instruction- Overrides:
getAfterState
in classInstruction
-
getOldNextIssueId
-