Class RemoveRowInstruction


public class RemoveRowInstruction extends BaseInstruction
Delete row instruction
  • Constructor Details

    • RemoveRowInstruction

      public RemoveRowInstruction(com.atlassian.activeobjects.external.ActiveObjects ao, Long customFieldId, Long issueId, Long oldNextIssueId)
  • 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 class Instruction
    • execute

      public void execute()
      Executes a delete row instruction
      Overrides:
      execute in class Instruction
    • getBeforeState

      public String getBeforeState()
      Description copied from class: Instruction
      Get the state of the db before executing this instruction
      Overrides:
      getBeforeState in class Instruction
    • getAfterState

      public String getAfterState()
      Description copied from class: Instruction
      Get the state of the db after executing this instruction
      Overrides:
      getAfterState in class Instruction
    • getOldNextIssueId

      public Long getOldNextIssueId()