def bulk_mode
    result = 0
    case self.status
    when ACTIVE
      result |= (1 << ASSIGN_CMD)
      result |= (1 << RESOLVE_CMD)
    when RESOLVE_RANGE
      result |= (1 << REACTIVATE_CMD)
      result |= (1 << CLOSE_CMD)
    when CLOSED
      result |= (1 << REOPEN_CMD)
    end
    result
  end