com.atlassian.greenhopper.manager.rank.instruction
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
public class RemoveRowInstruction
- extends BaseInstruction
Delete row instruction
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveRowInstruction
public RemoveRowInstruction(com.atlassian.activeobjects.external.ActiveObjects ao,
java.lang.Long customFieldId,
java.lang.Long issueId,
java.lang.Long oldNextIssueId)
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.